Correct.
Different network this was easier due to the wiring.
Pi is on the provider router and Homey is on the IoT network of my Deco network.
@Ad_van_Liempt The v2 API is available for P1 Meter devices with firmware version 6.00 and higher. This version is currently only available for owners of the Plug-In Battery.
What error do you get from the card?
beta/test
v3.6.20
- Daily usage imported power and gas (P1apiv1) - User request
Damn, last week busy to calculate this for some flows and logs with tariff 1 and 2 separated. Is this feature coming for P1 APIv2 too?
BTW Iβ'm using P1 API v2 now because I have installed the HomeWizard beta firmware for the P1 and PiB. So happy to use the Standby feature now, thanks!
Only issue I have with P1 APIv2 is the missing values for Total Usage kWh and Tariff.
Found typo for tariff, will push new test version.
Thanks!
Are the Homey card to change the PiB mode not active yet? The curl commands Iβm using now are working.
They are not working properly as I cant use curl here in nodejs (use fetch and PUT).
Problem currently is the condition and the action card need to properly registered in the app and Homey itself. You can see them but they keep throwing an error the card(s) are not βregisteredβ.
As my develop P1 stopped working and I dont have a plugin battery it is a bit of trial and error process to fix this.
version v3.6.21 with tariff fix. Total import / export should be there already.
Tariff fixed!
Indeed Total Usage kWh can be calculated using the Total Import/Export values.
I understand that it is difficult to program if you donβt have the hardware yourself. HomeWizard should offer these at a reduced rate to Home Assistant and Homey developers.
Thanks for your donation. ![]()
@ Mike1233 If I understand correctly (I am running the beta software) I have to remove the P1 meter in Homey and add it again but then with the P1 Apiv2
@Ad_van_Liempt If you have a battery from Homewizard it will automatically update to apiv2.
This is after the install of the battery.
No you can add it next to existing.
Looks like a card from the Power by the Hour app.
Itβs Power By The Hour




