ZBMINIL2

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.

ZBMINIL2

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.

Plugin then calls the device query API to get a list of all the devices, and will display the obtained list of devices in iHost, after the user selects the device that wants to synchronize to Homebridge, Plugin calls iHost’s device status subscription API to monitor the status changes in real-time. Similarly, if the user controls these devices on Homebridge, the plugin will call the device control APIs to send commands to iHost for controlling these devices.

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.

Related Post

SONOFF iHost: From eWeLink to Home Assistant – The Ultimate Local Smart Home Hub
SONOFF iHost: From eWeLink to Home Assistant – The Ultimate Local Smart Home Hub
Introducing iHost – Your Powerful Local Smart Home Hub
Introducing iHost – Your Powerful Local Smart Home Hub
How to Connect Devices to iHost for Control and Management?
How to Connect Devices to iHost for Control and Management?