giu1io / homebridge-ankuoo-rec-switch

Homebridge plugin that integrates with Ankuoo Rec Switch
GNU General Public License v3.0
10 stars 5 forks source link

Encrypted payload #1

Closed cristoforocervino closed 7 years ago

cristoforocervino commented 7 years ago

Hi,

I'm having troubles finding encrypted payload. I sniff the on/off package that the Rec App is sending to turn on and off the switch. Besides, the encrypted payload result to be different for each package. I never found the same payload even if I tried multiple times to turn the switch on and off.

What am I doing wrong? I attach a screen.

img_8354 copia

Thanks in advance, Cristoforo

giu1io commented 7 years ago

Hi, The encrypted payload changes every time because there's a counter inside the payload. You can just use any of those payloads, it doesn't matter which one, the switch will accept any of them. ON payloads are different from OFF payloads obviously and are not interchangeable.