Page 1 of 1
Current value for Gas meter (P1)
Posted: Saturday 21 November 2015 13:42
by ruudboon
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?
Re: Current value for Gas meter (P1)
Posted: Saturday 21 November 2015 14:51
by gizmocuz
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 ?
Re: Current value for Gas meter (P1)
Posted: Saturday 21 November 2015 15:14
by ruudboon
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'
Re: Current value for Gas meter (P1)
Posted: Saturday 21 November 2015 15:29
by ruudboon
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.
Re: Current value for Gas meter (P1)
Posted: Saturday 21 November 2015 16:00
by gizmocuz
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