iotsaDevice - basic plugin for iotsa device¶
This plugin interfaces to a Iotsa device. Iotsa devices are small internet-enabled appliances, see https://github.com/cwi-dis/iotsa for examples, the source code for the server, as well as schematics and 3D-models of the hardware needed.
schema¶
devices/iotsaDevice/target: data to be copied to the device.devices/iotsaDevice/current: data read from the device.
actions¶
- Whenever
devices/iotsaDevice/targetchanges this change is forwarded to the device. - Whenever
/action/pull-iotsaDeviceis called the device data is copied tocurrent.
Notes¶
- Usually you will install this plugin with a different name, and specifically a name that matches the
.localhostname of the device. - You will probably have to edit
pluginData/iotsaDevicemanually to set the API endpoint and protocol. An installation user interface (like for other plugins) is still missing. - If you have a multifunction iotsa device, with multiple API endpoints, it is better to install multiple iotsaDevice plugins, one for each API endpoint, and edit the
pluginDatamanually to set correct hostname and endpoint.