Тёмный

Do you need LoRa for LONG RANGE Sensor Networks? Locally-Hosted Setup w/ Chirpstack 

apalrd's adventures
Подписаться 58 тыс.
Просмотров 10 тыс.
50% 1

Do you like sensors and data collection as much as me, but need a solution for longer range than you can get with WiFi, Zigbee, Z-Wave, etc? Maybe you should take a look at LoRa, and the LoRaWAN network topology.
In this video, I walk through what LoRa and LoRaWAN are, how you can setup a LoRaWAN gateway and self-hosted Chirpstack cloud for your own home network, and eventually get sensor data all the way across my LoRaWAN network and into Home Assistant!
LoRaWAN Gateway:
(US 915Mhz): shrsl.com/4gs7v
(EU 868Mhz): shrsl.com/4gs7w
My SW Fork: github.com/apalrd/LR1302_LoRaWAN
Chirpstack LoRaWAN Installation Page:
www.chirpstack.io/docs/gettin...
(They also have a Home Assistant Addon if you are into that)
LoRaWAN Node Board (w/ RP2040): shrsl.com/4gs80
LoRaWAN Node Board (Node Only, Needs MCU): shrsl.com/4gs81
My RA-08H Examples: github.com/apalrd/LoRa_RA08
All Elecrow LoRa Products: shrsl.com/4gs83
The Sensor I Bought from Dragino (they have a ton of LoRaWAN sensors): www.dragino.com/products/temp...
Warning YoLink produces Home Automation products using LoRa, but they do not support standards-compliant LoRaWAN, despite being built on LoRaWAN. So you cannot use them with your own network.
Support me on Ko-Fi if you enjoy my content and find it useful:
ko-fi.com/apalrd
Feel free to chat about my upcoming projects on Discord!
/ discord
Timestamps:
00:00 - Introduction
01:00 - Hardware
02:45 - LoRa
05:15 - Gateway
09:19 - LoRaWAN
13:36 - Chirpstack
21:54 - Devices
26:57 - Custom Nodes
33:39 - Home Assistant
38:52 - Conclusion

Наука

Опубликовано:

 

19 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 49   
@KeithHanlan
@KeithHanlan 2 месяца назад
I think that I have found another project to keep me busy when I retire. Absolutely fascinating.
@apalrdsadventures
@apalrdsadventures 2 месяца назад
Home Assistant on the whole is plenty to keep anyone busy
@YetAnotherYoutubeProfile
@YetAnotherYoutubeProfile 2 дня назад
Just forked the vendor's library, wrote examples for the node module and posted it under the bsd license. You make it look easy :D God bless
@DylanClements98
@DylanClements98 2 месяца назад
I swear every time I’m thinking about something, you make a video about it. Great work as always.
@apalrdsadventures
@apalrdsadventures 2 месяца назад
Enjoy :)
@gburkett05
@gburkett05 2 месяца назад
Another fantastic video! Wanted to say just after 33mins there's lat/long on-screen. Don't want you to dox yourself!
@apalrdsadventures
@apalrdsadventures 2 месяца назад
Thanks for letting me know! I thought I caught all of those.
@cralx2k
@cralx2k 11 дней назад
Very Nice, thanks
@drivinginchina4598
@drivinginchina4598 2 месяца назад
What a great video.
@apalrdsadventures
@apalrdsadventures 2 месяца назад
Glad you like it!
2 месяца назад
Few years ago I did some subghz 868/915 zigbee development. 600m was the limit with our setup.
@apalrdsadventures
@apalrdsadventures 2 месяца назад
My experience with Zigbee has been poor, but I think it's because so many manufacturers bend the specs and there are incompatibilities. Z-wave just dosen't have those kinds of device specific incompatibility issues.
@wildekek
@wildekek 2 месяца назад
Nicely explained! I started monitoring the Amsterdam Botanical Gardens using a few LoRa sensors and Home Assistant with the MQTT sensor integration and it works pretty darn sweet. The only drawback so far is that it gets quite messy quickly since the HA yaml config file gets a ton of duplication for all the sensor data. Not sure how to fix that problem yet without making a ChirpStack integration.
@apalrdsadventures
@apalrdsadventures 2 месяца назад
It might be possible to write a Chirpstack integration that just generates Home Assistant MQTT discovery entities, or maybe have a script that does that periodically. Basically, you can take the yaml configuration and publish it over MQTT to a well-known topic path, so software that's HA aware can push its own configuration over MQTT and HA will discover and add it automatically.
@wildekek
@wildekek 2 месяца назад
@@apalrdsadventuresThanks! Yes you're right, doing it the other way round and creating a ChirpStack Integration that pushes the HA MQTT discovery is probably the most elegant way to handle this.
@l0gic23
@l0gic23 2 месяца назад
Your a pretty cool dude.
@orrtjorvieinarsson4477
@orrtjorvieinarsson4477 2 месяца назад
nice. thx
@kritikusi-666
@kritikusi-666 2 месяца назад
Cool. I still don't know where the LoRa WAN module is stationed. Is that outside somewhere...perhaps I missed the diagram on how it was setup. Cool project regardless. LoRas for everything nowadays.
@CTWilliams89
@CTWilliams89 2 месяца назад
I think you'd appreciate the reticulum project I recently found it and think it is really really neat lol
@IvanNedostal
@IvanNedostal 2 месяца назад
I like that too, but WireGuard can be used in same way, and you have it little bit simplified. Both work over different media, even over DMR ! Because in Unixy you can pipe anything to anything. Reticulum is awesome for big groups where people do not always have to know each other.
@tezlallc2900
@tezlallc2900 2 месяца назад
Great video! Any reason this wouldn't work with a RPI 3 B+ ? Do you run Home Assistant on the RPi and push the cloud data back down for to RPi for display?
@apalrdsadventures
@apalrdsadventures 2 месяца назад
It should work fine on the 3B+. I'm not sure if the Pi 3 would be powerful enough for Home Assistant. I don't run HA on a Pi, just different radios.
@PuputDaniPrasetyoAdi
@PuputDaniPrasetyoAdi 2 месяца назад
Very Fast explanation, but this incredible
@Matt-kabob
@Matt-kabob 2 месяца назад
I like your Linux is Awesome shirt… where did you get it?
@apalrdsadventures
@apalrdsadventures 2 месяца назад
It's from vkc.sh (Veronica Explains)
@mrkumar6020
@mrkumar6020 12 дней назад
Hello @apalrd's adventures, Its a great video with step-by-step explanation on the loraWAN setup. I really appreciated. I have also ordered and assembled the same hardware from Elecrow and give a try to setup loraWAN gateway with your this setup video explanation, but I am sorry and afraid to say that some of your setup commands not working for me. Could you please assist me to fix it? Thanks.
@apalrdsadventures
@apalrdsadventures 12 дней назад
Can you contact me on email or discord? Let me know what errors you’re getting
@mrkumar6020
@mrkumar6020 12 дней назад
@@apalrdsadventures Thank you for your prompt feedback reply. its so nice of you. I have joined you at discord and will mention the error I am getting to be reviewed by you to fix it. Thanks.
@shephusted2714
@shephusted2714 2 месяца назад
do a followup when you add more devices
@SuperEuro
@SuperEuro 2 месяца назад
Is it possible to repeat such a project on a RAK2287 Semtech SX1302?
@apalrdsadventures
@apalrdsadventures 2 месяца назад
My board also uses the SX1302 (it's an 8ch LoRaWAN gateway), so it's just different software. Looks like RAK provides Pi OS images which support both Semtech UDP and Chirpstack, so yeah it should work the same way.
@pbrigham
@pbrigham 2 месяца назад
I just wonder why you didn't went with WIFI HaLow, still gives you at least 1 to 2 Km of range, much faster speeds, and can seamless be integrated in any existing network infrastructure.
@apalrdsadventures
@apalrdsadventures 2 месяца назад
Mostly because there are so few devices that natively support HaLow. Most of the HaLow devices I've found are either bare chipsets or HaLow to Ethernet bridges, not complete products.
@pbrigham
@pbrigham 2 месяца назад
@@apalrdsadventures well, I pick up a couple of this for less than 50 bucks not expecting much of it, I'm only using one as an access point, dam, this thing gives me internet form 2 km from the house! 16 Mbits at 2 kms! :), I quite impressed by it so far.
@zyghom
@zyghom 2 месяца назад
bloody hell: snow? I did not see it for last 25 years ;-)
@kirksteinklauber260
@kirksteinklauber260 2 месяца назад
Why you didn’t consider a Mikrotik LoRAWAN router instead the raspberry pi?
@apalrdsadventures
@apalrdsadventures 2 месяца назад
Mikrotik's LoRaWAN gateways cost more, that's basically it.
@deanbell5164
@deanbell5164 2 месяца назад
Is the MQTT server/broker running on Proxmox, is it a VM or CT? Is the MQTT server/broker mosquitto? Is Home Assistant a VM or CT in your setup? Great presentation.
@apalrdsadventures
@apalrdsadventures 2 месяца назад
I am using the MQTT server I already use for Home Assistant, which in my case is Mosquitto in a CT. Home Assistant is a VM (HA OS). I have been using MQTT longer than I've been using Home Assistant (I started with MQTT + Node-Red), so I didn't use the HA OS addon, but that's also a good choice if you are using HA OS. You can run Mosquitto in the same CT as Chirpstack (or on the Pi directly, if you run Chirpstack on the Pi) if you'd like. It doesn't really matter who hosts the MQTT broker.
@deanbell5164
@deanbell5164 2 месяца назад
Have you setup the MQTT broker (Mosquitto) for HA, to avoid that single point of failure issue?
@apalrdsadventures
@apalrdsadventures 2 месяца назад
Not with redundant brokers. All of my HA stuff is running on Proxmox, and I have a separate Proxmox system for the 'important' stuff that I don't mess with regularly.
@fuzzlabrador
@fuzzlabrador 2 месяца назад
ah lora....ive set on the first row before
@apalrdsadventures
@apalrdsadventures 2 месяца назад
So you probably know all of the LoRaWAN gateway options then
@l0gic23
@l0gic23 2 месяца назад
​@@apalrdsadventurescrazy youtubers just watch but dont rake notes...
@Mr.Leeroy
@Mr.Leeroy 2 месяца назад
audio needs a 6db boost
Далее
Long Range Smart Home Sensors with LoRa // YoLink
15:48
Я ВЫЖИЛ ПОСЛЕ УКУСА ЗМЕИ!
22:56
Просмотров 988 тыс.
Проверил на логику певца L’one
00:17
Can this capsule save my life? 😱
00:50
Просмотров 2,5 млн
Going IPv6-Mostly with Tayga NAT64 on OPNsense
39:01
SELF-HOSTING behind CGNAT for fun and IPv6 transition
36:12
How to start your HomeLab journey?
17:32
Просмотров 50 тыс.
How Secure is YOUR WiFi Network?
35:44
Просмотров 14 тыс.
Try these 16 Brilliant ESP32 projects!!!
11:18
Просмотров 540 тыс.
Face ID iPhone 14 Pro
0:59
Просмотров 22 тыс.
Face ID iPhone 14 Pro
0:59
Просмотров 22 тыс.
ВИPУC НА МАКБУК
0:21
Просмотров 30 тыс.
ВЫ ЧЕ СДЕЛАЛИ С iOS 18?
22:40
Просмотров 129 тыс.