Ukranian controls Home Assistant over LoRa radio when their power grid goes down
52 points
3 hours ago
| 5 comments
| old.reddit.com
| HN
rekttrader
2 hours ago
[-]
This is the hacker way. Well done to the strong and hearty Ukrainians making solutions for complicated times!
reply
SuperMouse
35 minutes ago
[-]
Maybe he could offer this "as a service" using LoRaWAN and a cheap Mikrotik basestation? As a backend Chirpstack can be used.
reply
blackfawn
1 hour ago
[-]
Very neat setup! I've been using Meshtastic and Home Assistant but never thought to mix the two.
reply
cyberax
2 hours ago
[-]
Hey! I have a similar setup. Mostly done as a thought experiment, luckily I don't have to deal with a war.

Instead of using the Python interface directly, I used MQTT as the gateway.

I disliked all the existing MQTT servers (who writes network-facing software in C++!?!?), so I adapted the Mochi server a bit to add support for automatic Let's Encrypt certs: https://github.com/Cyberax/lenc-mochi

One problem is that LoRa is low-bandwidth, so I had to pick and choose what I transmit. I ended up defining a schema that bit-packs all the important (for me) sensor state in just 32 bytes.

As another thought experiment, I'm going to connect it to a pair of InReach satellite transceivers over Bluetooth :)

reply
senectus1
1 hour ago
[-]
oh man... this is really truly inspiring! The true hacker spirit. practically cyberpunk.
reply