各位大咖们,我用LOCAL TUYA,所有准备工作都做完了,但是出现如下问题,不知大家是否遇到并解决,谢谢!
下面的数据是通过tuyadebug-test.py取得的,请帮助分析一下吧,谢谢!
INFO:localtuya:localtuya version 1.0.0 INFO:localtuyaython 3.9.10 (v3.9.10:f2f3f53782, Jan 13 2022, 17:02:14) [Clang 6.0 (clang-600.0.57)] on darwin INFO:localtuya:Using pytuya version '8.1.0' INFO:localtuyaetecting list of available DPS of device 6cd312adda70227e9ejn0t [192.168.1.103], protocol 3.3. DEBUG:localtuya.pytuya:Sending command status (device type: type_0a) DEBUG:localtuya.pytuya:paylod=b'{"gwId":"6cd312adda70227e9ejn0t","devId":"6cd312adda70227e9ejn0t"}' DEBUG:localtuya.pytuyaATA RECEIVED! DEBUG:localtuya.pytuya:decode payload=b'\r\xa2i#P|\xdb2\x90\xd7\x82\xba\xfe6BA\xe1\xc1\x8f\xac9\xb5\x01]\x15u\xe1\x1f\xaaIf\xe7' DEBUG:localtuya.pytuya:'data unvalid' error detected: switching to dev_type 'type_0d' DEBUG:localtuya.pytuya:Re-send status due to device type change (type_0a -> type_0d) DEBUG:localtuya.pytuya:Sending command status (device type: type_0d) DEBUG:localtuya.pytuya:paylod=b'{"devId":"6cd312adda70227e9ejn0t","uid":"6cd312adda70227e9ejn0t","t":"1643074034","dps":{"1":null,"2":null,"3":null,"4":null,"5":null,"6":null,"7":null,"8":null,"9":null,"10":null}}' DEBUG:localtuya.pytuyaATA RECEIVED! DEBUG:localtuya.pytuya:READING AGAIN! DEBUG:localtuya.pytuya:Failed to connect to 192.168.1.103. Raising Exception. WARNING:localtuya.pytuya:Failed to get status: timed out INFO:localtuyaetecting list of available DPS of device 6cd312adda70227e9ejn0t [192.168.1.103], protocol 3.3. DEBUG:localtuya.pytuya:Sending command status (device type: type_0a) DEBUG:localtuya.pytuya:paylod=b'{"gwId":"6cd312adda70227e9ejn0t","devId":"6cd312adda70227e9ejn0t"}' DEBUG:localtuya.pytuyaATA RECEIVED! DEBUG:localtuya.pytuya:decode payload=b'\r\xa2i#P|\xdb2\x90\xd7\x82\xba\xfe6BA\xe1\xc1\x8f\xac9\xb5\x01]\x15u\xe1\x1f\xaaIf\xe7' DEBUG:localtuya.pytuya:'data unvalid' error detected: switching to dev_type 'type_0d' DEBUG:localtuya.pytuya:Re-send status due to device type change (type_0a -> type_0d) DEBUG:localtuya.pytuya:Sending command status (device type: type_0d) DEBUG:localtuya.pytuya:paylod=b'{"devId":"6cd312adda70227e9ejn0t","uid":"6cd312adda70227e9ejn0t","t":"1643074041","dps":{"1":null,"2":null,"3":null,"4":null,"5":null,"6":null,"7":null,"8":null,"9":null,"10":null}}' DEBUG:localtuya.pytuyaATA RECEIVED! DEBUG:localtuya.pytuya:READING AGAIN! DEBUG:localtuya.pytuya:Failed to connect to 192.168.1.103. Raising Exception. WARNING:localtuya.pytuya:Failed to get status: timed out INFO:localtuyaetecting list of available DPS of device 6cd312adda70227e9ejn0t [192.168.1.103], protocol 3.3. DEBUG:localtuya.pytuya:Sending command status (device type: type_0a) DEBUG:localtuya.pytuya:paylod=b'{"gwId":"6cd312adda70227e9ejn0t","devId":"6cd312adda70227e9ejn0t"}' DEBUG:localtuya.pytuyaATA RECEIVED! DEBUG:localtuya.pytuya:decode payload=b'\r\xa2i#P|\xdb2\x90\xd7\x82\xba\xfe6BA\xe1\xc1\x8f\xac9\xb5\x01]\x15u\xe1\x1f\xaaIf\xe7' DEBUG:localtuya.pytuya:'data unvalid' error detected: switching to dev_type 'type_0d' DEBUG:localtuya.pytuya:Re-send status due to device type change (type_0a -> type_0d) DEBUG:localtuya.pytuya:Sending command status (device type: type_0d) DEBUG:localtuya.pytuya:paylod=b'{"devId":"6cd312adda70227e9ejn0t","uid":"6cd312adda70227e9ejn0t","t":"1643074049","dps":{"1":null,"2":null,"3":null,"4":null,"5":null,"6":null,"7":null,"8":null,"9":null,"10":null}}' DEBUG:localtuya.pytuyaATA RECEIVED! DEBUG:localtuya.pytuya:READING AGAIN! DEBUG:localtuya.pytuya:Failed to connect to 192.168.1.103. Raising Exception. WARNING:localtuya.pytuya:Failed to get status: timed out INFO:localtuya:TIMEOUT: No response from device 6cd312adda70227e9ejn0t [192.168.1.103] after 2 attempts.
|