Open mrmaximas opened 4 months ago
I'm trying to read data from wi-fi plug through cli:
DEBUG=* tuya-cli get --ip 192.168.1.87 --id 57220562c4dd571bb1b5 --key 4c6f90110106ff65 --protocol-version 3.3 TuyAPI IP and ID are already both resolved. +0ms TuyAPI Connecting to 192.168.1.87... +1ms TuyAPI Socket connected. +73ms TuyAPI GET Payload: +1ms TuyAPI { TuyAPI gwId: '57220562c4dd571bb1b5', TuyAPI devId: '57220562c4dd571bb1b5', TuyAPI t: '1722319878', TuyAPI dps: {}, TuyAPI uid: '57220562c4dd571bb1b5' TuyAPI } +0ms TuyAPI Received data: 000055aa000000010000000a0000002c0000000151fd7b2f37a97d173bda104764cadbdfd2f29047fbf0e0e6e0a509f12e39388534297ad30000aa55 +219ms TuyAPI Parsed: +3ms TuyAPI { TuyAPI payload: 'Q�{/7�}\x17;�\x10Gd�����G�����\t�.98�', TuyAPI leftover: false, TuyAPI commandByte: 10, TuyAPI sequenceN: 1 TuyAPI } +0ms TuyAPI Received DATA packet +1ms TuyAPI data: 10 : "Q�{/7�}\u0017;�\u0010Gd�����G�����\t�.98�" +1ms TuyAPI Disconnect +0ms undefined TuyAPI Socket closed: 192.168.1.87 +2ms
What am I doing wrong?
I'm trying to read data from wi-fi plug through cli:
What am I doing wrong?