Hi!
Im working on a sleeping tip bucket/rain.
When i look at the EnergyMeter/Watermeter it keeps adding V_KWH and never reset this at midnight. It seems like Domoticz keeps track of this but is it the same with V_RAIN?
If i send 1mm the first day it will add this to domoticz. But it seems like i have to reset this at midnight or it will sum up the rain over all time?
IS this correct or i made some misstake in my sketch?
Thanks.
Does V_RAIN work as V_KWH?
Moderator: leecollings
-
- Posts: 52
- Joined: Sunday 17 May 2015 11:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Sweden
- Contact:
Does V_RAIN work as V_KWH?
Controller: Domoticz (Raspberry PI)
Gateways: MySensors (Ethernet W5100), RFLink
Gateways: MySensors (Ethernet W5100), RFLink
- gizmocuz
- Posts: 2548
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Does V_RAIN work as V_KWH?
Correct, it is the same as the Enery/Water meter.
The Rain sensor expects a counter that increases only
Domoticz will show the amount of rain based on the last counter value minus the first counter value of the day
The Rain sensor expects a counter that increases only
Domoticz will show the amount of rain based on the last counter value minus the first counter value of the day
Quality outlives Quantity!
-
- Posts: 52
- Joined: Sunday 17 May 2015 11:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Sweden
- Contact:
Re: Does V_RAIN work as V_KWH?
Still, I dont think this is correct or works correct in domoticz (latest beta).
My energymeter works great but not my Raingauge:
Start:
read: 0-0-7 s=1,c=2,t=24,pt=0,l=2,sg=0:52
Received last pulse count from gw: 52
After 10 bucket tips (0.5mm) within the same hour (I send V_RAIN every 0.5 and counter every 1.0)
The bucket has tipped over...
send: 7-7-0-0 s=1,c=1,t=6,pt=7,l=5,sg=0,st=ok:4.5 (V_RAIN)
he bucket has tipped over...
send: 7-7-0-0 s=1,c=1,t=6,pt=7,l=5,sg=0,st=ok:5.0 (V_RAIN)
send: 7-7-0-0 s=1,c=1,t=24,pt=2,l=2,sg=0,st=ok:57 (V_VAR1)
Result next hour
My energymeter works great but not my Raingauge:
Start:
read: 0-0-7 s=1,c=2,t=24,pt=0,l=2,sg=0:52
Received last pulse count from gw: 52
After 10 bucket tips (0.5mm) within the same hour (I send V_RAIN every 0.5 and counter every 1.0)
The bucket has tipped over...
send: 7-7-0-0 s=1,c=1,t=6,pt=7,l=5,sg=0,st=ok:4.5 (V_RAIN)
he bucket has tipped over...
send: 7-7-0-0 s=1,c=1,t=6,pt=7,l=5,sg=0,st=ok:5.0 (V_RAIN)
send: 7-7-0-0 s=1,c=1,t=24,pt=2,l=2,sg=0,st=ok:57 (V_VAR1)
Result next hour
Controller: Domoticz (Raspberry PI)
Gateways: MySensors (Ethernet W5100), RFLink
Gateways: MySensors (Ethernet W5100), RFLink
- gizmocuz
- Posts: 2548
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Does V_RAIN work as V_KWH?
best to export your database, and open this in for example 'SQLite Expert Personal'
watch the first counter of the day and the last counter, difference is amount of rain today
watch the first counter of the day and the last counter, difference is amount of rain today
Quality outlives Quantity!
-
- Posts: 52
- Joined: Sunday 17 May 2015 11:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Sweden
- Contact:
Re: Does V_RAIN work as V_KWH?
Its strange this... i dont know. I will run my node for a couple of days...
It looks like it is the first day it goes wrong. Today it looks better...
My database from yesterday which corresponds to images above: Will return with results...
It looks like it is the first day it goes wrong. Today it looks better...
My database from yesterday which corresponds to images above: Will return with results...
Controller: Domoticz (Raspberry PI)
Gateways: MySensors (Ethernet W5100), RFLink
Gateways: MySensors (Ethernet W5100), RFLink
-
- Posts: 52
- Joined: Sunday 17 May 2015 11:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Sweden
- Contact:
Re: Does V_RAIN work as V_KWH?
My fault that I thought V_Rain was supposed to be reset at midning (viewtopic.php?f=42&t=7840)
This is working and V_RAIN works as it should (and as V_KWH).
This is working and V_RAIN works as it should (and as V_KWH).
Controller: Domoticz (Raspberry PI)
Gateways: MySensors (Ethernet W5100), RFLink
Gateways: MySensors (Ethernet W5100), RFLink
Who is online
Users browsing this forum: No registered users and 1 guest