Gas meter - initial value

Moderator: leecollings

Post Reply
thomasbaetge
Posts: 153
Joined: Wednesday 02 October 2019 11:47
Target OS: Linux
Domoticz version: 2023.1
Location: DE / BY / LT
Contact:

Gas meter - initial value

Post by thomasbaetge »

Hi There,

I'm currently working to make my gas meter smart, using a spare fibaro door sensor, a reed switch and some node-red.
I have created a virtual gas sensor in domoticz that will receive consumption values.
So far so good, but is there any option, to set the virtual sensor to the initial value of the physical meter?
of course I could easily feed the total value in, but that would skyrocket my consumption and destroy any reasonable statistics.

help is appreciated ;)
User avatar
waltervl
Posts: 5859
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Gas meter - initial value

Post by waltervl »

If you use the Counter Dummy https://www.domoticz.com/wiki/Dummy_for ... es#Counter
Switch it to Gas and then you can set a meter offset.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
thomasbaetge
Posts: 153
Joined: Wednesday 02 October 2019 11:47
Target OS: Linux
Domoticz version: 2023.1
Location: DE / BY / LT
Contact:

Re: Gas meter - initial value

Post by thomasbaetge »

Thanks a lot!
Exactly what I was looking for :)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest