this post was submitted on 02 Jul 2023
52 points (96.4% liked)

homeassistant

12278 readers
291 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 2 years ago
MODERATORS
 

I'd like to get an outdoor Temperature Sensor that can be used with HA and Google Home. Anyone have any recommendations?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Foreverwinter 6 points 2 years ago (1 children)

Each device has its own protocol/payload, but there is a utility called rtl_433 that can decode about 200 of them.

If you're keen on tinkering a bit I would highly recommend going this route as it's a lot of fun and opens the doors to do all kinds of stuff.

Start by getting an SDR. I don't recommend the super tiny ones since they can get really hot (since it'll be running 24/7). I have this one and recommend it as it comes with an antenna etc. Nooelec RTL-SDR v5 Bundle

While you're waiting for that to arrive set up an MQTT broker if you haven't got one running already (the Mosquitto add-on in HA) and install the rtl_433 add-on as well.

From there read the rtl_433 docs to set up a config file to scan for what you want. Out of interest I set mine to rotate through a bunch of common frequencies and let it go for 24h to see what it could pick up. It was quite interesting! Another good way to do this is any wireless device will have an FCC number on it. You can look that up on their website and it'll tell you what frequency it's using and you can have your SDR scan that. If you don't specify any protocols the rtl_433 utility will try everything it knows how to decrypt. This can be CPU intensive especially on a Pi so once you know what protocol it is you can specify it in the config file to reduce CPU load.

Hopefully that's enough to set you down the right path. Happy scanning!

[โ€“] [email protected] 2 points 2 years ago

Great summary, thanks