Created At
Oct 07, 2021
Created By SmartHomeEddy
This Quickapp retrieves energy consumption, energy production, gas and water usage from the (P1 Monitor) en...
Created At
Oct 07, 2021
Last Update
Jan 09, 2023
Platforms
HC 3 Lite, Z-box Hub, Yubii Home Pro, Yubii Home, Venture WISE, HC 3
Views
5343
Download
564
This Quickapp retrieves energy consumption, energy production, gas and water usage from the (P1 Monitor) energy, gas and water meter.
This Quickapp uses the software of ztatz.com to get the values from your smart energymeter.
The ztatz plug-and-play software can run on a Raspberry Pi or in a Docker container.
The Energy consumption and energy production are added to the HC3 energy panel.
Use the child devices Todays Consumption and Todays Production to store energy data (kWh) in the Energy Panel.
And use the child devices Consumption and Production for instantaneous power (Watt) in the Energy Panel calculations.
Child Devices for:
Interval:
It is possible to process messages from the smart meter every second. Of course, this is only possible if the smart meter actually sends a message every second. This can be turned on via the ztatz software P1 port configuration page via the "maximum processing speed" option. Note that this gives a higher load on the Rpi (or Docker). It has been tested on the Rpi3/Rpi4 and works well on it. Older or other RPIs have not been tested.
The P1 Monitor QuickApp uses 2 API calls each cycle, and if you also use Waterflow, 3 API calls each cycle. With an interval setting of 10 seconds there is an API call every 5 seconds (and with Waterflow enabled, every 3.33 seconds). So the fastest interval setting will probably be 3 seconds with Waterflow and 2 seconds without Waterflow.
Ztatz software:
Docker container based on the ztatz.nl software: The container version has the same functionality as the full version for the Raspberry Pi. Docker container: https://hub.docker.com/r/mclaassen/p1mon
I use a Raspberry Pi Smart Meter Cable Starter Kit
Version 2.0 (8th January 2023)
Tested on
QuickApp variables (mandatory, they will be automatically added with the default values):
How to install:
Hy. I have got hc3. Witch P1 meter hardware? Homewizard ? (https://www.homewizard.com/hu/shop/wi-fi-p1-meter/) őr Smartmeter? (https://smartgateways.nl/en/product/smart-meter-wifi-gateway/)
This Quickapp works only with the ztatz.nl software, but with the latest version of the ztatz.nl software you can also use Slimmelezer+ van zuidwijk.com or smartgateways using the SOCAT protocol. You don't need to connect with the smartmeter with a serial cable to the ztatz.nl setup.
Hi Eddy, Can you make this Quick App also work with MQTT? Think this is easier for the most people and no serial cable needed when you use a simple p1meter from smartgateway from https://smartgateways.nl/en/product/smart-meter-wifi-gateway/ MQTT is a few steps installation in docker with help from: https://mariushosting.com/how-to-install-eclipse-mosquitto-on-your-synology-nas/ Thanks for youre reply
With the latest version, now it is also possible to use the hardware from smartgateways.nl or Slimmelezer+ or Smartstuff
There are several solutions to get information from the P1 port of your smartmeter. If you want to use this P1 Monitor QuickApp, you have to use the ztatz.nl software on a Raspberry Pi or a NAS Docker. This quickapp then gets all the info to your HC3.