The Homey Energy Dongle is equipped with a Local API, which allows third-party clients to connect to it and receive data from the connected smart meter.
Enabling the Local API
To use the local API, you must first enable it in the Homey Energy Dongle’s settings.
Step 1
Open the Homey app and tap Devices
in the tab bar.
Step 2
Find the Homey Energy Dongle device tile and press and hold it.
Step 3
Tap the settings icon in the upper-right corner.
Step 4
Navigate to “Advanced Settings,” find the “Local API” setting, and set it to “Enabled.”
Using the Local API
The Homey Energy Dongle’s Local API is a WebSocket that can connect to any WebSocket-capable client. Once connected, the WebSocket will output the raw data received from the smart meter.
You can find an example on GitHub of how to connect to the Homey Energy Dongle’s Local API and parse the data from the smart meter.