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.
- An energy meter that shows your daily power draw and feed back on the grid
- An energy meter that shows your current power usage
- An energy meter that shows the current power usage per phase (one device per phase)
- A voltage meter that shows the current voltage per phase (one device per phase)
- An amperage meter that shows the current amperage per phase (one device per phase)
- A gas meter that shows your daily and total usage
- A switch that will turn on once you start feeding back energy to the grid
- A switch that will turn on once you start feeding back a specific amount of energy to the grid
- A switch that will turn on once you draw a specific amount of energy from the grid
- A Wi-Fi signal strength meter that shows the current signal strength from the Wi-Fi P1 meter
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 |