I am using rtl_433 to read various sensors including the WH57C Thunder and Lightning sensor.
RTL_433 publishs the data on my HiveMQ broker but I am puzzled by the data (or lack thereof) and wonder if someone can tell me what data
turns up (preferably before the next lightning strike!! )
My unit sends the following amongst other data:
state= reset
flags = 83
strike_count = 0
So strike _count is obviously the Number of strikes today (using the nomencleture of the CMX extra sensor data but:
1: what do "flags" mean?
2: what does "state" mean?
3; Where is the distance to strike?
Also a bit puzzled as to why it tx's on two frequencies...
Grateful for any help/pointers...
Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
WH57 raw data stream using rtl_433
Moderator: daj
-
- Posts: 208
- Joined: Sun 03 Jan 2016 3:39 pm
- Weather Station: N96GY -but like Triggers Broom!!
- Operating System: Raspberry Pi4 Vers:11 Bullseye
- Location: Poundbury, Dorset
Re: WH57 raw data stream using rtl_433
For anyone wanting the same information this is what I have discovered so far:
I have seen several changes to the state:
state = "reset" (on power up of the WH57)
state = "interference" (when I was trying to emulate a strike)
state = "strike" (possibly a false positive in my case but assume this is what it changes to for real lightning strike)
strike_count = an integer that slowly increments as a strike occurs. This is a best guess as I haven't
seen any lightning yet and after my initial count of 1 it stayed at 1 . So I guess a bit
like the rain ticks that never goes down.
storm_dist_km = an estimate of the distance to the strike.
flags = haven't worked these out but I have seen changes...
I have seen several changes to the state:
state = "reset" (on power up of the WH57)
state = "interference" (when I was trying to emulate a strike)
state = "strike" (possibly a false positive in my case but assume this is what it changes to for real lightning strike)
strike_count = an integer that slowly increments as a strike occurs. This is a best guess as I haven't
seen any lightning yet and after my initial count of 1 it stayed at 1 . So I guess a bit
like the rain ticks that never goes down.
storm_dist_km = an estimate of the distance to the strike.
flags = haven't worked these out but I have seen changes...
- HansR
- Posts: 5958
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: WH57 raw data stream using rtl_433
Yes, that might be interesting. Never worked wit rtl_433. Might be a logging possibility for the lightning detector?
Hans
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
-
- Posts: 208
- Joined: Sun 03 Jan 2016 3:39 pm
- Weather Station: N96GY -but like Triggers Broom!!
- Operating System: Raspberry Pi4 Vers:11 Bullseye
- Location: Poundbury, Dorset
Re: WH57 raw data stream using rtl_433
Hans,
Yes I am now logging the data to an sql database along with temp, rain last hour and humidity ...
(waiting for a way to input this to cumulusutils..! )
Yes I am now logging the data to an sql database along with temp, rain last hour and humidity ...
(waiting for a way to input this to cumulusutils..! )
- HansR
- Posts: 5958
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: WH57 raw data stream using rtl_433
If you log it to a CSV file in a continuous timeseries you already can chart it in CUtils (after some additional work on my side). See the most recent release. If you publish the hardware part and the rtl_433 part as a total setup you may attract some attention from those who wish to log the Ecowitt lightning sensor.
Hans
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
-
- Posts: 208
- Joined: Sun 03 Jan 2016 3:39 pm
- Weather Station: N96GY -but like Triggers Broom!!
- Operating System: Raspberry Pi4 Vers:11 Bullseye
- Location: Poundbury, Dorset
Re: WH57 raw data stream using rtl_433
according to one of the other forum members: (with thanks)
The strike_count rolls over @ 255 and start over @ 0.
For information on the AS3935 sensor is found here: https://www.mouser.com/pdfdocs/AMS_AS39 ... eet_v4.pdf
The strike_count rolls over @ 255 and start over @ 0.
For information on the AS3935 sensor is found here: https://www.mouser.com/pdfdocs/AMS_AS39 ... eet_v4.pdf