Eraser3 / HomeWizard-Wifi-p1-plugin

A Python plugin for Domoticz that creates several devices for the HomeWizard Wifi p1 meter
11 stars 5 forks source link

HomeWizard-Wifi-p1-plugin

A Python plugin for Domoticz that creates several devices for the HomeWizard Wifi p1 meter.

HomeWizard Wi-Fi 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.

Installing this plugin

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.

Enabling the API

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.

Devices

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.

  1. An energy meter that shows your daily power draw and feed back on the grid
  2. An energy meter that shows your current power usage
  3. An energy meter that shows the current power usage per phase (one device per phase)
  4. A voltage meter that shows the current voltage per phase (one device per phase)
  5. An amperage meter that shows the current amperage per phase (one device per phase)
  6. A gas meter that shows your daily and total usage
  7. A switch that will turn on once you start feeding back energy to the grid
  8. A switch that will turn on once you start feeding back a specific amount of energy to the grid
  9. A switch that will turn on once you draw a specific amount of energy from the grid
  10. A Wi-Fi signal strength meter that shows the current signal strength from the Wi-Fi P1 meter

Configuration

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