Web front end for a software defined radio reading various sensors.
Serves a simple webpage, using websockets and Angular to display live
data received from the sensors.
Uses rtl_433 to receive and decode sensors transmissions
- 433MHz temperature/humidity sensors that can be received and decoded by rtl_433
- PMS5003 air quality particulates sensor via serial port
- temperature/humidity device polled from Samsung SmartThings cloud
- Readings logged every 5mins to AWS CloudWatch
Immediate readings for
- Temperature and humidity (%RH)
- Electrical Power (Watts)
- Electricity used so far today (kWh)
- Air Quality (PM2.5 and PM10 counts)
- Make your copy of each
secret_config/*.json.templatefile assecret_config/*.jsonand fill in the necessary values. - Build or install rtl_433, and ensure that
rtl_433can successfully find and read your software defined radio device (eg. an RTL2832-based USB TV dongle). - Edit
devices: [...]inindex.jsto include the 433MHz device models you wish to receive (rtl_433 -R parameters)
Run in the foreground: npm start
Or run as a daemon (uses forever):
npm run daemon-start
npm run daemon-stop
Debug logging is output by setting environment variable DEBUG with named loggers eg: DEBUG=webmon npm start
