TFA 30.3148 rain meter raw data...

Post Reply
edgarhildering
Posts: 14
Joined: Thursday 11 June 2015 22:36
Target OS: Raspberry Pi
Domoticz version:
Contact:

TFA 30.3148 rain meter raw data...

Post by edgarhildering » Sunday 22 July 2018 15:39

Hello all,
I have a TFA rain meter in operation, type TFA 30.3148. Works fine! Sometimes you just want it to rain to see it work :lol: .
When I look at the devices, I see that the data it reports has two values:
Rain-WWH-Buiten Rain TFA 1190;42.7
The first value corresponds with the amount of rain, in my case 11.9 mm (the bucket in my rain meter tipped 17 times, resolution is 0.7 ml).
My question is about the second value... I explored the internet for an answer, no success. Any idea's? :idea: ?

update: I looked at the value again and it now says:
Rain-WWH-Buiten Rain TFA 980;43.4
The measured amount is 12.6 mm
The first figure is the *rate* 9.8 mm per hour... still no clue about the second value... :?

--Edgar
Raspberry PI running Domoticz 4.9700
PIRs + lightswitches
thermometers + heating control
hygrometers + dehumifiers

User avatar
waaren
Posts: 1363
Joined: Tuesday 03 January 2017 15:18
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Netherlands
Contact:

Re: TFA 30.3148 rain meter raw data...

Post by waaren » Sunday 22 July 2018 20:36

edgarhildering wrote:
Sunday 22 July 2018 15:39
Hello all,
I have a TFA rain meter in operation, type TFA 30.3148. Works fine! Sometimes you just want it to rain to see it work :lol: .
When I look at the devices, I see that the data it reports has two values:
Rain-WWH-Buiten Rain TFA 1190;42.7
The first value corresponds with the amount of rain, in my case 11.9 mm (the bucket in my rain meter tipped 17 times, resolution is 0.7 ml).
My question is about the second value... I explored the internet for an answer, no success. Any idea's? :idea: ?

update: I looked at the value again and it now says:
Rain-WWH-Buiten Rain TFA 980;43.4
The measured amount is 12.6 mm
The first figure is the *rate* 9.8 mm per hour... still no clue about the second value... :?

--Edgar
It is the total rainAmount for that day as calculated by domoticz.
Raspberry (debian stretch via berryboot on Synology DS916+) , Domoticz (almost) latest Beta, , dzVents 2.6, RFLink, RFXtrx433e, P1, Youless, Harmony, Hue, Yeelight, Xiaomi, HomeWizard, Zwave, Amazon echo

edgarhildering
Posts: 14
Joined: Thursday 11 June 2015 22:36
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: TFA 30.3148 rain meter raw data...

Post by edgarhildering » Sunday 22 July 2018 21:59

Hi @waaren, that is a bit strange, since the value is *reported to* domoticz straight from the rain meter. My guess is - since the amount is always a multiple of 0.7 that it is the total mm of rain of all measurements since the last reset of the meter...
the last reported values are
Rain-WWH-Buiten Rain TFA 0;44.8
(yes, it has stopped raining! :D)

the overall score of today is 14 mm, compared to the measurement 1190;42.7 (11.9 mm) and 980;43.4 (12.6 mm) you see the increase. This morning (the sun was still out) the values were 0;30.8. The measured amount of rain up to this morning could well be 30.8, that is a reasonable amount.

I will keep tracking my meter, come rain, come shine ;)

regards, --Edgar
Raspberry PI running Domoticz 4.9700
PIRs + lightswitches
thermometers + heating control
hygrometers + dehumifiers

User avatar
waaren
Posts: 1363
Joined: Tuesday 03 January 2017 15:18
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Netherlands
Contact:

Re: TFA 30.3148 rain meter raw data...

Post by waaren » Sunday 22 July 2018 22:56

if you take a look at https://www.domoticz.com/wiki/Domoticz_ ... L%27s#Rain you will see how to update a raindevice via JSON

json.htm?type=command&param=udevice&idx=IDX&nvalue=0&svalue=RAINRATE;RAINCOUNTER
IDX = id of your device (This number can be found in the devices tab in the column "IDX")
RAINRATE = amount of rain in last hour in [mm x 100]
RAINCOUNTER = continues counter of fallen Rain in [mm]


In the domoticz.db you can see what happens with the values in the raindevice every 5 minutes and daily.

cd domoticzdir
sudo cp domoticz.db tempdatabase.db
sudo sqlite3 tempdatabase.db
.headers on
.tables

select sValue from Devicestatus where ID = 128; -- 128 is my raindevice IDX. Yours is probably different
select * from rain where deviceRowID = 128; -- 5 minute summary
select * from rain_calendar where deviceRowID = 128; -- daily summary
Raspberry (debian stretch via berryboot on Synology DS916+) , Domoticz (almost) latest Beta, , dzVents 2.6, RFLink, RFXtrx433e, P1, Youless, Harmony, Hue, Yeelight, Xiaomi, HomeWizard, Zwave, Amazon echo

careless2000
Posts: 2
Joined: Monday 03 September 2018 18:22
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: TFA 30.3148 rain meter raw data...

Post by careless2000 » Monday 03 September 2018 18:25

Edgar, my rainmeter registers as a Temp/Hum. meter.... How have you connected yours?

@Warren, can this also be used to update the DeviceType?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest