We briefly covered iHost’s API capabilities and referenced the open source project to show you how to connect devices to iHost and how to control devices in iHost. Of course, we understand that some developers don’t want to read and learn complex API documents and reference source code, so we also provide a set of tools for developers who want to do low-code development.
We encapsulated a variety of iHost APIs and provided nodes with various functions for users to use, facilitating users to call iHost’s OPEN API in a WYSIWYG way. The project is also open source, and you can find it here :
In this way, you do not need to read and learn the API document, only need to learn how to use the node module, you can implement the device access to the iHost and control the device in the iHost function.
Currently, the following nodes are online:
- Listening node for status change: monitor for the status change events of one or more devices
- Listening node for online status: Monitor the online status of one or more devices
- Listening node for adding device: Monitor the iHost for register device events
- Listening node for deleting device: Monitor for one or more device deletion events
- Listening node for device information modification: Monitor one or more device information modification events
- Device control node: Controls the specified device
- Device list and Device information Query Node: Obtains the full device list or specific device information
- Gateway Status Query node: Obtain the running status of the iHost
- JSON message node: sends a piece of JSON data to the iHost to control device
- Device registration node: registers a new device into the iHost and controls it
If you have any problems with the nodes, please feel free to contact us and we will collect more suggestions and continue to optimize and iterate on these nodes.
- For the latest iHost API documentation, please click here:
- node-red-contrib-ewelink-cube Github: