Showing posts with label collectd. Show all posts
Showing posts with label collectd. Show all posts

Sunday, June 24, 2018

How to collect wireless sensors readings using rtl_433 and display them using OpenWrt

Goal: to use an OpenWrt capable router to receive wireless sensors reading and log them using OpenWrt luci-app-statistics module.
Why: because my router is always on anyway, so why not to use it to also log wireless sensors readings?
What is needed?
  • A router (or any other device) with USB port(s) that is supported by OpenWrt
  • A RTL-SDR dongle
  • Wireless temperature/humidity sensors supported by the rtl_433 application
Note: I’m referring to the old OpenWrt project name, which is currently called LEDE, which in turn will be called OpenWrt again. It’s because of the nonsense they started some time ago by forking the project and calling it LEDE because they couldn’t agree on which side they should start counting bits. Some of them there little-endians and the others big-endians. Finally they have agreed to use both approaches and now they are busy merging everything back together and use the good old name [sic!]. So the next release is supposed to be called OpenWrt as their branch name suggest. At the moment this branch is not usable but maybe it will be released at the end of the year. It is still not known which year should it be…

Friday, June 29, 2012

AVR-stick as a temperature logger

[Image]
I've stumbled recently upon a little gem called AVR-Stick and bought two of them for about 7€ per stick. I also had a thermoregulated fan controller salvaged from a recycled computer. I decided to desolder a thermistor from that controller and put it onto the stick to use it as a USB temperature logger. Stick's ATtiny85 has an internal temperature sensor too but it should be calibrated otherwise its precision is ±10°C. Thermistor that I'm using is equivalent to the NTCLE100E3103JB0 and its resistance is 10K at 25°C. Any other NTC thermistor that has resistance around 10K at room temperature could also be used but it should be checked if manufacturer specifies Steinhart-Hart equation coefficients for it.