You gave me new hope. I changed to the right port. But alas, still no luck.
Here's the log. This pattern repeats every 10 seconds.
Code: Select all
2021-11-02 23:03:07.099 Homebridge Tuya Plug: (Homebridge Tuya Plug) Refreshing Accessories Status
2021-11-02 23:03:07.099 Homebridge Tuya Plug: (Homebridge Tuya Plug) Connection is alive. Sending /accessories command
2021-11-02 23:03:07.804 Homebridge Tuya Plug: (Homebridge Tuya Plug) Data received
2021-11-02 23:03:07.805 Homebridge Tuya Plug: (Homebridge Tuya Plug) {"accessories":[{"aid":1,"services":[{"type":"3E","iid":1,"characteristics":[{"type":"14","iid":2,"perms":["pw"],"description":"Identify","format":"bool"},{"type":"20","iid":3,"value":"homebridge.io","perms":["pr"],"description":"Manufacturer","format":"string","maxLen":64},{"type":"21","iid":4,"value":"homebridge","perms":["pr"],"description":"Model","format":"string","maxLen":64},{"type":"23","iid":5,"value":"Homebridge EED6 DC99","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"30","iid":6,"value":"0E:D7:D2:EA:EE:D6","perms":["pr"],"description":"Serial Number","format":"string","maxLen":64},{"type":"52","iid":7,"value":"1.3.5","perms":["pr"],"description":"Firmware Revision","format":"string"}]},{"type":"A2","iid":2000000008,"characteristics":[{"type":"37","iid":9,"value":"1.1.0","perms":["pr"],"description":"Version","format":"string","maxLen":64}]}]},{"aid":2,"services":[{"type":"3E","iid":1,"characteristics":[{"type":"14","iid":2,"perms":["pw"],"description":"Identify","format":"bool"},{"type":"20","iid":3,"value":"eDomoticz","perms":["pr"],"description":"Manufacturer","format":"string","maxLen":64},{"type":"21","iid":4,"value":"Lighting 2","perms":["pr"],"description":"Model","format":"string","maxLen":64},{"type":"23","iid":5,"value":"APPLE media","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"30","iid":6,"value":"Domoticz IDX 88","perms":["pr"],"description":"Serial Number","format":"string","maxLen":64},{"type":"52","iid":7,"value":"2.1.38","perms":["pr"],"description":"Firmware Revision","format":"string"}]},{"type":"49","iid":8,"characteristics":[{"type":"23","iid":9,"value":"APPLE media","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"25","iid":10,"value":0,"perms":["ev","pr","pw"],"description":"On","format":"bool"}]}]},{"aid":3,"services":[{"type":"3E","iid":1,"characteristics":[{"type":"14","iid":2,"perms":["pw"],"description":"Identify","format":"bool"},{"type":"20","iid":3,"value":"eDomoticz","perms":["pr"],"description":"Manufacturer","format":"string","maxLen":64},{"type":"21","iid":4,"value":"Light/Switch","perms":["pr"],"description":"Model","format":"string","maxLen":64},{"type":"23","iid":5,"value":"AchterMaan","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"30","iid":6,"value":"Domoticz IDX 146","perms":["pr"],"description":"Serial Number","format":"string","maxLen":64},{"type":"52","iid":7,"value":"2.1.38","perms":["pr"],"description":"Firmware Revision","format":"string"}]},{"type":"43","iid":8,"characteristics":[{"type":"23","iid":9,"value":"AchterMaan","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"25","iid":10,"value":1,"perms":["ev","pr","pw"],"description":"On","format":"bool"}]}]},{"aid":4,"services":[{"type":"3E","iid":1,"characteristics":[{"type":"14","iid":2,"perms":["pw"],"description":"Identify","format":"bool"},{"type":"20","iid":3,"value":"eDomoticz","perms":["pr"],"description":"Manufacturer","format":"string","maxLen":64},{"type":"21","iid":4,"value":"Color Switch","perms":["pr"],"description":"Model","format":"string","maxLen":64},{"type":"23","iid":5,"value":"Bureau","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"30","iid":6,"value":"Domoticz IDX 166","perms":["pr"],"description":"Serial Number","format":"string","maxLen":64},{"type":"52","iid":7,"value":"2.1.38","perms":["pr"],"description":"Firmware Revision","format":"string"}]},{"type":"43","iid":8,"characteristics":[{"type":"23","iid":9,"value":"Bureau","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"25","iid":10,"value":1,"perms":["ev","pr","pw"],"description":"On","format":"bool"},{"type":"8","iid":11,"value":66,"perms":["ev","pr","pw"],"description":"Brightness","format":"int","unit":"percentage","minValue":0,"maxValue":100,"minStep":1},{"type":"13","iid":12,"value":0,"perms":["ev","pr","pw"],"description":"Hue","format":"float","unit":"arcdegrees","minValue":0,"maxValue":360,"minStep":1},{"type":"2F","iid":13,"value":0,"perms":["ev","pr","pw"],"description":"Saturation","format":"float","unit":"percentage","minValue":0,"maxValue":100,"minStep":1}]}]},{"aid":5,"services":[{"type":"3E","iid":1,"characteristics":[{"type":"14","iid":2,"perms":["pw"],"description":"Identify","format":"bool"},{"type":"20","iid":3,"value":"eDomoticz","perms":["pr"],"description":"Manufacturer","format":"string","maxLen":64},{"type":"21","iid":4,"value":"Light/Switch","perms":["pr"],"description":"Model","format":"string","maxLen":64},{"type":"23","iid":5,"value":"DENON - Volume","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"30","iid":6,"value":"Domoticz IDX 23","perms":["pr"],"description":"Serial Number","format":"string","maxLen":64},{"type":"52","iid":7,"value":"2.1.38","perms":["pr"],"description":"Firmware Revision","format":"string"}]},{"type":"43","iid":8,"characteristics":[{"type":"23","iid":9,"value":"DENON - Volume","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"25","iid":10,"value":0,"perms":["ev","pr","pw"],"description":"On","format":"bool"},{"type":"8","iid":11,"value":57,"perms":["ev","pr","pw"],"description":"Brightness","format":"int","unit":"percentage","minValue":0,"maxValue":100,"minStep":1}]}]},{"aid":6,"services":[{"type":"3E","iid":1,"characteristics":[{"type":"14","iid":2,"perms":["pw"],"description":"Identify","format":"bool"},{"type":"20","iid":3,"value":"eDomoticz","perms":["pr"],"description":"Manufacturer","format":"string","maxLen":64},{"type":"21","iid":4,"value":"Lighting 2","perms":["pr"],"description":"Model","format":"string","maxLen":64},{"type":"23","iid":5,"value":"DENON media","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"30","iid":6,"value":"Domoticz IDX 90","perms":["pr"],"description":"Serial Number","format":"string","maxLen":64},{"type":"52","iid":7,"value":"2.1.38","perms":["pr"],"description":"Firmware Revision","format":"string"}]},{"type":"49","iid":8,"characteristics":[{"typ
2021-11-02 23:03:07.810 Homebridge Tuya Plug: (Homebridge Tuya Plug) Device homebridge.io - AID=1 - Type of Service=A2 - Not supported yet
2021-11-02 23:03:07.810 Homebridge Tuya Plug: (Homebridge Tuya Plug) [{'type': '25', 'iid': 9, 'value': 1, 'perms': ['ev', 'pr', 'pw'], 'description': 'On', 'format': 'bool'}]
2021-11-02 23:03:07.810 Homebridge Tuya Plug: (Homebridge Tuya Plug) @milo526/homebridge-tuya-web : NoName - DeviceID=49-37-9 - DomoticzID=-1 - Current Value=1
2021-11-02 23:03:07.811 Homebridge Tuya Plug: (Homebridge Tuya Plug) Create domoticz device :"NoName" with ID=1 and DeviceID=49-37-9 of type Switch
2021-11-02 23:03:07.811 Homebridge Tuya Plug: (Homebridge Tuya Plug) Device created: NoName - DeviceID=49-37-9
2021-11-02 23:03:07.811 Error: (Homebridge Tuya Plug) Device creation failed, Domoticz settings prevent accepting new devices.
2021-11-02 23:03:07.811 Error: Homebridge Tuya Plug: (Homebridge Tuya Plug) 'onMessage' failed 'KeyError'.
2021-11-02 23:03:07.811 Error: Homebridge Tuya Plug: (Homebridge Tuya Plug) ----> Line 203 in '/home/pi/domoticz/plugins/Domoticz-HomekitInsecureClient/plugin.py', function onMessage
2021-11-02 23:03:07.811 Error: Homebridge Tuya Plug: (Homebridge Tuya Plug) ----> Line 124 in '/home/pi/domoticz/plugins/Domoticz-HomekitInsecureClient/plugin.py', function onMessage