2 Rain devices with different daily vaules

Moderator: leecollings

Post Reply
Henry
Posts: 29
Joined: Tuesday 06 March 2018 18:56
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Location: Netherlands
Contact:

2 Rain devices with different daily vaules

Post by Henry »

My PWS is sending it's data to Wunderground, Weathercloud and Domoticz. In Domoticz there are 2 devices with type Rain, 1 for the data from Wunderground (subtype = WWW), and 1 for the data from the PWS (subtype = TFA).
In the Rain Last Week log for the Wunderground device the daily rain for today is correct, but for the PWS device it's the same value as yesterday. The values in the table Rain_Calendar are the same for both devices.

Wunderground device
2024-10-13 15 00 20.png
2024-10-13 15 00 20.png (23.47 KiB) Viewed 492 times
PWS device
2024-10-13 15 01 43.png
2024-10-13 15 01 43.png (23.35 KiB) Viewed 492 times
What could be the cause of this?
zicht
Posts: 251
Joined: Sunday 11 May 2014 11:09
Target OS: Windows
Domoticz version: 2023.1+
Location: NL
Contact:

Re: 2 Rain devices with different daily vaules

Post by zicht »

Difficult to say.. but :

Assuming you update them by a script somehow.
- Are the virtual (dummy) sensor types in domoticz the same ? You can use for example rain and custom and a lot more sensors
Different type probably have different logic.
- Is the code putting the values at the same time in the sensors ?
- Could there be a digit rounding playing any role ?

If the values come from a real sensor directly into domoticz, then i would guess the "problem" is on the data received from the sensor.

Edit :
It could be a sensor is missing to receive some values periodicaly, but the sensor is sending also a sum in data.
Had this once and took me a while to realise. Symptom : Graph/log data will be incorrect, but totals are correct
Last edited by zicht on Monday 14 October 2024 6:48, edited 2 times in total.
Rpi & Win x64. Using : cam's,RFXCom, LaCrosse, RFY, HuE, google, standard Lua, Tasker, Waze traveltime, NLAlert&grip2+,curtains, vacuum, audioreceiver, smart-heating&cooling + many more (= automate all repetitive simple tasks)
FlyingDomotic
Posts: 303
Joined: Saturday 27 February 2016 0:30
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Contact:

Re: 2 Rain devices with different daily vaules

Post by FlyingDomotic »

Was Domoticz alive at midnight?
Some daily routines are done at that time...
Henry
Posts: 29
Joined: Tuesday 06 March 2018 18:56
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: 2 Rain devices with different daily vaules

Post by Henry »

For the data from Wunderground I'm using the standard hardware from Domoticz, the data from the PWS is handled by the Wunderground Direct Receiver plugin (wudirect). The devices are created by these plugins and are both of type Rain, only the subtype differs. The data in the Rain and Rain_Calendar tables is exactly the same for both devices, including the timestamps.
In the Rain table there are records for both devices at midnight (00:00:00) with the total value for the day.
2024-10-14 09 16 48.png
2024-10-14 09 16 48.png (2.49 KiB) Viewed 463 times
Henry
Posts: 29
Joined: Tuesday 06 March 2018 18:56
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: 2 Rain devices with different daily vaules

Post by Henry »

I changed the subtype for the PWS device from TFA to WWW and now the values are correct. I couldn't figure out what the difference of a TFA device was compared to WWW.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest