-
-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Devices are no longer detected after device upgrade (upgrade to mcu 1.0.5 and wifi 1.0.5) #32
Comments
answer see email |
@Apollon77 |
@Apollon77 |
If this is the error then then device is not sending out udp packages. Or iobroker is not receiving it. |
Hallo Apollon77,
Folgende Dinge habe ich im RAW ergänzt. Leider läuft es damit auch nicht.
Erst einmal vielen Dank. Scheint wohl etwas komplexer zu sein.
Gruß Fritzi1
Hallo Apollon77,
The following things have been added to the RAW. Unfortunately, it does not work that way either.
First of all thank you. Seems to be a bit more complex.
Greeting Fritzi1
+++++++++++++++++++++++++++++++++++++++++++++++++
{
"type": "device",
"common": {
"name": "Lampenname",
"read": true,
"write": false
},
"native": {
"ip": "192.168.0.195", <-------------------------------
"gwId": "06114800840d8e8af07f", <-------------------------------
"active": 2, <-------------------------------
"ability": 0, <-------------------------------
"mode": 0, <-------------------------------
"encrypt": true, <-------------------------------
"productKey": "heeU2AWVxpxfqP6D", <-------------------------------
"version": "3.1", <-------------------------------
"localKey": "1b0af7adc36837ae", <-------------------------------
"virtual": false,
"dpName": {},
"lon": "XXXXXX",
"uuid": "06114800840d8e8af07f",
"iconUrl": "https://images.tuyaeu.com/smart/product_icon/dj.png",
"lat": "XXXXX",
"runtimeEnv": "prod",
"devId": "06114800840d8e8af07f",
"dpMaxTime": 1553427354297,
"productId": "heeU2AWVxpxfqP6D",
"activeTime": 1552995508,
"moduleMap": {
"wifi": {
"upgradeStatus": 3,
"bv": "5.42",
"cdv": "1.0.0",
"pv": "2.2",
"verSw": "1.0.5",
"isOnline": true,
"id": 6143967,
"cadv": ""
},
+++++++++++++++++++++++++++++++++++
|
Adding the ip manually did not change the situation. Still not working. Working for me: Adding TUYA Alexa Skill and switching the plug with ALEXA2 instance |
Hi DerDom2010, |
@Fritzi1 |
@DerDom2010 |
Ich habe auch das gleiche Problem, Lieber Apollon77 bitte helfen Sie uns. |
Question is how I could help. If the Adapter is not knowing the IP then it seems that these devices are no longer sending out the UDP packages as earlier. The adapter received these UDP packages in network ( so make sure that devices are in same network and nothing blocks the UDP multicasts) and reads out data like product ID, type and the IP and then can connect. So adding the IP manually solved it in some cases (whyever above that many fields were added ... filling out the missing IP should be enough). BUT when the FW update also closed the internal network port of the device (could be verified by trying to do a connection (e.g. via telnet) to port 6668 of the device IP) then the adapter is out of the game because the adapter is using exactly this local interface of the devices. The adapter is not using cloud APIs at the moment because this is much harder to achieve and I did not managed it so far). So |
It seems to be as feared - the 1.0.5 Firmware of these devices are more closed. Tuyapi developers are already working on options ... we need to stay tuned here |
I don't know if the firmware version is comparable. My wall shutter switch has firmware version 1.0.5 and can be found by io.broker. I use the smart life app. |
According to infos the FW version number is ore device specific ... so a 1.0.5 on one can work, on an othe rnot (depending what the FW really is about) ;-( |
It seems that the tuyapi projext is close to decode the new protocol. To prepare to adopt the adapter I would need such a new device here with me or at least links that I could purchase one ... can someone provide me details or such a device? |
It seems we are close. I think we could have support in 2-3 weeks after more testing. But I still do not have such a device :-( if one of you have such a device unused/ |
tests with Github version 2.0.0 starts ... see also https://forum.iobroker.net/topic/23431/aufruf-tuya-adapter-tests-verschl%C3%BCsselte-ger%C3%A4te |
GitHub 2.0.1 should work now with encrypted devices |
Debug protocoll
2019-03-15 11:58:53.251 - �[32minfo�[39m: tuya.0 Anyproxy ready to receive requests
2019-03-15 11:59:04.537 - �[32minfo�[39m: tuya.0 new Shema added for product type 6mowdiydpq6sxur9. Please send next line from logfile on disk to developer!
2019-03-15 11:59:04.537 - �[32minfo�[39m: tuya.0 {"schema":"[{"mode":"rw","code":"led_switch","name":"开关","property":{"type":"bool"},"iconname":"icon-dp_power","id":1,"type":"obj","desc":""},{"mode":"rw","code":"work_mode","name":"模式","property":{"range":["white","colour","scene","scene_1","scene_2","scene_3","scene_4"],"type":"enum"},"iconname":"icon-dp_box2","id":2,"type":"obj","desc":""},{"mode":"rw","code":"bright_value","name":"亮度值","property":{"unit":"","min":25,"max":255,"scale":0,"step":1,"type":"value"},"iconname":"icon-dp_light2","id":3,"type":"obj","desc":""},{"mode":"rw","code":"temp_value","name":"冷暖值","property":{"unit":"","min":0,"max":255,"scale":0,"step":1,"type":"value"},"iconname":"icon-a_mode_heat","id":4,"type":"obj","desc":""},{"mode":"rw","code":"colour_data","name":"彩光模式数","property":{"type":"string","maxlen":255},"iconname":"icon-dp_filter","id":5,"type":"obj","desc":""},{"mode":"rw","code":"scene_data","name":"情景模式数","property":{"type":"string","maxlen":255},"iconname":"icon-dp_list","id":6,"type":"obj","desc":""},{"mode":"rw","code":"flash_scene_1","name":"柔光模式","property":{"type":"string","maxlen":255},"iconname":"icon-FanSpeed","id":7,"type":"obj","desc":""},{"mode":"rw","code":"flash_scene_2","name":"缤纷模式","property":{"type":"string","maxlen":255},"iconname":"icon-yanse","id":8,"type":"obj","desc":""},{"mode":"rw","code":"flash_scene_3","name":"炫彩模式","property":{"type":"string","maxlen":255},"iconname":"icon-dp_flower","id":9,"type":"obj","desc":""},{"mode":"rw","code":"flash_scene_4","name":"斑斓模式","property":{"type":"string","maxlen":255},"iconname":"icon-a_mode_turbo","id":10,"type":"obj","desc":""}]","schemaExt":"[]"}
2019-03-15 11:59:04.537 - �[32minfo�[39m: tuya.0 new Shema added for product type D7Hl3AxFbHDS98iO. Please send next line from logfile on disk to developer!
2019-03-15 11:59:04.537 - �[32minfo�[39m: tuya.0 {"schema":"[{"mode":"rw","code":"switch_1","name":"开关","property":{"type":"bool"},"iconname":"icon-dp_power2","id":1,"type":"obj","desc":""},{"mode":"rw","code":"switch_2","name":"开关2","property":{"type":"bool"},"iconname":"icon-dp_power2","id":2,"type":"obj","desc":""},{"mode":"rw","code":"switch_3","name":"开关3","property":{"type":"bool"},"iconname":"icon-dp_power2","id":3,"type":"obj","desc":""},{"mode":"rw","code":"switch_4","name":"开关4","property":{"type":"bool"},"iconname":"icon-dp_power2","id":4,"type":"obj","desc":""},{"mode":"rw","code":"switch_usb1","name":"USB 1","property":{"type":"bool"},"iconname":"icon-dp_power","id":7,"type":"obj","desc":""},{"mode":"rw","code":"countdown1","name":"开关1倒计时","property":{"unit":"秒","min":0,"max":86400,"scale":0,"step":1,"type":"value"},"id":101,"type":"obj","desc":""},{"mode":"rw","code":"countdown2","name":"开关2倒计时","property":{"unit":"秒","min":0,"max":86400,"scale":0,"step":1,"type":"value"},"id":102,"type":"obj","desc":""},{"mode":"rw","code":"countdown3","name":"开关3倒计时","property":{"unit":"秒","min":0,"max":86400,"scale":0,"step":1,"type":"value"},"id":103,"type":"obj","desc":""},{"mode":"rw","code":"countdown4","name":"开关4倒计时","property":{"unit":"秒","min":0,"max":86400,"scale":0,"step":1,"type":"value"},"id":104,"type":"obj","desc":""},{"mode":"rw","code":"countdown_usb1","name":"USB倒计时","property":{"unit":"秒","min":0,"max":86400,"scale":0,"step":1,"type":"value"},"id":105,"type":"obj","desc":""}]","schemaExt":"[{"id":101,"inputType":""},{"id":102,"inputType":""},{"id":103,"inputType":""},{"id":104,"inputType":""},{"id":105,"inputType":""}]"}
2019-03-15 11:59:04.537 - �[32minfo�[39m: tuya.0 new Shema added for product type DEQevYCSHLnbDube. Please send next line from logfile on disk to developer!
2019-03-15 11:59:04.537 - �[32minfo�[39m: tuya.0 {"schema":"[{"mode":"rw","code":"led_switch","name":"开关","property":{"type":"bool"},"id":1,"type":"obj","desc":""},{"mode":"rw","code":"work_mode","name":"模式","property":{"range":["white","colour","scene","scene_1","scene_2","scene_3","scene_4"],"type":"enum"},"id":2,"type":"obj","desc":""},{"mode":"rw","code":"bright_value","name":"亮度","property":{"unit":"","min":25,"max":255,"scale":0,"step":1,"type":"value"},"id":3,"type":"obj","desc":""},{"mode":"rw","code":"temp_value","name":"冷暖","property":{"unit":"","min":0,"max":255,"scale":0,"step":1,"type":"value"},"id":4,"type":"obj","desc":""},{"mode":"rw","code":"colour_data","name":"彩光模式数","property":{"type":"string","maxlen":14},"id":5,"type":"obj","desc":"rgbhsv"},{"mode":"rw","code":"scene_data","name":"情景模式数","property":{"type":"string","maxlen":14},"id":6,"type":"obj","desc":"rgbhsv"},{"mode":"rw","code":"flash_scene_1","name":"柔光模式","property":{"type":"string","maxlen":14},"id":7,"type":"obj","desc":""},{"mode":"rw","code":"flash_scene_2","name":"缤纷模式","property":{"type":"string","maxlen":44},"id":8,"type":"obj","desc":""},{"mode":"rw","code":"flash_scene_3","name":"炫彩模式","property":{"type":"string","maxlen":14},"id":9,"type":"obj","desc":""},{"mode":"rw","code":"flash_scene_4","name":"斑斓模式","property":{"type":"string","maxlen":44},"id":10,"type":"obj","desc":""},{"mode":"rw","code":"power","name":"power","property":{"type":"bool"},"id":101,"type":"obj","desc":"插座开关"},{"mode":"rw","code":"countdown","name":"延迟","property":{"unit":"S","min":0,"max":86400,"scale":0,"step":1,"type":"value"},"id":102,"type":"obj","desc":""},{"mode":"ro","code":"add_ele","name":"电量","property":{"unit":"度","min":0,"max":500000,"scale":3,"step":100,"type":"value"},"id":103,"type":"obj","desc":"上报的为放大100倍之后的值,即上报56,实际值为0.56度"},{"mode":"ro","code":"cur_current","name":"电流","property":{"unit":"mA","min":0,"max":30000,"scale":0,"step":1,"type":"value"},"id":104,"type":"obj","desc":""},{"mode":"ro","code":"cur_power","name":"功率","property":{"unit":"W","min":0,"max":50000,"scale":0,"step":1,"type":"value"},"id":105,"type":"obj","desc":""},{"mode":"ro","code":"cur_voltage","name":"电压","property":{"unit":"V","min":0,"max":2500,"scale":0,"step":1,"type":"value"},"id":106,"type":"obj","desc":""}]","schemaExt":"[{"id":1,"inputType":" "},{"id":2,"inputType":" "},{"id":3,"inputType":" "},{"id":4,"inputType":" "},{"id":101,"inputType":" "},{"id":102,"inputType":" "},{"id":103,"inputType":""},{"id":104,"inputType":""},{"id":105,"inputType":""},{"id":106,"inputType":""}]"}
2019-03-15 11:59:04.537 - �[32minfo�[39m: tuya.0 new Shema added for product type heeU2AWVxpxfqP6D. Please send next line from logfile on disk to developer!
2019-03-15 11:59:04.537 - �[32minfo�[39m: tuya.0 {"schema":"[{"mode":"rw","code":"led_switch","name":"开关","property":{"type":"bool"},"iconname":"icon-dp_power","id":1,"type":"obj","desc":""},{"mode":"rw","code":"work_mode","name":"模式","property":{"range":["white","colour","scene","scene_1","scene_2","scene_3","scene_4"],"type":"enum"},"iconname":"icon-dp_box2","id":2,"type":"obj","desc":""},{"mode":"rw","code":"bright_value","name":"亮度值","property":{"unit":"","min":25,"max":255,"scale":0,"step":1,"type":"value"},"iconname":"icon-dp_light2","id":3,"type":"obj","desc":""},{"mode":"rw","code":"colour_data","name":"彩光模式数","property":{"type":"string","maxlen":255},"iconname":"icon-dp_filter","id":5,"type":"obj","desc":""},{"mode":"rw","code":"scene_data","name":"情景模式数","property":{"type":"string","maxlen":255},"iconname":"icon-dp_list","id":6,"type":"obj","desc":""},{"mode":"rw","code":"flash_scene_1","name":"柔光模式","property":{"type":"string","maxlen":255},"iconname":"icon-FanSpeed","id":7,"type":"obj","desc":""},{"mode":"rw","code":"flash_scene_2","name":"缤纷模式","property":{"type":"string","maxlen":255},"iconname":"icon-yanse","id":8,"type":"obj","desc":""},{"mode":"rw","code":"flash_scene_3","name":"炫彩模式","property":{"type":"string","maxlen":255},"iconname":"icon-dp_flower","id":9,"type":"obj","desc":""},{"mode":"rw","code":"flash_scene_4","name":"斑斓模式","property":{"type":"string","maxlen":255},"iconname":"icon-a_mode_turbo","id":10,"type":"obj","desc":""},{"mode":"rw","code":"flashscreen","name":"新场景","property":{"type":"string","maxlen":255},"iconname":"icon-dp_house","id":11,"type":"obj","desc":""}]","schemaExt":"[{"id":1,"inputType":"plain"},{"id":2,"inputType":"plain"},{"id":3,"inputType":"percent"}]"}
2019-03-15 11:59:04.537 - �[32minfo�[39m: tuya.0 new Shema added for product type oSQljE9YDqwCwTUA. Please send next line from logfile on disk to developer!
2019-03-15 11:59:04.537 - �[32minfo�[39m: tuya.0 {"schema":"[{"mode":"ro","code":"status","name":"开关状态","property":{"range":["open","closed"],"type":"enum"},"iconname":"icon-dp_direction","id":1,"type":"obj","desc":""},{"mode":"ro","code":"BatteryStatus","name":"电池电量","property":{"range":["0x00","0x01","0x02","0x03"],"type":"enum"},"id":101,"type":"obj","desc":""}]","schemaExt":"[]"}
2019-03-15 11:59:04.537 - �[32minfo�[39m: tuya.0 new Shema added for product type qxJSyTLEtX5WrzA9. Please send next line from logfile on disk to developer!
2019-03-15 11:59:04.537 - �[32minfo�[39m: tuya.0 {"schema":"[{"mode":"rw","code":"switch_on","name":"开关","property":{"type":"bool"},"iconname":"icon-dp_power3","id":1,"type":"obj","desc":""},{"mode":"rw","code":"countdown","name":"倒计时","property":{"unit":"秒","min":0,"max":86400,"scale":0,"step":1,"type":"value"},"id":2,"type":"obj","passive":true,"desc":""},{"mode":"ro","code":"add_ele","name":"增加电量","property":{"unit":"度","min":0,"max":500000,"scale":3,"step":100,"type":"value"},"id":3,"type":"obj","desc":"上报的为放大100倍之后的值,即上报56,实际值为0.56度"},{"mode":"ro","code":"cur_current","name":"当前电流","property":{"unit":"mA","min":0,"max":30000,"scale":0,"step":1,"type":"value"},"id":4,"type":"obj","desc":""},{"mode":"ro","code":"cur_power","name":"当前功率","property":{"unit":"W","min":0,"max":50000,"scale":0,"step":1,"type":"value"},"id":5,"type":"obj","desc":""},{"mode":"ro","code":"cur_voltage","name":"电压","property":{"unit":"V","min":0,"max":3000,"scale":0,"step":1,"type":"value"},"id":6,"type":"obj","desc":""}]","schemaExt":"[]"}
2019-03-15 11:59:04.537 - �[32minfo�[39m: tuya.0 new Shema added for product type Xg7AvNi7aeRqW3fD. Please send next line from logfile on disk to developer!
2019-03-15 11:59:04.537 - �[32minfo�[39m: tuya.0 {"schema":"[{"mode":"rw","code":"switch_1","name":"开关1","property":{"type":"bool"},"iconname":"icon-dp_power2","id":1,"type":"obj","desc":""},{"mode":"rw","code":"switch_2","name":"开关2","property":{"type":"bool"},"iconname":"icon-dp_power2","id":2,"type":"obj","desc":""},{"mode":"rw","code":"countdown_1","name":"开关1倒计时","property":{"unit":"s","min":0,"max":86400,"scale":0,"step":1,"type":"value"},"iconname":"icon-dp_time2","id":9,"type":"obj","desc":""},{"mode":"rw","code":"countdown_2","name":"开关2倒计时","property":{"unit":"s","min":0,"max":86400,"scale":0,"step":1,"type":"value"},"iconname":"icon-dp_time2","id":10,"type":"obj","desc":""},{"mode":"rw","code":"add_ele","name":"增加电量","property":{"unit":"","min":0,"max":50000,"scale":3,"step":100,"type":"value"},"iconname":"icon-battery","id":17,"type":"obj","desc":""},{"mode":"ro","code":"cur_current","name":"当前电流","property":{"unit":"mA","min":0,"max":30000,"scale":0,"step":1,"type":"value"},"iconname":"icon-Ele","id":18,"type":"obj","desc":""},{"mode":"ro","code":"cur_power","name":"当前功率","property":{"unit":"W","min":0,"max":50000,"scale":1,"step":1,"type":"value"},"iconname":"icon-dp_tool","id":19,"type":"obj","desc":""},{"mode":"ro","code":"cur_voltage","name":"当前电压","property":{"unit":"V","min":0,"max":5000,"scale":1,"step":1,"type":"value"},"iconname":"icon-a_function_turbo","id":20,"type":"obj","desc":""},{"mode":"ro","code":"test_bit","name":"产测结果位","property":{"unit":"","min":0,"max":5,"scale":0,"step":1,"type":"value"},"iconname":"icon-dp_direction","id":21,"type":"obj","desc":""},{"mode":"ro","code":"voltage_coe","name":"电压校准系数","property":{"unit":"","min":0,"max":1000000,"scale":0,"step":1,"type":"value"},"iconname":"icon-gaodiyin","id":22,"type":"obj","desc":""},{"mode":"ro","code":"electric_coe","name":"电流校准系数","property":{"unit":"","min":0,"max":1000000,"scale":0,"step":1,"type":"value"},"iconname":"icon-gaodiyin","id":23,"type":"obj","desc":""},{"mode":"ro","code":"power_coe","name":"功率校准系数","property":{"unit":"","min":0,"max":1000000,"scale":0,"step":1,"type":"value"},"iconname":"icon-gaodiyin","id":24,"type":"obj","desc":""},{"mode":"ro","code":"electricity_coe","name":"电量校准系数","property":{"unit":"","min":0,"max":1000000,"scale":0,"step":1,"type":"value"},"iconname":"icon-gaodiyin","id":25,"type":"obj","desc":""},{"mode":"ro","code":"fault","scope":"fault","name":"故障告警","property":{"label":["ov_cr"],"type":"bitmap","maxlen":1},"id":26,"type":"obj","desc":"ov_cr:过流保护"}]","schemaExt":"[{"id":1,"inputType":"plain"},{"id":2,"inputType":"plain"},{"id":9,"inputType":"plain"},{"id":10,"inputType":"plain"},{"id":17,"inputType":" "},{"id":18,"inputType":""},{"id":19,"inputType":""},{"id":20,"inputType":""},{"id":21,"inputType":""},{"id":22,"inputType":""},{"id":23,"inputType":""},{"id":24,"inputType":""},{"id":25,"inputType":""}]"}
2019-03-15 11:59:05.381 - �[32minfo�[39m: tuya.0 006672663c71bf23b2b2: Can not start because IP unknown
2019-03-15 11:59:05.427 - �[32minfo�[39m: tuya.0 23741057bcddc2819f58: Can not start because IP unknown
2019-03-15 11:59:05.459 - �[32minfo�[39m: tuya.0 22551008840d8e8c6884: Can not start because IP unknown
2019-03-15 11:59:05.459 - �[32minfo�[39m: tuya.0 05200020ecfabc9356e1: Can not start because IP unknown
2019-03-15 11:59:05.459 - �[32minfo�[39m: tuya.0 06114800dc4f2253f0d1: Can not start because IP unknown
2019-03-15 11:59:05.459 - �[32minfo�[39m: tuya.0 06114800840d8e8af07f: Can not start because IP unknown
2019-03-15 11:59:07.177 - �[32minfo�[39m: tuya.0 006672663c71bf23b2b2: Can not start because IP unknown
2019-03-15 11:59:07.177 - �[32minfo�[39m: tuya.0 23741057bcddc2819f58: Can not start because IP unknown
2019-03-15 11:59:07.224 - �[32minfo�[39m: tuya.0 22551008840d8e8c6884: Can not start because IP unknown
2019-03-15 11:59:07.224 - �[32minfo�[39m: tuya.0 05200020ecfabc9356e1: Can not start because IP unknown
2019-03-15 11:59:07.224 - �[32minfo�[39m: tuya.0 06114800840d8e8af07f: Can not start because IP unknown
2019-03-15 11:59:07.224 - �[32minfo�[39m: tuya.0 06114800dc4f2253f0d1: Can not start because IP unknown
2019-03-15 11:59:07.224 - �[32minfo�[39m: tuya.0 006672663c71bf23b2b2: Can not start because IP unknown
2019-03-15 11:59:07.239 - �[32minfo�[39m: tuya.0 23741057bcddc2819f58: Can not start because IP unknown
2019-03-15 11:59:07.286 - �[32minfo�[39m: tuya.0 22551008840d8e8c6884: Can not start because IP unknown
2019-03-15 11:59:07.286 - �[32minfo�[39m: tuya.0 05200020ecfabc9356e1: Can not start because IP unknown
2019-03-15 11:59:07.286 - �[32minfo�[39m: tuya.0 06114800840d8e8af07f: Can not start because IP unknown
2019-03-15 11:59:07.286 - �[32minfo�[39m: tuya.0 06114800dc4f2253f0d1: Can not start because IP unknown
The text was updated successfully, but these errors were encountered: