Show HN: Extend Zigbee sensor range with LoRaWAN
github.com
github.com
Fast forward 2-3 years, after a (funded!) open source project, there is now a way to mount Zigbee sensors in remote locations. Essentially the solution is a wireless bride, which works like this:
- A remote Raspberry PI unit collects&compresses zigbee data and transmits it over LoRaWAN
- LoRaWAN gateway/servers forward the data towards second PI, which decompresses the data ,takes care of the device management and sends the data further to, e.g., home assistant.
And as a bonus: The device joining process is as easy as it is with zigbee2mqtt ;)
I haven't needed to change the batteries on a single sensor yet for multiple years. I did get 2 of their SpeakerHubs which also act range extenders, but it's completely unnecessary since the single hub is perfectly fine wherever you put it. I mainly use the SpeakerHubs as sirens, but they can also do text to speech, e.g. "(Loud Siren) Water Leak detected in master bath".
They've already saved me a couple of times.
I keep reading about all these standards for connected devices e.g. Matter, but in the end these just work perfectly for my use case.
We once tested putting sensors 8ft under ground, down a manhole for the water mains. They kept on working through dirt, steel and concrete even with the manhole cover in place.
Prior to seeing this I was thinking about how to use the Meshtastic [0] project to fundamentally provide simple UDP services for message brokering over LoRa. There are so many sensors that could easily hook or connect to devices acting as network routers that could bridge other protocols across long distances very easily.
Have you looked at doing something similar with ZWave at all?
I built a (free! open source! 3d printable!) sensing platform on top of LoRa that I use all over my small farm. The nodes run on batteries and just send plaintext strings straight to InfluxDB. https://www.thingiverse.com/thing:6170483
Everything has been rock solid. Of the ten I've printed, only two have stopped working-- One of them got melted inside a compost pile, and the other got washed downstream during a flood.
I switched the main project page over to GitHub, since it's a little easier to navigate. Check it out here: https://github.com/alexose/3D-Printing/tree/main/Dorothy
I'd say the strength of my project is that it's fully open source and designed for casual hackers. The code is only a few hundred lines, and the hardware is all cheap commodity stuff.
The downside is that you'll need to get your hands dirty to set it up. But, there's a big upside in that you'll never get locked in to a proprietary service.
Just thinking if anyone knows how to potentially pick up nfc or super basic equivalent that could be placed in the ear tag. Most solutions now have some sort of battery replacement which would have to replace ear tags. or have some bulky gps collar.
Waiting for some flexible solar panel printable? that could be placed on the ear tag and some antenna picking up the super low frequency emitted.
FYI there is also a 2.4GHz version of Lora. It has very high sensitivity modes close to the performance of the sub-GHz version, but also has high performance modes that give you up to 2Mbps.
What gp asks for is that regulation requires either polite transmissions aka listen before talk aka clear channel assessment, ie before we send, listen for a while and back off if channel is busy. If LBT isn't used, there's a maximum allowed transmission duty cycle stated.
Zigbee typically uses LBT, Lora doesn't. Hence, a clear zigbee channel may result in a very chatty lora channel.
And another problem is the difference in bandwidth, where zb uses 250kbit/s at 2.4 GHz and a transmission may take on the order of a millisecond, Lora even on minimum spread takes hundreds of ms, on max spread a single transmission can take several seconds.
This limits the scalability of lora networks in dense physical deployments. Lora primary use case is the once-a-day-ish sensor transmission.
I think it is somewhat common situation, when home zigbee network does not reach e.g. garage or some other near-distance building. Usually there is some ethernet/wifi network on the satellite building. So distances what LoRaWAN can reach, are not probably even needed.
Read a bit about the implementation, but I think it is easier to just ask: Could this work over general TCP somehow?
But I was mainly trying to think how to extend Zigbee-network over TCP (without LoRaWAN).
Currently it seems to be almost impossible.
Goal here would be one zigbee network which is extended to satellite location over TCP.
Thats why it's been used to shill shitcoins in the past.
LoRa never needed crypto.
Then of course people were creating hacked clients that were capturing like 99% of the Helium coin or whatever it was.
Honestly, I'm not even sure it is a bad idea and they may have resolved some of the concerns by now. It seems like a good way to incentivize people to deploy and maintain the gateways.
With that out of the way:
Many of us have never heard of LoRa. There is no way to know in 60 seconds what this project does, or why it is useful. I would recommend adding a sentence to the effect of:
"LoRa is a low-cost long-range wireless communications protocol. This project provides hardware and software to allow zigbee devices to communicate over LoRa, allowing placement of such devices far from the zigbee hub."
That's a small but big improvement. Next improvements:
- Discuss maximum range / interference
- Add an English option to the project page
- Minor: Reorganize the page to be more directive about how to get started ("Buy X, do Y, etc. in a tutorial format"). This can even just be a pointer to the relevant pages ("Buy the hardware list on [this page]. Install the software per [this page]")
That's a first impression. Feel free to post again. Show HN is a nice place to get first impressions, which have a surprisingly big impact on adoption.
I think my assumption came from two places: (1) My own bias (I use Zigbee) (2) Zigbee is big enough to have been sold in big box stores.
However, a rewrite which explains the global context would be even better, if it can be done concisely. You're right that many people won't know that. It's super-helpful to have a paragraph-length (max) description of any projects which is accessible to as broad an audience as possible.
Thanks, TIL this phrase.
> LoRaWAN GPS Concentrator
So the "GPS" is oddly placed in the name, it just means "using a GPS receiver to have accurate clock on the gateway".
The "Concentrator" part is just another name for gateway, but specifically one that receives data from different devices over LoRaWAN, collects the data into packets and sends it on to a database or other application somewhere - typically over 4G/5G or wired internet.
Thanks, that was what confused me I guess. I saw results for "LoRaWAN Concentrator" that mostly made sense, but "GPS Concentrator" was throwing me for a loop.
I've been very interested in LoRaWAN ever since I first heard about it, and I am excited to see more projects like this pop up!