Domoticz-Tuya-SmartPlug-Plugin payload unreadable

Python and python framework

Moderator: leecollings

Post Reply
adelafug
Posts: 3
Joined: Wednesday 01 September 2021 19:24
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Domoticz-Tuya-SmartPlug-Plugin payload unreadable

Post by adelafug »

Hi, i install plugin Domoticz-Tuya-SmartPlug-Plugin for manage sensor door from tuya.

I installed in my rpi https://pypi.org/project/tinytuya/ for test and works fine. I can read value from sensor with small script phyton.
I always receibe payload clearly
Response: {u'dps': {u'1': True}}
Response: {u'dps': {u'1': False}}
Response: {u'dps': {u'1': False}}

But when I use Domoticz-Tuya-SmartPlug-Plugin the payload is unreadable.

onMessage called: 192.168.1.16:6668 b'\x00\x00U\xaa\x00\x00\x00\x00\x00\x00\x00\n\x00\x00\x00,\x00\x00\x00\x01\xdc \xe5`\xf2\xfb\x1ck\x96>\x82"HQ\x00\xb7\xd9\x0f\x14+1\x14\xbdl\xa8I\xa8\xd8\xdb\x96W\xf5Xa\xb9H\x00\x00\xaaU'


Any idea for solution?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest