tixi / Domoticz-Tuya-SmartPlug-Plugin

Domoticz Python Plugin for Tuya Smart Plug
MIT License
23 stars 24 forks source link

Plugin does not work. Plugin.py expects decoded data #25

Open WillemDeIX opened 1 year ago

WillemDeIX commented 1 year ago

The latest antela tuya smart plug sends encrypted data to to the plugin. The plugin.py however expects non-crypted for the onMessage handling. What to do? The plugin was written couple of years ago, but things changed. Is there still support to update the plugin for encoded tuya data?? This is the data I receive:

00 00 55 aa 00 00 00 00 00 00 00 0a 00 00 00 9c 00 00 00 00 fc 10 74 3f f3 67 30 d3 ee 1a c8 f6 6d 3c 12 b7 b9 fc 4c ae 0c 61 27 95 5a 56 a1 64 15 1c 9b 92 3b 7e 96 b5 d5 3f d7 74 da 33 44 c6 32 d7 44 85 58 e1 3d ef 26 3c cb 13 15 5c e4 16 78 79 da dc 60 b1 c6 4b c4 6f 93 20 35 f1 4d 9b 47 da d1 93 06 ad b1 c1 06 b5 a8 67 77 fb b8 2c 71 fd ff c5 a0 98 79 ad b6 06 c7 57 2b 4a 30 f5 e4 f3 33 d3 ed e9 6e f7 e2 e5 78 19 d7 d4 f8 a3 a3 f3 79 0d c8 06 3d 31 7e ad 9c 12 c9 2a c5 5c 4a fd 9a a6 53 3b cc 86 00 00 aa 55 .. .. .. .. .. .. .. ..

doesnt look decoded to me. Anyone an idea how to decrypt?