Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.5 (build 3282) - 23 February 2024

Cumulus MX V4 beta test release 4.0.0 (build 4017) - 17 March 2024

Legacy Cumulus 1 release v1.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

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

Post Reply
watsonm
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

WH57 raw data stream using rtl_433

Post by watsonm »

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!! :D )

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...
Regards Mike
Image
Raspberry Pi 4 Bullseye
Directly connected : BMP388 pressure sensor. DHT22 For internal Humidity/temp Sensor. PMS5003 Particle Sensor
Wireless connected: 3 (WS2083)Temp TXr's, WH57 Lightning Sensor, FO Solar sensor
watsonm
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

Post by watsonm »

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...
Regards Mike
Image
Raspberry Pi 4 Bullseye
Directly connected : BMP388 pressure sensor. DHT22 For internal Humidity/temp Sensor. PMS5003 Particle Sensor
Wireless connected: 3 (WS2083)Temp TXr's, WH57 Lightning Sensor, FO Solar sensor
User avatar
HansR
Posts: 5831
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: WH57 raw data stream using rtl_433

Post by HansR »

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
watsonm
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

Post by watsonm »

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..! :lol: )
Regards Mike
Image
Raspberry Pi 4 Bullseye
Directly connected : BMP388 pressure sensor. DHT22 For internal Humidity/temp Sensor. PMS5003 Particle Sensor
Wireless connected: 3 (WS2083)Temp TXr's, WH57 Lightning Sensor, FO Solar sensor
User avatar
HansR
Posts: 5831
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: WH57 raw data stream using rtl_433

Post by HansR »

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
watsonm
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

Post by watsonm »

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
Regards Mike
Image
Raspberry Pi 4 Bullseye
Directly connected : BMP388 pressure sensor. DHT22 For internal Humidity/temp Sensor. PMS5003 Particle Sensor
Wireless connected: 3 (WS2083)Temp TXr's, WH57 Lightning Sensor, FO Solar sensor
Post Reply