I'm running Domoticz and connect my P1 DSMR 4 Energy/Gas meter.
For a dashboard I'm relying on the http push mechanism. It work great for the energy meter but when I use the current usage of the gas I get "Not supported yet" pushed.
Looking at the log I see that the P1 is pushing a new gas value every 5 minutes. Can you implement the difference between 5 minutes as current?
Current value for Gas meter (P1)
Moderators: leecollings, remb0
- gizmocuz
- Posts: 2350
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Current value for Gas meter (P1)
the p1 meter gas reading is updated once every hour
i am not the author of the 'push' class, but if you look at 'CPush::ProcessSendValue' you see many types are not yet supported
maybe you could add them ?
i am not the author of the 'push' class, but if you look at 'CPush::ProcessSendValue' you see many types are not yet supported
maybe you could add them ?
Quality outlives Quantity!
-
- Posts: 5
- Joined: Saturday 21 November 2015 13:28
- Target OS: NAS (Synology & others)
- Domoticz version:
- Location: Netherlands
- Contact:
Re: Current value for Gas meter (P1)
I think the new generation meters are pushing it every 5 minutes. When looking at the hour statistics I see the change every 5 min. I'll checkout 'CPush::ProcessSendValue'
-
- Posts: 5
- Joined: Saturday 21 November 2015 13:28
- Target OS: NAS (Synology & others)
- Domoticz version:
- Location: Netherlands
- Contact:
Re: Current value for Gas meter (P1)
As far as I can see the gas data is a simple Counter type. Probably the way gas is stored should changed to support it. For now I'll just pull every 5 minutes the last hour value. And compare it with the last one. Would be great if it can be implemented in a native way.
- gizmocuz
- Posts: 2350
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Current value for Gas meter (P1)
Not that i know off... i think it is every hour...
there is no need to calculate anything, you have a counter and the total usage of the day
we are not going to calculate 1m3 used in the last 5 minutes no
there is no need to calculate anything, you have a counter and the total usage of the day
we are not going to calculate 1m3 used in the last 5 minutes no
Quality outlives Quantity!
Who is online
Users browsing this forum: No registered users and 1 guest