LoRa Gateway - Off The Shelf

Has anyone look at the Yolink ( LoRa ) brand of components? Curiosity led me to open the gateway ( Amazon $20.00 ) and what I discovered is an ESP32, SX1276 LoRa radio and a serial header.

1 Like

That’s very interesting!

Any update on the Yolink Hub? I have several of their leak sensors and I’d love to use their door/window sensors if I could have local control. They were supposed to be making an official Home Assistant integration but I don’t know what has happened with that project. Either way, they did not have plans for allowing local control.

API link:
Yolink API

If you can contact them and ask if they want to help integrate devices into OMG by providing devices and docs I will be happy to do so.

I was referred to this thread from YoLink integration - #90 by nijhawank - Third party integrations - Home Assistant Community
where I posted some sniffs of the YoLink using RTL-SDR. I am no expert or even a noob in these areas but I could find some resources and with some trial and error, I could sniff some messages.

 26 31 d0 80 9e c1 05 0b 00 44 01 01 d2 17 b9 d1 f3 05 ee 1c 41 73 14 c4 6b b8 61 cf 7e 76 01 b3 94 7f 39 25 34 e2 ad 12 cc 83 d2 (DAska~v9%4)
 26 31 d0 80 9e c1 05 0b 00 45 01 01 7d f3 2b 99 60 9e f7 4d 05 aa 99 56 2d 8a f6 2f 3d a2 b0 03 fd 5c 53 64 fb d3 f9 3b bd c0 38 (E}+`MV-/=\Sd;8)
 26 31 d0 80 9e c1 05 0b 00 46 01 01 39 7f 17 e6 22 60 80 ac 77 76 fe 4a 0c 6c ac ab 73 a0 6b d2 9c 9b 84 e5 2d ae 67 62 74 ce 07 (F9"`wvJlsk-gbt)
 26 31 d0 80 9e c1 05 0b 00 47 01 01 4b 82 db fb 7e f7 4a 70 43 10 93 ae 14 16 49 45 c5 0b 78 37 3d 5d ff d1 a8 13 cd cf 58 98 12 (GK~JpCIEx7=]X)
 26 31 d0 80 9e c1 05 0b 00 48 01 01 dc c1 b5 38 8c 1f 78 7d bf c6 51 56 c0 eb e8 bd 6d 6b 8b 82 ed cf 3b c9 30 f2 84 08 78 6b dc (H8x}QVmk;0xk)
 26 31 d0 80 9e c1 05 0b 00 49 01 01 b6 a9 f3 e5 09 70 7c 00 a3 bf de b2 30 3e 7e 09 8b 25 49 7e 25 64 75 76 23 7d b4 e0 f1 14 1e (Ip|0>~%I~%duv#})
 26 31 d0 80 9e c1 05 0b 00 4a 01 01 60 8d 48 34 ce c6 52 05 ee 55 c0 ea 16 a0 a5 eb 09 c4 60 a2 1b 88 4c d1 e3 fc 17 72 47 1b 6c (J`H4RU`LrGl)

I used a simple RTL-SDR and some gnuradio files from GitHub - rpp0/gr-lora: GNU Radio blocks for receiving LoRa modulated radio messages using SDR
I had to change the following things…
Set the center and target frequency to 910.3, found by trialing and error in the permitted range in USA
Set the spreading factor to 7
Once I did this, I see the messages spitted into Wireshark every time I press the button on my YoLink sensor (was using temperature/humidity sensor).

May be this might be useful for other people who may be more knowledgeable in decoding it.

There seems to be an online decoder but it seems the messages might be encrypted. See a non-decrypted decode of one of my message…

https://lorawan-packet-decoder-0ta6puiniaut.runkit.sh/?data=2631d0809ec1050b00440101d217b9d1f305ee1c417314c46bb861cf7e7601b3947f392534e2ad12cc83d2&nwkskey=&appskey=