iotes-strategy-phidget22
An iotes strategy to integrate with phidget devices. Currently only supports some functions of Encoder and RFID reader
Usage
import { phidgetStrategy } from 'iotes-strategy-phidget22'
// You may use this with any iotes plugin,
import { createIotes } from 'iotes'
createIotes(topology, phdgetStrategy)
Testing
You can run manual tests with npm run test
and phidget attached
Adding Devices to strategy,
- Add Device type to DeviceTypes in
./types
- create a new file in
./devices
- import
Device
from type - Create the function to create the device factory copying the examples provided
- Import the new device factory factory into
./createDeviceFactory
- Export the function with the type name you added to
DeviceTypes
in step 1