Defining embedded nodes
Each embedded node in the concentrator implements the INode interface (defined in Waher.Things). Apart from node identity, a localizable name, references to child nodes, and basic access control, it also provides a means for publishing editable, and localizable properties, commands, and more.
The INode interface, however, only defines a generic embedded node. It allows the ConcentratorServer object to manage the embedded nodes. To make an embedded node into a sensor or an actuator respectively, you should implement the ISensor or IActuator interfaces correspondingly (also defined in Waher.Things). These interfaces will allow the ConcentratorServer object to read sensor data and to get access to control parameters. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access