A Python plugin for Domoticz that creates several devices for the HomeWizard Wifi p1 meter.
The HomeWizard Wi-Fi P1 meter is a little device that can be plugged into the P1 port of your smart energy meter. By default it sends all of its data to the HomeWizard servers but thanks to its local API you can read the device locally too. With this plugin you can use Domoticz to read the meter and store the data without using your internet connection.
Domoticz uses Python to run plugins. Use the installation instructions on the Domoticz wiki page to install Python. When Python is installed use these instructions to install this plugin.
To access the data from the Wifi p1 meter, you have to enable the API. You can do this in the HomeWizard Energy app (version 1.5.0 or higher). Go to Settings > Meters > Your meter, and turn on Local API.
The plugin creates several devices depending on the values that are read from your meter. Some may not be usefull for everyone but you can safely ignore those.
The configuration is pretty self explaining. You just need the IP address of your Wi-Fi P1 meter. Make sure the IP address is static DHCP so it won't change over time.
Configuration | Explanation |
---|---|
IP address | The IP address of the Wi-Fi P1 meter |
Port | The port on which to connect (80 is default) |
Data interval | The interval for the data devices to be refreshed |
Usage value | The energy usage (in watts) on which the usage value switch will turn on |
Production value | The energy feed back (in watts) on which the production value switch will turn on |
Debug | Used by the developer to test stuff |