Hi there,
my situation is the following: I am using a own-extended version of the PyViCare-plugin to get information about my heat pump, including the daily power consumption in Wh but no power value. This is running very well, I am able to create the counter in domoticz and values are delivered to it. Now the Problem: Because it's a daily value it starts from 0 (zero) every day at 0:00. The 0 is delivered to the counter, which now has a negative value for today. I tried multiple counter types and sub types but nothing seems to handle this daily reset to zero. I need a counter type that only "runs forward" and adds just the delivered values.
I have no more idea.
Thx, Nak
ViCare-domoticz plugin - Counter-Problem
Moderators: leecollings, remb0
- waltervl
- Posts: 5853
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: ViCare-domoticz plugin - Counter-Problem
Your heatpump does not supply a total running Wh counter? Only a daily Wh counter?
Then your plugin needs to remember the Domoticz counter value at time 00:01 and add the heatpump value to it during the day. Do not update at 00.00 as at that time the Domoticz database will be reset.
Then your plugin needs to remember the Domoticz counter value at time 00:01 and add the heatpump value to it during the day. Do not update at 00.00 as at that time the Domoticz database will be reset.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Who is online
Users browsing this forum: Google [Bot] and 1 guest