7/30/2026 at 2:44:20 AM
So if I understand correctly, they used hard coded constants to generate keys that only have 44 bits of entropy, which is brute forcible for $10, but you have to do it per device. They presumably did this to make pairing the bridge and sensor easier while not using a static key for all devices. Not the worst compromise I guess.I've been working on an open source solution on and off for a number of years called http://y-drip.com. It uses Wi-Fi so battery life is only a few months and range is limited. My next design is probably going to use LoRa, but this complicates things a lot because now I have two devices (bridge and sensor) that need to be paired, support over-the-air updates, etc.
What's the best way to have them share keys without adding expensive hardware like Bluetooth or NFC. The sensor also needs to be waterproof so there's no exposed ports. Increasing from 44 bits to 128 would help, but if the key generation is done over the air it can be sniffed right?
by nabilt
7/30/2026 at 12:44:11 PM
Why not LoraWAN - has built in encryption (via preshared keys) and receiver stations + processing software already exists (Chirpstack).by kernelbugs
7/30/2026 at 8:27:00 PM
That would simplify things. How do nodes usually identify themselves to be able to join the network? Maybe a QR code?by nabilt
7/30/2026 at 3:15:07 AM
> is probably going to use LoRawhy not Zigbee or Thread?
by sedatk
7/30/2026 at 3:32:58 AM
I think most ZigBee and Thread chips use 2.4 GHz which limits distance. A lot of water meters are underground on the front yard somewhere so sub gigahertz radio would penetrate better. The modulation scheme of LoRa also allows for greater distance at the cost of data rate. It's also super low power.by nabilt
7/30/2026 at 4:42:42 PM
Thanks, makes sense.by sedatk
7/30/2026 at 12:59:55 PM
Interference. It is underground and surrounded by dirt and concrete which sucks for 2.4 ghz absorption. And like three other people said: distance.by mrloopex
7/30/2026 at 5:01:34 AM
Distance.by tehlike