
Devices that connect to iHost directly through Zigbee and devices that connect to iHost through Add-on can be displayed and controlled on the iHost console. It means that you can check these devices state and subscribe to state changes via iHost’s OPEN API, as well as support for manipulating these devices through APIs.

In order to have a further understanding of the status subscription and device management APIs, we provide an open-source project named “Homebridge eWeLink CUBE plugin” for your reference.
This Plugin takes devices in the iHost and synchronizes them to the Homebridge system for real-time display and control.
Its workflow begins with the discovery of hosts by searching the LAN network through mDNS, after the user selects the host to connect to, “Homebridge eWeLink CUBE plugin” will first call iHost’s permission API to apply for an API access token. After manually confirming the authorization on iHost as prompted, the Add-on can successfully obtain the token for subsequent communication with iHost.
With the same process, any developer can develop an Add-on to get the device list of iHost, subscribe to the device status of iHost, and control the devices on iHost. All you need is this Add-on that also supports data communication with third-party systems, iHost and its managed devices can be seamlessly integrated into any third-party system for monitoring and management, like Home Assistance, openHAB, iobroker etc.
- For the latest iHost API documentation, please click here:
https://testshoppingcart.sonoff.tech/ihost-user-guides/api/
- Homebridge Add-on Github:
– Server: https://github.com/CoolKit-Technologies/cc.coolkit.it.ihost.homebridge.plugin.server.git
– Front end: https://github.com/CoolKit-Technologies/cc.coolkit.it.ihost.homebridge.web.git