OT: logging temperature and relative humidity

After having 3 chips in outdoor sensor die due to what looks like lighting induction on the wires, I decided to do it differently. Got the cheapest ebay sensor I could find on ebay

formatting link
modified it for lifepo4 (1 3.2 V AAA cell), and mounted it under the garden table.

These things send data once per minute on 433 MHz

So, rtl_sdr stick as receiver in the PC, and I found a nice program rtl_433 that decodes the format, of course only when I was half way through writing the decoder myself, but OK.. Now added some code, and there you are, it also forwards the data to any IP address, choose UDP or TCP..

2018 08 02 17:06 t 31.9 rh 36.0 t_min 15.8 at 04:44 t_max 35.3 at 12:13 rh_min 27.0 at 13:06 rh_max 91.0 at 05:40

It also has a PC beep audio alarm with different frequencies, can set limits for low/high temperature and humidity and uses a voice synthesizer to tell you what the problem is, so you can either flee the cooking temperatures, or empty the water pipes, or if 100% humidity start the pumps, whatever.

Now I have used 25 of the 26 characters of the alphabet for command line options, better stop here.

C code for Linux. rwxr-xr-x 1 root root 13184 Aug 1 19:45 weather_sensor_to_xgpspc

13 kB executable.

Oh, and it survived the last lightning.

You can use it to display in a small one line xterm, logs to file too. http://217.120.43.67/nuclear/temp_rh_in_small_xterm.gif

Source: http://217.120.43.67/nuclear/weather_sensor-0.2.tgz

Note: Sometimes the link will refuse connection, that means your security clearance is canceled, as a check is made if you had any bad thoughts about the twitter master. If that happens think positive and try again the next day.

Reply to
<698839253X6D445TD
Loading thread data ...

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.