YoLink integration

Hi all,

I recently bought the YoLink water leak sensors and had been waiting for its integration in the home assistant.

Anyways, in absence of any positive communication from YoLink or YoSmart, I thought about directly sniffing the LoRa messages off air. I used a simple RTL-SDR and using some gnuradio files from GitHub - rpp0/gr-lora: GNU Radio blocks for receiving LoRa modulated radio messages using SDR (with some small changes), I could get the following messages. I am no expert in any of these but could follow things. I’m not sure if the following messages are encrypted but I get them whenever I press a button in one of my YoLink sensor (temp/humidity sensor). That way I know its the right thing.

 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)

From the 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 (per 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.

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

1 Like