stas-demydiuk / domoticz-zigbee2mqtt-plugin

zigbee2mqtt plugin for domoticz
MIT License
136 stars 97 forks source link

Ikea Trådfri 806lm not supported #185

Closed Blukacz closed 4 years ago

Blukacz commented 4 years ago

Device description Ikea Trådfri 806 lm not supported model LED1836G9

every time I try to pair I get this message

2019-11-21 12:16:40.198 Error: (Zigbee2MQTT) 'onMessage' failed 'KeyError'. 2019-11-21 12:16:40.198 Error: (Zigbee2MQTT) ----> Line 193 in '/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py' 2019-11-21 12:16:40.198 Error: (Zigbee2MQTT) ----> Line 106 in '/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py' 2019-11-21 12:16:40.198 Error: (Zigbee2MQTT) ----> Line 167 in '/home/pi/domoticz/plugins/zigbee2mqtt/mqtt.py' 2019-11-21 12:16:40.198 Error: (Zigbee2MQTT) ----> Line 146 in '/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py' 2019-11-21 12:16:40.198 Error: (Zigbee2MQTT) ----> Line 37 in '/home/pi/domoticz/plugins/zigbee2mqtt/device_storage.py'

my xiaomi temperature devices are working fin

would it be possible to update the plugin, because it not in the list

stas-demydiuk commented 4 years ago

@Blukacz This device is already supported by plugin. Could you please provide MQTT message which causes your error?

Blukacz commented 4 years ago

thanks for the quick answer

below is the log from Domoticz

this time it could register one of my bulbs

the attated file is from /opt/zigbee2mqtt/data/log/2019-11-22.09-12-26 I hobe it's the log you asking for.

2019-11-22 09:12:17.016 Status: Domoticz V4.10717 (c)2012-2019 GizMoCuz 2019-11-22 09:12:17.027 Status: Build Hash: b38b49e5, Date: 2019-05-09 13:04:08 2019-11-22 09:12:17.028 Status: Startup Path: /home/pi/domoticz/ 2019-11-22 09:12:18.372 Active notification Subsystems: gcm, http (2/13)

2019-11-22 09:12:18.473 Starting shared server on: :::6144 2019-11-22 09:12:18.354 Status: PluginSystem: Started, Python version '3.7.3'. 2019-11-22 09:12:18.425 Status: WebServer(HTTP) started on address: :: with port 8080 2019-11-22 09:12:18.468 Status: WebServer(SSL) started on address: :: with port 443 2019-11-22 09:12:18.474 Status: RxQueue: queue worker started... 2019-11-22 09:12:18.473 Status: TCPServer: shared server started... 2019-11-22 09:12:20.475 Status: EventSystem: reset all events... 2019-11-22 09:12:20.489 Status: EventSystem: reset all device statuses... 2019-11-22 09:12:20.740 Status: Python EventSystem: Initalizing event module. 2019-11-22 09:12:20.741 Status: EventSystem: Started 2019-11-22 09:12:20.741 Status: EventSystem: Queue thread started... 2019-11-22 09:12:20.880 Status: PluginSystem: Entering work loop. 2019-11-22 09:20:25.904 Status: Incoming connection from: 192.168.178.40

2019-11-22 09:21:06.058 Status: (Zigbee2Mqtt) Started. 2019-11-22 09:21:07.371 (Zigbee2Mqtt) Connected to MQTT Server: 127.0.0.1:1883 2019-11-22 09:21:07.474 (Zigbee2Mqtt) Zigbee2mqtt bridge is online 2019-11-22 09:21:07.474 (Zigbee2Mqtt) Joining new devices is enabled on the zigbee bridge 2019-11-22 09:21:07.526 (Zigbee2Mqtt) Received available devices list from bridge 2019-11-22 09:21:07.733 (Zigbee2Mqtt) Joining new devices is enabled on the zigbee bridge 2019-11-22 09:21:07.316 Status: (Zigbee2Mqtt) Entering work loop. 2019-11-22 09:21:07.317 Status: (Zigbee2Mqtt) Initialized version 0.0.19

2019-11-22 09:21:47.330 (Zigbee2Mqtt) Received available devices list from bridge 2019-11-22 09:21:47.330 Error: (Zigbee2Mqtt) 'onMessage' failed 'KeyError'. 2019-11-22 09:21:47.330 Error: (Zigbee2Mqtt) ----> Line 193 in '/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py' 2019-11-22 09:21:47.330 Error: (Zigbee2Mqtt) ----> Line 106 in '/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py' 2019-11-22 09:21:47.330 Error: (Zigbee2Mqtt) ----> Line 167 in '/home/pi/domoticz/plugins/zigbee2mqtt/mqtt.py' 2019-11-22 09:21:47.330 Error: (Zigbee2Mqtt) ----> Line 146 in '/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py' 2019-11-22 09:21:47.330 Error: (Zigbee2Mqtt) ----> Line 37 in '/home/pi/domoticz/plugins/zigbee2mqtt/device_storage.py' 2019-11-22 09:28:44.837 (Zigbee2Mqtt) Received available devices list from bridge 2019-11-22 09:28:44.837 (Zigbee2Mqtt) Device WSDCGQ11LM 0x00158d000423d22d (0x00158d000423d22d) 2019-11-22 09:28:44.854 Error: (Zigbee2Mqtt) 'onMessage' failed 'KeyError'. 2019-11-22 09:28:44.854 Error: (Zigbee2Mqtt) ----> Line 193 in '/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py' 2019-11-22 09:28:44.854 Error: (Zigbee2Mqtt) ----> Line 106 in '/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py' 2019-11-22 09:28:44.854 Error: (Zigbee2Mqtt) ----> Line 167 in '/home/pi/domoticz/plugins/zigbee2mqtt/mqtt.py' 2019-11-22 09:28:44.854 Error: (Zigbee2Mqtt) ----> Line 146 in '/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py' 2019-11-22 09:28:44.854 Error: (Zigbee2Mqtt) ----> Line 37 in '/home/pi/domoticz/plugins/zigbee2mqtt/device_storage.py' 2019-11-22 09:29:40.435 (Zigbee2Mqtt) Received available devices list from bridge 2019-11-22 09:29:40.435 (Zigbee2Mqtt) Device WSDCGQ11LM 0x00158d000423d22d (0x00158d000423d22d) 2019-11-22 09:29:40.436 (Zigbee2Mqtt) Device LED1836G9 0x000d6ffffe14a326 (0x000d6ffffe14a326) 2019-11-22 09:29:40.438 Error: (Zigbee2Mqtt) 'onMessage' failed 'KeyError'. 2019-11-22 09:29:40.438 Error: (Zigbee2Mqtt) ----> Line 193 in '/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py' 2019-11-22 09:29:40.438 Error: (Zigbee2Mqtt) ----> Line 106 in '/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py' 2019-11-22 09:29:40.438 Error: (Zigbee2Mqtt) ----> Line 167 in '/home/pi/domoticz/plugins/zigbee2mqtt/mqtt.py' 2019-11-22 09:29:40.438 Error: (Zigbee2Mqtt) ----> Line 146 in '/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py' 2019-11-22 09:29:40.438 Error: (Zigbee2Mqtt) ----> Line 37 in '/home/pi/domoticz/plugins/zigbee2mqtt/device_storage.py'

Stanislav Demydiuk skrev den 21.11.2019 20:38:

@Blukacz [1] This device is already supported by plugin. Could you please provide MQTT message which causes your error?

-- You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub [2], or unsubscribe [3].

Links:

[1] https://github.com/Blukacz [2] https://github.com/stas-demydiuk/domoticz-zigbee2mqtt-plugin/issues/185?email_source=notifications&email_token=AN2YBCX76P6EGFZ5MDLKQL3QU3PTJA5CNFSM4JQA2DH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEE3M57Y#issuecomment-557240063 [3] https://github.com/notifications/unsubscribe-auth/AN2YBCSE2AILSE6R3KQLZBDQU3PTJANCNFSM4JQA2DHQ info 2019-11-22T08:12:28: Logging to directory: '/opt/zigbee2mqtt/data/log/2019-11-22.09-12-26' info 2019-11-22T08:12:29: Starting zigbee2mqtt version 1.7.1 (commit #b459c35) info 2019-11-22T08:12:29: Starting zigbee-herdsman... info 2019-11-22T08:12:32: zigbee-herdsman started info 2019-11-22T08:12:32: Coordinator firmware version: '{"type":"zStack12","meta":{"transportrev":2,"product":0,"majorrel":2,"minorrel":6,"maintrel":3,"revision":20180815}}' info 2019-11-22T08:12:32: Currently 0 devices are joined: warn 2019-11-22T08:12:32: permit_join set to true in configuration.yaml. warn 2019-11-22T08:12:32: Allowing new devices to join. warn 2019-11-22T08:12:32: Set permit_join to false once you joined all devices. info 2019-11-22T08:12:32: Zigbee: allowing new devices to join. info 2019-11-22T08:12:32: Connecting to MQTT server at mqtt://localhost info 2019-11-22T08:12:33: Connected to MQTT server info 2019-11-22T08:12:33: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'online' info 2019-11-22T08:12:33: MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"version":"1.7.1","commit":"b459c35","coordinator":{"type":"zStack12","meta":{"transportrev":2,"product":0,"majorrel":2,"minorrel":6,"maintrel":3,"revision":20180815}},"log_level":"info","permit_join":true}' info 2019-11-22T08:21:07: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"devices","message":[{"ieeeAddr":"0x00124b00194a186c","type":"Coordinator","networkAddress":0,"friendly_name":"Coordinator","softwareBuildID":"zStack12","dateCode":"20180815","lastSeen":1574410867491}]}' info 2019-11-22T08:21:07: Zigbee: allowing new devices to join. info 2019-11-22T08:21:07: MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"version":"1.7.1","commit":"b459c35","coordinator":{"type":"zStack12","meta":{"transportrev":2,"product":0,"majorrel":2,"minorrel":6,"maintrel":3,"revision":20180815}},"log_level":"info","permit_join":true}' info 2019-11-22T08:21:47: Device '0x00158d000423d22d' joined info 2019-11-22T08:21:47: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"device_connected","message":{"friendly_name":"0x00158d000423d22d"}}' info 2019-11-22T08:21:47: Starting interview of '0x00158d000423d22d' info 2019-11-22T08:21:47: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"interview_started","meta":{"friendly_name":"0x00158d000423d22d"}}' info 2019-11-22T08:21:47: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"devices","message":[{"ieeeAddr":"0x00124b00194a186c","type":"Coordinator","networkAddress":0,"friendly_name":"Coordinator","softwareBuildID":"zStack12","dateCode":"20180815","lastSeen":1574410907283},{"ieeeAddr":"0x00158d000423d22d","networkAddress":63876,"friendly_name":"0x00158d000423d22d","lastSeen":1574410907225}]}' info 2019-11-22T08:21:48: MQTT publish: topic 'zigbee2mqtt/0x00158d000423d22d', payload '{"battery":97,"voltage":2995,"temperature":23.34,"humidity":69.48,"pressure":1004.8,"linkquality":70}' info 2019-11-22T08:21:52: MQTT publish: topic 'zigbee2mqtt/0x00158d000423d22d', payload '{"battery":97,"voltage":2995,"temperature":23.42,"humidity":69.48,"pressure":1004.8,"linkquality":84}' info 2019-11-22T08:21:52: MQTT publish: topic 'zigbee2mqtt/0x00158d000423d22d', payload '{"battery":97,"voltage":2995,"temperature":23.42,"humidity":62.84,"pressure":1004.8,"linkquality":84}' info 2019-11-22T08:21:52: MQTT publish: topic 'zigbee2mqtt/0x00158d000423d22d', payload '{"battery":97,"voltage":2995,"temperature":23.42,"humidity":62.84,"pressure":1004,"linkquality":84}' info 2019-11-22T08:21:56: MQTT publish: topic 'zigbee2mqtt/0x00158d000423d22d', payload '{"battery":97,"voltage":2995,"temperature":23.44,"humidity":62.84,"pressure":1004,"linkquality":81}' info 2019-11-22T08:21:56: MQTT publish: topic 'zigbee2mqtt/0x00158d000423d22d', payload '{"battery":97,"voltage":2995,"temperature":23.44,"humidity":59.95,"pressure":1004,"linkquality":84}' info 2019-11-22T08:21:56: MQTT publish: topic 'zigbee2mqtt/0x00158d000423d22d', payload '{"battery":97,"voltage":2995,"temperature":23.44,"humidity":59.95,"pressure":1004,"linkquality":84}' info 2019-11-22T08:21:59: MQTT publish: topic 'zigbee2mqtt/0x00158d000423d22d', payload '{"battery":97,"voltage":2995,"temperature":23.37,"humidity":59.95,"pressure":1004,"linkquality":78}' info 2019-11-22T08:21:59: MQTT publish: topic 'zigbee2mqtt/0x00158d000423d22d', payload '{"battery":97,"voltage":2995,"temperature":23.37,"humidity":58.19,"pressure":1004,"linkquality":81}' info 2019-11-22T08:21:59: MQTT publish: topic 'zigbee2mqtt/0x00158d000423d22d', payload '{"battery":97,"voltage":2995,"temperature":23.37,"humidity":58.19,"pressure":1004,"linkquality":81}' info 2019-11-22T08:22:05: Successfully interviewed '0x00158d000423d22d', device has successfully been paired info 2019-11-22T08:22:05: Device '0x00158d000423d22d' is supported, identified as: Xiaomi Aqara temperature, humidity and pressure sensor (WSDCGQ11LM) info 2019-11-22T08:22:06: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"interview_successful","meta":{"friendly_name":"0x00158d000423d22d","model":"WSDCGQ11LM","vendor":"Xiaomi","description":"Aqara temperature, humidity and pressure sensor","supported":true}}' info 2019-11-22T08:22:33: MQTT publish: topic 'zigbee2mqtt/0x00158d000423d22d', payload '{"battery":97,"voltage":2995,"temperature":23.54,"humidity":58.19,"pressure":1004,"linkquality":162}' info 2019-11-22T08:22:33: MQTT publish: topic 'zigbee2mqtt/0x00158d000423d22d', payload '{"battery":97,"voltage":2995,"temperature":23.54,"humidity":65.79,"pressure":1004,"linkquality":162}' info 2019-11-22T08:22:33: MQTT publish: topic 'zigbee2mqtt/0x00158d000423d22d', payload '{"battery":97,"voltage":2995,"temperature":23.54,"humidity":65.79,"pressure":1004,"linkquality":162}' info 2019-11-22T08:22:47: MQTT publish: topic 'zigbee2mqtt/0x00158d000423d22d', payload '{"battery":97,"voltage":2995,"temperature":23.97,"humidity":65.79,"pressure":1004,"linkquality":136}' info 2019-11-22T08:22:47: MQTT publish: topic 'zigbee2mqtt/0x00158d000423d22d', payload '{"battery":97,"voltage":2995,"temperature":23.97,"humidity":64.4,"pressure":1004,"linkquality":136}' info 2019-11-22T08:22:47: MQTT publish: topic 'zigbee2mqtt/0x00158d000423d22d', payload '{"battery":97,"voltage":2995,"temperature":23.97,"humidity":64.4,"pressure":1005,"linkquality":136}' info 2019-11-22T08:22:54: MQTT publish: topic 'zigbee2mqtt/0x00158d000423d22d', payload '{"battery":97,"voltage":2995,"temperature":24.24,"humidity":64.4,"pressure":1005,"linkquality":139}' info 2019-11-22T08:22:54: MQTT publish: topic 'zigbee2mqtt/0x00158d000423d22d', payload '{"battery":97,"voltage":2995,"temperature":24.24,"humidity":71.55,"pressure":1005,"linkquality":139}' info 2019-11-22T08:22:54: MQTT publish: topic 'zigbee2mqtt/0x00158d000423d22d', payload '{"battery":97,"voltage":2995,"temperature":24.24,"humidity":71.55,"pressure":1004,"linkquality":141}' info 2019-11-22T08:22:57: MQTT publish: topic 'zigbee2mqtt/0x00158d000423d22d', payload '{"battery":97,"voltage":2995,"temperature":24.44,"humidity":71.55,"pressure":1004,"linkquality":157}' info 2019-11-22T08:22:57: MQTT publish: topic 'zigbee2mqtt/0x00158d000423d22d', payload '{"battery":97,"voltage":2995,"temperature":24.44,"humidity":77.78,"pressure":1004,"linkquality":157}' info 2019-11-22T08:22:57: MQTT publish: topic 'zigbee2mqtt/0x00158d000423d22d', payload '{"battery":97,"voltage":2995,"temperature":24.44,"humidity":77.78,"pressure":1005,"linkquality":157}' info 2019-11-22T08:23:00: MQTT publish: topic 'zigbee2mqtt/0x00158d000423d22d', payload '{"battery":97,"voltage":2995,"temperature":24.65,"humidity":77.78,"pressure":1005,"linkquality":134}' info 2019-11-22T08:23:00: MQTT publish: topic 'zigbee2mqtt/0x00158d000423d22d', payload '{"battery":97,"voltage":2995,"temperature":24.65,"humidity":71.64,"pressure":1005,"linkquality":134}' info 2019-11-22T08:23:00: MQTT publish: topic 'zigbee2mqtt/0x00158d000423d22d', payload '{"battery":97,"voltage":2995,"temperature":24.65,"humidity":71.64,"pressure":1005,"linkquality":131}' info 2019-11-22T08:23:04: MQTT publish: topic 'zigbee2mqtt/0x00158d000423d22d', payload '{"battery":97,"voltage":2995,"temperature":24.78,"humidity":71.64,"pressure":1005,"linkquality":134}' info 2019-11-22T08:23:04: MQTT publish: topic 'zigbee2mqtt/0x00158d000423d22d', payload '{"battery":97,"voltage":2995,"temperature":24.78,"humidity":68.85,"pressure":1005,"linkquality":136}' info 2019-11-22T08:23:04: MQTT publish: topic 'zigbee2mqtt/0x00158d000423d22d', payload '{"battery":97,"voltage":2995,"temperature":24.78,"humidity":68.85,"pressure":1005,"linkquality":134}' info 2019-11-22T08:28:44: Device '0x000d6ffffe14a326' joined info 2019-11-22T08:28:44: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"device_connected","message":{"friendly_name":"0x000d6ffffe14a326"}}' info 2019-11-22T08:28:44: Starting interview of '0x000d6ffffe14a326' info 2019-11-22T08:28:44: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"interview_started","meta":{"friendly_name":"0x000d6ffffe14a326"}}' info 2019-11-22T08:28:44: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"devices","message":[{"ieeeAddr":"0x00124b00194a186c","type":"Coordinator","networkAddress":0,"friendly_name":"Coordinator","softwareBuildID":"zStack12","dateCode":"20180815","lastSeen":1574411324789},{"ieeeAddr":"0x00158d000423d22d","type":"EndDevice","networkAddress":63876,"model":"WSDCGQ11LM","friendly_name":"0x00158d000423d22d","manufacturerID":4151,"manufacturerName":"LUMI","powerSource":"Battery","modelID":"lumi.weather","hardwareVersion":30,"softwareBuildID":"3000-0001","dateCode":"20161129","lastSeen":1574410984077},{"ieeeAddr":"0x000d6ffffe14a326","networkAddress":38732,"friendly_name":"0x000d6ffffe14a326","lastSeen":1574411324750}]}' info 2019-11-22T08:28:55: Successfully interviewed '0x000d6ffffe14a326', device has successfully been paired info 2019-11-22T08:28:55: Device '0x000d6ffffe14a326' is supported, identified as: IKEA TRADFRI LED bulb E27 806 lumen, dimmable, warm white (LED1836G9) info 2019-11-22T08:28:55: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"interview_successful","meta":{"friendly_name":"0x000d6ffffe14a326","model":"LED1836G9","vendor":"IKEA","description":"TRADFRI LED bulb E27 806 lumen, dimmable, warm white","supported":true}}' info 2019-11-22T08:29:40: Device '0x14b457fffe3d9f29' joined info 2019-11-22T08:29:40: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"device_connected","message":{"friendly_name":"0x14b457fffe3d9f29"}}' info 2019-11-22T08:29:40: Starting interview of '0x14b457fffe3d9f29' info 2019-11-22T08:29:40: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"interview_started","meta":{"friendly_name":"0x14b457fffe3d9f29"}}' info 2019-11-22T08:29:40: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"devices","message":[{"ieeeAddr":"0x00124b00194a186c","type":"Coordinator","networkAddress":0,"friendly_name":"Coordinator","softwareBuildID":"zStack12","dateCode":"20180815","lastSeen":1574411380386},{"ieeeAddr":"0x00158d000423d22d","type":"EndDevice","networkAddress":63876,"model":"WSDCGQ11LM","friendly_name":"0x00158d000423d22d","manufacturerID":4151,"manufacturerName":"LUMI","powerSource":"Battery","modelID":"lumi.weather","hardwareVersion":30,"softwareBuildID":"3000-0001","dateCode":"20161129","lastSeen":1574410984077},{"ieeeAddr":"0x000d6ffffe14a326","type":"Router","networkAddress":38732,"model":"LED1836G9","friendly_name":"0x000d6ffffe14a326","manufacturerID":4476,"manufacturerName":"IKEA of Sweden","powerSource":"Mains (single phase)","modelID":"TRADFRI bulb E27 WW 806lm","hardwareVersion":2,"softwareBuildID":"2.1.022","dateCode":"20181203","lastSeen":1574411335417},{"ieeeAddr":"0x14b457fffe3d9f29","networkAddress":57125,"friendly_name":"0x14b457fffe3d9f29","lastSeen":1574411380355}]}' info 2019-11-22T08:29:51: Successfully interviewed '0x14b457fffe3d9f29', device has successfully been paired info 2019-11-22T08:29:51: Device '0x14b457fffe3d9f29' is supported, identified as: IKEA TRADFRI LED bulb E27 806 lumen, dimmable, warm white (LED1836G9) info 2019-11-22T08:29:51: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"interview_successful","meta":{"friendly_name":"0x14b457fffe3d9f29","model":"LED1836G9","vendor":"IKEA","description":"TRADFRI LED bulb E27 806 lumen, dimmable, warm white","supported":true}}'

stas-demydiuk commented 4 years ago

Most likely the issue is because of 0x14b457fffe3d9f29 device in your network:

{ 
      "ieeeAddr":"0x14b457fffe3d9f29",
      "networkAddress":57125,
      "friendly_name":"0x14b457fffe3d9f29",
      "lastSeen":1574411380355
}

It doesn't have full information as any other device

Blukacz commented 4 years ago

Hi again

but in the log I send you it says

{"ieeeAddr":"0x14b457fffe3d9f29","networkAddress":57125,"friendly_name":"0x14b457fffe3d9f29","lastSeen":1574411380355}]}' info 2019-11-22T08:29:51: Successfully interviewed '0x14b457fffe3d9f29', device has successfully been paired info 2019-11-22T08:29:51: Device '0x14b457fffe3d9f29' is supported, identified as: IKEA TRADFRI LED bulb E27 806 lumen, dimmable, warm white (LED1836G9) info 2019-11-22T08:29:51: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"interview_successful","meta":{"friendly_name":"0x14b457fffe3d9f29","model":"LED1836G9","vendor":"IKEA","description":"TRADFRI LED bulb E27 806 lumen, dimmable, warm white","supported":true}}'

and another question, when I change status in Domoticz from "Zigbee pairing: Disable to Enable" I get this message

Error: (Zigbee2Mqtt) Disconnected from MQTT Server: 127.0.0.1:1883

is that normal ?

and when I am trying to find a solution for this problem:

Error: (Zigbee2Mqtt) 'onMessage' failed 'KeyError'. 2019-11-24 11:34:38.192 Error: (Zigbee2Mqtt) ----> Line 193 in '/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py' 2019-11-24 11:34:38.192 Error: (Zigbee2Mqtt) ----> Line 106 in '/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py' 2019-11-24 11:34:38.192 Error: (Zigbee2Mqtt) ----> Line 167 in '/home/pi/domoticz/plugins/zigbee2mqtt/mqtt.py' 2019-11-24 11:34:38.192 Error: (Zigbee2Mqtt) ----> Line 146 in '/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py' 2019-11-24 11:34:38.192 Error: (Zigbee2Mqtt) ----> Line 37 in '/home/pi/domoticz/plugins/zigbee2mqtt/device_storage.py'

some are talking about heartbeat on the Domoticz causing this problem. and how can I change it.

I am quite new to this, but is there special sequence the 3 services have to be started. And how do I check it.

Regards

Anders Povlsen

Stanislav Demydiuk skrev den 22.11.2019 10:43:

Most likely the issue is because of 0x14b457fffe3d9f29 device in your network:

{ "ieeeAddr":"0x14b457fffe3d9f29", "networkAddress":57125, "friendly_name":"0x14b457fffe3d9f29", "lastSeen":1574411380355 }

It doesn't have full information as any other device

-- You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub [1], or unsubscribe [2].

Links:

[1] https://github.com/stas-demydiuk/domoticz-zigbee2mqtt-plugin/issues/185?email_source=notifications&email_token=AN2YBCUCJ4PWORQXXDMYDATQU6SUBA5CNFSM4JQA2DH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEE5DVEA#issuecomment-557464208 [2] https://github.com/notifications/unsubscribe-auth/AN2YBCSJBSMOZQWFR3KC7MDQU6SUBANCNFSM4JQA2DHQ

stas-demydiuk commented 4 years ago

and another question, when I change status in Domoticz from "Zigbee pairing: Disable to Enable" I get this message Error: (Zigbee2Mqtt) Disconnected from MQTT Server: 127.0.0.1:1883

Yes it is normal as Domoticz restarts plugin each time you make any changes in configuration

and when I am trying to find a solution for this problem:

This issue already should be fixed in latest version of plugin

Blukacz commented 4 years ago

Hi Stanislav

once again thanks for you answers.

now I got lucky to pair all of my IKEA devices. I can control all my bulbs, but not my E1743 remote. I don't get any reaction, when I click on and off. Neither on the dashboard or logs. what could I check ? Is the E1743 a dimmer, selector or on/off ? (see screen dump

Stanislav Demydiuk skrev den 25.11.2019 09:37:

and another question, when I change status in Domoticz from "Zigbee pairing: Disable to Enable" I get this message Error: (Zigbee2Mqtt) Disconnected from MQTT Server: 127.0.0.1:1883

Yes it is normal as Domoticz restarts plugin each time you make any changes in configuration

and when I am trying to find a solution for this problem:

This issue already should be fixed in latest version of plugin

-- You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub [1], or unsubscribe [2].

Links:

[1] https://github.com/stas-demydiuk/domoticz-zigbee2mqtt-plugin/issues/185?email_source=notifications&email_token=AN2YBCQEY642K5HQDUI77YLQVOFDHA5CNFSM4JQA2DH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFBSKMA#issuecomment-558048560 [2] https://github.com/notifications/unsubscribe-auth/AN2YBCS5KXD77JOD74BSRXTQVOFDHANCNFSM4JQA2DHQ

Blukacz commented 4 years ago

I just got this in the log when I tried to pair again on of the E1743

2019-11-25 14:49:00.696 (Zigbee2Mqtt) Device 0x14b457fffe7b9f24 (0x14b457fffe7b9f24) doesn't have "model" attribute, skipped

can also be founded below

2019-11-25 14:49:00.638 (Zigbee2Mqtt) MqttClient::publish zigbee2mqtt/bridge/config/devices () 2019-11-25 14:49:00.639 (Zigbee2Mqtt) MQTT message: zigbee2mqtt/bridge/log {'type': 'pairing', 'message': 'interview_started', 'meta': {'friendly_name': '0x14b457fffe7b9f24'}} 2019-11-25 14:49:00.690 (Zigbee2Mqtt) MQTT message: zigbee2mqtt/bridge/config/devices 2019-11-25 14:49:00.691 (Zigbee2Mqtt) MQTT message: zigbee2mqtt/bridge/log {'type': 'devices', 'message': [{'ieeeAddr': '0x00124b00194a186c', 'type': 'Coordinator', 'networkAddress': 0, 'friendly_name': 'Coordinator', 'softwareBuildID': 'zStack12', 'dateCode': '20180815', 'lastSeen': 1574689740641}, {'ieeeAddr': '0x00158d000423d22d', 'type': 'EndDevice', 'networkAddress': 39145, 'model': 'WSDCGQ11LM', 'friendly_name': '0x00158d000423d22d', 'manufacturerID': 4151, 'manufacturerName': 'LUMI', 'powerSource': 'Battery', 'modelID': 'lumi.weather', 'hardwareVersion': 30, 'softwareBuildID': '3000-0001', 'dateCode': '20161129', 'lastSeen': 1574688569784}, {'ieeeAddr': '0x14b457fffe3d9f29', 'type': 'Router', 'networkAddress': 60176, 'model': 'LED1836G9', 'friendly_name': '0x14b457fffe3d9f29', 'manufacturerID': 4476, 'manufacturerName': 'IKEA of Sweden', 'powerSource': 'Mains (single phase)', 'modelID': 'TRADFRI bulb E27 WW 806lm', 'hardwareVersion': 2, 'softwareBuildID': '2.1.022', 'dateCode': '20181203', 'lastSeen': 1574688588708}, {'ieeeAddr': '0x00158d000423d4db', 'type': 'EndDevice', 'networkAddress': 46492, 'model': 'WSDCGQ11LM', 'friendly_name': '0x00158d000423d4db', 'manufacturerID': 4151, 'manufacturerName': 'LUMI', 'powerSource': 'Battery', 'modelID': 'lumi.weather', 'hardwareVersion': 30, 'softwareBuildID': '3000-0001', 'dateCode': '20161129', 'lastSeen': 1574687754943}, {'ieeeAddr': '0x00158d00042704c2', 'type': 'EndDevice', 'networkAddress': 62311, 'model': 'WSDCGQ11LM', 'friendly_name': '0x00158d00042704c2', 'manufacturerID': 4151, 'manufacturerName': 'LUMI', 'powerSource': 'Battery', 'modelID': 'lumi.weather', 'hardwareVersion': 30, 'softwareBuildID': '3000-0001', 'dateCode': '20161129', 'lastSeen': 1574688145092}, {'ieeeAddr': '0x00158d000423d2f8', 'type': 'EndDevice', 'networkAddress': 36699, 'model': 'WSDCGQ11LM', 'friendly_name': '0x00158d000423d2f8', 'manufacturerID': 4151, 'manufacturerName': 'LUMI', 'powerSource': 'Battery', 'modelID': 'lumi.weather', 'lastSeen': 1574687726750}, {'ieeeAddr': '0x14b457fffe505617', 'type': 'EndDevice', 'networkAddress': 4841, 'model': 'E1743', 'friendly_name': '0x14b457fffe505617', 'manufacturerID': 4476, 'manufacturerName': 'IKEA of Sweden', 'powerSource': 'Battery', 'modelID': 'TRADFRI on/off switch', 'hardwareVersion': 1, 'softwareBuildID': '2.2.008', 'dateCode': '20190410', 'lastSeen': None}, {'ieeeAddr': '0x000d6ffffe14a326', 'type': 'Router', 'networkAddress': 6249, 'model': 'LED1836G9', 'friendly_name': '0x000d6ffffe14a326', 'manufacturerID': 4476, 'manufacturerName': 'IKEA of Sweden', 'powerSource': 'Mains (single phase)', 'modelID': 'TRADFRI bulb E27 WW 806lm', 'hardwareVersion': 2, 'softwareBuildID': '2.1.022', 'dateCode': '20181203', 'lastSeen': 1574688589695}, {'ieeeAddr': '0x14b457fffe668918', 'type': 'Router', 'networkAddress': 34936, 'model': 'LED1836G9', 'friendly_name': '0x14b457fffe668918', 'manufacturerID': 4476, 'manufacturerName': 'IKEA of Sweden', 'powerSource': 'Mains (single phase)', 'modelID': 'TRADFRI bulb E27 WW 806lm', 'hardwareVersion': 2, 'softwareBuildID': '2.1.022', 'dateCode': '20181203', 'lastSeen': 1574686474098}, {'ieeeAddr': '0x14b457fffe65fcce', 'type': 'Router', 'networkAddress': 6640, 'model': 'LED1836G9', 'friendly_name': '0x14b457fffe65fcce', 'manufacturerID': 4476, 'manufacturerName': 'IKEA of Sweden', 'powerSource': 'Mains (single phase)', 'modelID': 'TRADFRI bulb E27 WW 806lm', 'hardwareVersion': 2, 'softwareBuildID': '2.1.022', 'dateCode': '20181203', 'lastSeen': 1574686481037}, {'ieeeAddr': '0x14b457fffe6e880f', 'type': 'EndDevice', 'networkAddress': 49955, 'model': 'E1743', 'friendly_name': '0x14b457fffe6e880f', 'manufacturerID': 4476, 'manufacturerName': 'IKEA of Sweden', 'powerSource': 'Battery', 'modelID': 'TRADFRI on/off switch', 'hardwareVersion': 1, 'softwareBuildID': '2.2.008', 'dateCode': '20190410', 'lastSeen': None}, {'ieeeAddr': '0x14b457fffe7b9f24', 'networkAddress': 20317, 'friendly_name': '0x14b457fffe7b9f24', 'lastSeen': 1574689740583}]} 2019-11-25 14:49:00.692 (Zigbee2Mqtt) Received available devices list from bridge 2019-11-25 14:49:00.692 (Zigbee2Mqtt) Coordinator address is 0x00124b00194a186c 2019-11-25 14:49:00.692 (Zigbee2Mqtt) Device WSDCGQ11LM 0x00158d000423d22d (0x00158d000423d22d) 2019-11-25 14:49:00.693 (Zigbee2Mqtt) Device LED1836G9 0x14b457fffe3d9f29 (0x14b457fffe3d9f29) 2019-11-25 14:49:00.693 (Zigbee2Mqtt) Device WSDCGQ11LM 0x00158d000423d4db (0x00158d000423d4db) 2019-11-25 14:49:00.693 (Zigbee2Mqtt) Device WSDCGQ11LM 0x00158d00042704c2 (0x00158d00042704c2) 2019-11-25 14:49:00.694 (Zigbee2Mqtt) Device WSDCGQ11LM 0x00158d000423d2f8 (0x00158d000423d2f8) 2019-11-25 14:49:00.695 (Zigbee2Mqtt) Device E1743 0x14b457fffe505617 (0x14b457fffe505617) 2019-11-25 14:49:00.695 (Zigbee2Mqtt) Device LED1836G9 0x000d6ffffe14a326 (0x000d6ffffe14a326) 2019-11-25 14:49:00.695 (Zigbee2Mqtt) Device LED1836G9 0x14b457fffe668918 (0x14b457fffe668918) 2019-11-25 14:49:00.696 (Zigbee2Mqtt) Device LED1836G9 0x14b457fffe65fcce (0x14b457fffe65fcce) 2019-11-25 14:49:00.696 (Zigbee2Mqtt) Device E1743 0x14b457fffe6e880f (0x14b457fffe6e880f) 2019-11-25 14:49:00.696 (Zigbee2Mqtt) Device 0x14b457fffe7b9f24 (0x14b457fffe7b9f24) doesn't have "model" attribute, skipped 2019-11-25 14:49:06.959 (Zigbee2Mqtt) MqttClient::ping 2019-11-25 14:49:16.929 (Zigbee2Mqtt) MqttClient::ping 2019-11-25 14:49:22.590 (Zigbee2Mqtt) MQTT message: zigbee2mqtt/bridge/log {'type': 'pairing', 'message': 'interview_successful', 'meta': {'friendly_name': '0x14b457fffe7b9f24', 'model': 'E1743', 'vendor': 'IKEA', 'description': 'TRADFRI ON/OFF switch', 'supported': True}} 2019-11-25 14:49:26.949 (Zigbee2Mqtt) MqttClient::ping 2019-11-25 14:49:36.967 (Zigbee2Mqtt) MqttClient::ping

Stanislav Demydiuk skrev den 25.11.2019 09:37:

and another question, when I change status in Domoticz from "Zigbee pairing: Disable to Enable" I get this message Error: (Zigbee2Mqtt) Disconnected from MQTT Server: 127.0.0.1:1883

Yes it is normal as Domoticz restarts plugin each time you make any changes in configuration

and when I am trying to find a solution for this problem:

This issue already should be fixed in latest version of plugin

-- You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub [1], or unsubscribe [2].

Links:

[1] https://github.com/stas-demydiuk/domoticz-zigbee2mqtt-plugin/issues/185?email_source=notifications&email_token=AN2YBCQEY642K5HQDUI77YLQVOFDHA5CNFSM4JQA2DH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFBSKMA#issuecomment-558048560 [2] https://github.com/notifications/unsubscribe-auth/AN2YBCS5KXD77JOD74BSRXTQVOFDHANCNFSM4JQA2DHQ

stas-demydiuk commented 4 years ago

Issue is in your zigbee network. If you read documentation for zigbee2mqtt and analyze your network log you'll find out that you have device

{
      'ieeeAddr':'0x14b457fffe7b9f24',
      'networkAddress':20317,
      'friendly_name':'0x14b457fffe7b9f24',
      'lastSeen':1574689740583
}

which doesn't look as valid device for now. For example record for one of valid devices in your network:

{ 
      'ieeeAddr':'0x14b457fffe6e880f',
      'type':'EndDevice',
      'networkAddress':49955,
      'model':'E1743',
      'friendly_name':'0x14b457fffe6e880f',
      'manufacturerID':4476,
      'manufacturerName':'IKEA of Sweden',
      'powerSource':'Battery',
      'modelID':'TRADFRI on/off switch',
      'hardwareVersion':1,
      'softwareBuildID':'2.2.008',
      'dateCode':'20190410',
      'lastSeen':None
}

It might be ok and after some time device will send additional information and zigbee2mqtt will be able to recognize it and as result when you restart Domoticz, plugin will also be able to recognize the device and register it in Domoticz.

Blukacz commented 4 years ago

Sorry, but to me it looks okay.

see attachments or am I missing something?

regards

Anders Povlsen

Stanislav Demydiuk skrev den 25.11.2019 21:00:

Issue is in your zigbee network. If you read documentation for zigbee2mqtt and analyze your network log you'll find out that you have device

{ 'ieeeAddr':'0x14b457fffe7b9f24', 'networkAddress':20317, 'friendly_name':'0x14b457fffe7b9f24', 'lastSeen':1574689740583 }

which doesn't look as valid device for now. For example record for one of valid devices in your network:

{ 'ieeeAddr':'0x14b457fffe6e880f', 'type':'EndDevice', 'networkAddress':49955, 'model':'E1743', 'friendly_name':'0x14b457fffe6e880f', 'manufacturerID':4476, 'manufacturerName':'IKEA of Sweden', 'powerSource':'Battery', 'modelID':'TRADFRI on/off switch', 'hardwareVersion':1, 'softwareBuildID':'2.2.008', 'dateCode':'20190410', 'lastSeen':None }

It might be ok and after some time device will send additional information and zigbee2mqtt will be able to recognize it and as result when you restart Domoticz, plugin will also be able to recognize the device and register it in Domoticz.

-- You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub [1], or unsubscribe [2].

Links:

[1] https://github.com/stas-demydiuk/domoticz-zigbee2mqtt-plugin/issues/185?email_source=notifications&email_token=AN2YBCUVMQM53SCLZO72NL3QVQVEPA5CNFSM4JQA2DH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFDT4FI#issuecomment-558317077 [2] https://github.com/notifications/unsubscribe-auth/AN2YBCVZAFBBVAUZXHH6TX3QVQVEPANCNFSM4JQA2DHQ info 2019-11-26T08:42:32: Logging to directory: '/opt/zigbee2mqtt/data/log/2019-11-26.09-42-30' info 2019-11-26T08:42:32: Starting zigbee2mqtt version 1.7.1 (commit #b459c35) info 2019-11-26T08:42:32: Starting zigbee-herdsman... info 2019-11-26T08:42:35: zigbee-herdsman started info 2019-11-26T08:42:35: Coordinator firmware version: '{"type":"zStack12","meta":{"transportrev":2,"product":0,"majorrel":2,"minorrel":6,"maintrel":3,"revision":20180815}}' info 2019-11-26T08:42:35: Currently 10 devices are joined: info 2019-11-26T08:42:35: 0x00158d000423d22d (0x00158d000423d22d): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice) info 2019-11-26T08:42:35: 0x14b457fffe3d9f29 (0x14b457fffe3d9f29): LED1836G9 - IKEA TRADFRI LED bulb E27 806 lumen, dimmable, warm white (Router) info 2019-11-26T08:42:35: 0x00158d000423d4db (0x00158d000423d4db): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice) info 2019-11-26T08:42:35: 0x00158d00042704c2 (0x00158d00042704c2): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice) info 2019-11-26T08:42:35: 0x00158d000423d2f8 (0x00158d000423d2f8): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice) info 2019-11-26T08:42:35: 0x14b457fffe505617 (0x14b457fffe505617): E1743 - IKEA TRADFRI ON/OFF switch (EndDevice) info 2019-11-26T08:42:35: 0x000d6ffffe14a326 (0x000d6ffffe14a326): LED1836G9 - IKEA TRADFRI LED bulb E27 806 lumen, dimmable, warm white (Router) info 2019-11-26T08:42:35: 0x14b457fffe668918 (0x14b457fffe668918): LED1836G9 - IKEA TRADFRI LED bulb E27 806 lumen, dimmable, warm white (Router) info 2019-11-26T08:42:35: 0x14b457fffe65fcce (0x14b457fffe65fcce): LED1836G9 - IKEA TRADFRI LED bulb E27 806 lumen, dimmable, warm white (Router) info 2019-11-26T08:42:35: 0x14b457fffe7b9f24 (0x14b457fffe7b9f24): E1743 - IKEA TRADFRI ON/OFF switch (EndDevice) warn 2019-11-26T08:42:35: permit_join set to true in configuration.yaml. warn 2019-11-26T08:42:35: Allowing new devices to join. warn 2019-11-26T08:42:35: Set permit_join to false once you joined all devices. info 2019-11-26T08:42:35: Zigbee: allowing new devices to join. info 2019-11-26T08:42:35: Connecting to MQTT server at mqtt://localhost info 2019-11-26T08:42:36: Connected to MQTT server info 2019-11-26T08:42:36: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'online' info 2019-11-26T08:42:36: MQTT publish: topic 'zigbee2mqtt/0x00158d000423d22d', payload '{"battery":97,"voltage":2995,"temperature":22.71,"humidity":54.44,"pressure":1001.6,"linkquality":76}' info 2019-11-26T08:42:36: MQTT publish: topic 'zigbee2mqtt/0x14b457fffe3d9f29', payload '{"state":"OFF","brightness":255}' info 2019-11-26T08:42:36: MQTT publish: topic 'zigbee2mqtt/0x00158d000423d4db', payload '{"battery":86,"voltage":2975,"temperature":21.75,"humidity":58.44,"pressure":1002.1,"linkquality":23}' info 2019-11-26T08:42:36: MQTT publish: topic 'zigbee2mqtt/0x00158d00042704c2', payload '{"battery":86,"voltage":2975,"temperature":22.07,"humidity":55.82,"pressure":1001,"linkquality":36}' info 2019-11-26T08:42:36: MQTT publish: topic 'zigbee2mqtt/0x00158d000423d2f8', payload '{"battery":100,"voltage":3005,"temperature":24.07,"humidity":51.68,"pressure":1001,"linkquality":191}' info 2019-11-26T08:42:36: MQTT publish: topic 'zigbee2mqtt/0x14b457fffe505617', payload '{"battery":74,"linkquality":110}' info 2019-11-26T08:42:36: MQTT publish: topic 'zigbee2mqtt/0x000d6ffffe14a326', payload '{"state":"OFF","brightness":255}' info 2019-11-26T08:42:36: MQTT publish: topic 'zigbee2mqtt/0x14b457fffe668918', payload '{"state":"OFF","brightness":255}' info 2019-11-26T08:42:36: MQTT publish: topic 'zigbee2mqtt/0x14b457fffe65fcce', payload '{"state":"OFF","brightness":255}' info 2019-11-26T08:42:36: MQTT publish: topic 'zigbee2mqtt/0x14b457fffe7b9f24', payload '{"battery":60,"linkquality":13}' info 2019-11-26T08:42:36: MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"version":"1.7.1","commit":"b459c35","coordinator":{"type":"zStack12","meta":{"transportrev":2,"product":0,"majorrel":2,"minorrel":6,"maintrel":3,"revision":20180815}},"log_level":"info","permit_join":true}' info 2019-11-26T08:44:50: MQTT publish: topic 'zigbee2mqtt/0x00158d000423d2f8', payload '{"battery":100,"voltage":3005,"temperature":23.02,"humidity":51.68,"pressure":1001,"linkquality":107}' info 2019-11-26T08:44:50: MQTT publish: topic 'zigbee2mqtt/0x00158d000423d2f8', payload '{"battery":100,"voltage":3005,"temperature":23.02,"humidity":52.65,"pressure":1001,"linkquality":107}' info 2019-11-26T08:44:50: MQTT publish: topic 'zigbee2mqtt/0x00158d000423d2f8', payload '{"battery":100,"voltage":3005,"temperature":23.02,"humidity":52.65,"pressure":1001,"linkquality":107}' info 2019-11-26T08:48:27: MQTT publish: topic 'zigbee2mqtt/0x00158d000423d2f8', payload '{"battery":100,"voltage":3005,"temperature":22.52,"humidity":52.65,"pressure":1001,"linkquality":102}' info 2019-11-26T08:48:27: MQTT publish: topic 'zigbee2mqtt/0x00158d000423d2f8', payload '{"battery":100,"voltage":3005,"temperature":22.52,"humidity":53.83,"pressure":1001,"linkquality":102}' info 2019-11-26T08:48:27: MQTT publish: topic 'zigbee2mqtt/0x00158d000423d2f8', payload '{"battery":100,"voltage":3005,"temperature":22.52,"humidity":53.83,"pressure":1001,"linkquality":102}' info 2019-11-26T08:49:53: MQTT publish: topic 'zigbee2mqtt/0x00158d00042704c2', payload '{"battery":86,"voltage":2975,"temperature":21.94,"humidity":55.91,"pressure":1001.6,"linkquality":44}' info 2019-11-26T08:56:39: MQTT publish: topic 'zigbee2mqtt/0x00158d000423d22d', payload '{"battery":97,"voltage":2995,"temperature":22.71,"humidity":54.44,"pressure":1001.6,"linkquality":86}' info 2019-11-26T08:56:39: MQTT publish: topic 'zigbee2mqtt/0x00158d000423d22d', payload '{"battery":97,"voltage":2995,"temperature":22.71,"humidity":54.39,"pressure":1001.6,"linkquality":86}' info 2019-11-26T08:56:39: MQTT publish: topic 'zigbee2mqtt/0x00158d000423d22d', payload '{"battery":97,"voltage":2995,"temperature":22.71,"humidity":54.39,"pressure":1001,"linkquality":86}' info 2019-11-26T08:58:28: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'offline' info 2019-11-26T08:58:28: Disconnecting from MQTT server info 2019-11-26T08:58:28: zigbee-herdsman stopped

SBTephan commented 4 years ago

remove the device from your network (from yaml and DB) and re-pair. Had the same issue, worked for me.

Blukacz commented 4 years ago

Hi again

now I have deleted the device in both files and paired several times but still with no result.

as you see, it's creating a device and it's also shows up in the device list on Domoticz. I can see the device in the configuration and database file. But I still don't any action when I click on the device. Not in the log or in Domoticz

Received available devices list from bridge 2019-11-28 13:01:04.674 (Zigbee2Mqtt) Coordinator address is 0x00124b00194a186c 2019-11-28 13:01:04.674 (Zigbee2Mqtt) Device WSDCGQ11LM 0x00158d000423d22d (0x00158d000423d22d) 2019-11-28 13:01:04.675 (Zigbee2Mqtt) Device E1743 0x14b457fffe7b9f24 (0x14b457fffe7b9f24) 2019-11-28 13:01:04.675 (Zigbee2Mqtt) Creating domoticz device to handle "click" key for device with ieeeAddr 0x14b457fffe7b9f24 2019-11-28 13:01:04.690 (Zigbee2Mqtt) Device WSDCGQ11LM 0x00158d000423d4db (0x00158d000423d4db) 2019-11-28 13:01:04.690 (Zigbee2Mqtt) Device WSDCGQ11LM 0x00158d00042704c2 (0x00158d00042704c2)

and when I run sudo journalctl -u zigbee2mqtt.service -f

nov 28 13:19:09 raspberrypi npm[3402]: zigbee2mqtt:info 2019-11-28T12:19:09: Successfully interviewed '0x14b457fffe7b9f24', device has successfully been paired nov 28 13:19:09 raspberrypi npm[3402]: zigbee2mqtt:info 2019-11-28T12:19:09: Device '0x14b457fffe7b9f24' is supported, identified as: IKEA TRADFRI ON/OFF switch (E1743) nov 28 13:19:09 raspberrypi npm[3402]: zigbee2mqtt:info 2019-11-28T12:19:09: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"interview_successful","meta":{"friendly_name":"0x14b457fffe7b9f24","model":"E1743","vendor":"IKEA","description":"TRADFRI ON/OFF switch","supported":true}}' nov 28 13:19:09 raspberrypi npm[3402]: zigbee2mqtt:info 2019-11-28T12:19:09: Configuring '0x14b457fffe7b9f24' nov 28 13:19:13 raspberrypi npm[3402]: zigbee2mqtt:info 2019-11-28T12:19:13: Succesfully configured '0x14b457fffe7b9f24'

I should also not see reaction in this log when I click ?

regards

Anders Povlsen

SBTephan skrev den 26.11.2019 10:58:

remove the device from your network (from yaml and DB) and re-pair. Had the same issue, worked for me.

-- You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub [1], or unsubscribe [2].

Links:

[1] https://github.com/stas-demydiuk/domoticz-zigbee2mqtt-plugin/issues/185?email_source=notifications&email_token=AN2YBCWRFPFMI3RFCQYMXQTQVTXM7A5CNFSM4JQA2DH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFFNZIY#issuecomment-558554275 [2] https://github.com/notifications/unsubscribe-auth/AN2YBCQ75NQ7EEOWL35TTE3QVTXM7ANCNFSM4JQA2DHQ

SBTephan commented 4 years ago

Did you restarted domoticz after that?

Blukacz commented 4 years ago

Yes, stopped both domoticz an zigbee2mqtt.

here what i did.

  1. stopped domoticz and zigbee2mqt

  2. deleted the device in configuration.yaml and database.db

  3. started zigbee2mqt

  4. started domoticz

  5. Paired device

  6. stopped domoticz

  7. stopped zigbee2mqt

  8. started zigbee2mqt

  9. started domoticz

  10. found the device in Domoticz

SBTephan skrev den 28.11.2019 16:39:

Did you restart domoticz after that?

-- You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub [1], or unsubscribe [2].

Links:

[1] https://github.com/stas-demydiuk/domoticz-zigbee2mqtt-plugin/issues/185?email_source=notifications&email_token=AN2YBCUT2ZAB72QC7OFA2KLQV7Q3RA5CNFSM4JQA2DH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFM567I#issuecomment-559538045 [2] https://github.com/notifications/unsubscribe-auth/AN2YBCSTZN6NGAHQ4TJEDH3QV7Q3RANCNFSM4JQA2DHQ

Blukacz commented 4 years ago

 Creating domoticz device to handle "click" key for device with ieeeAddr 0x14b457fffe6e880f

Stanislav Demydiuk skrev den 25.11.2019 21:00:

Issue is in your zigbee network. If you read documentation for zigbee2mqtt and analyze your network log you'll find out that you have device

{ 'ieeeAddr':'0x14b457fffe7b9f24', 'networkAddress':20317, 'friendly_name':'0x14b457fffe7b9f24', 'lastSeen':1574689740583 } which doesn't look as valid device for now. For example record for one of valid devices in your network:

{ 'ieeeAddr':'0x14b457fffe6e880f', 'type':'EndDevice', 'networkAddress':49955, 'model':'E1743', 'friendly_name':'0x14b457fffe6e880f', 'manufacturerID':4476, 'manufacturerName':'IKEA of Sweden', 'powerSource':'Battery', 'modelID':'TRADFRI on/off switch', 'hardwareVersion':1, 'softwareBuildID':'2.2.008', 'dateCode':'20190410', 'lastSeen':None } It might be ok and after some time device will send additional information and zigbee2mqtt will be able to recognize it and as result when you restart Domoticz, plugin will also be able to recognize the device and register it in Domoticz.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

Blukacz commented 4 years ago

Hi again

from a nother try to pair I got this for consol log

warn 2019-12-02T12:48:00: Device '0x14b457fffe7b9f24' left the network info 2019-12-02T12:48:00: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"device_removed","message":"left_network","meta":{"friendly_name":"0x14b457fffe7b9f24"}}' info 2019-12-02T12:48:00: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"devices","message":[{"ieeeAddr":"0x00124b00194a186c","type":"Coordinator","networkAddress":0,"friendly_name":"Coordinator","softwareBuildID":"zStack12","dateCode":"20180815","lastSeen":1575290880537},{"ieeeAddr":"0x00158d000423d22d","type":"EndDevice","networkAddress":39145,"model":"WSDCGQ11LM","friendly_name":"0x00158d000423d22d","manufacturerID":4151,"manufacturerName":"LUMI","powerSource":"Battery","modelID":"lumi.weather","hardwareVersion":30,"softwareBuildID":"3000-0001","dateCode":"20161129","lastSeen":null},{"ieeeAddr":"0x00158d000423d4db","type":"EndDevice","networkAddress":51595,"model":"WSDCGQ11LM","friendly_name":"0x00158d000423d4db","manufacturerID":4151,"manufacturerName":"LUMI","powerSource":"Battery","modelID":"lumi.weather","lastSeen":1575290832383},{"ieeeAddr":"0x00158d00042704c2","type":"EndDevice","networkAddress":30117,"model":"WSDCGQ11LM","friendly_name":"0x00158d00042704c2","manufacturerID":4151,"manufacturerName":"LUMI","powerSource":"Battery","modelI D":"lumi.weather","hardwareVersion":30,"softwareBuildID":"3000-0001","dateCode":"20161129","lastSeen":null},{"ieeeAddr":"0x00158d000423d2f8","type":"EndDevice","networkAddress":13710,"model":"WSDCGQ11LM","friendly_name":"0x00158d000423d2f8","manufacturerID":4151,"manufacturerName":"LUMI","powerSource":"Battery","modelID":"lumi.weather","lastSeen":null},{"ieeeAddr":"0x00158d0004460b0a","type":"EndDevice","networkAddress":27441,"model":"WSDCGQ11LM","friendly_name":"0x00158d0004460b0a","manufacturerID":4151,"manufacturerName":"LUMI","powerSource":"Battery","modelID":"lumi.weather","lastSeen":null},{"ieeeAddr":"0x00158d00044607ad","type":"EndDevice","networkAddress":13000,"model":"WSDCGQ11LM","friendly_name":"0x00158d00044607ad","manufacturerID":4151,"manufacturerName":"LUMI","powerSource":"Battery","modelID":"lumi.weather","lastSeen":null},{"ieeeAddr":"0x00158d0004465ef3","type":"EndDevice","networkAddress":4937,"model":"WSDCGQ11LM","friendly_name":"0x00158d0004465ef3","manufacturerID": 4151,"manufacturerName":"LUMI","powerSource":"Battery","modelID":"lumi.weather","hardwareVersion":30,"softwareBuildID":"3000-0001","dateCode":"20161129","lastSeen":1575290815809},{"ieeeAddr":"0x00158d0004465f19","type":"EndDevice","networkAddress":52314,"model":"WSDCGQ11LM","friendly_name":"0x00158d0004465f19","manufacturerID":4151,"manufacturerName":"LUMI","powerSource":"Battery","modelID":"lumi.weather","hardwareVersion":30,"softwareBuildID":"3000-0001","dateCode":"20161129","lastSeen":null}]}' info 2019-12-02T12:48:13: Device '0x14b457fffe7b9f24' joined info 2019-12-02T12:48:13: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"device_connected","message":{"friendly_name":"0x14b457fffe7b9f24"}}' info 2019-12-02T12:48:13: Starting interview of '0x14b457fffe7b9f24' info 2019-12-02T12:48:13: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"interview_started","meta":{"friendly_name":"0x14b457fffe7b9f24"}}' info 2019-12-02T12:48:13: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"devices","message":[{"ieeeAddr":"0x00124b00194a186c","type":"Coordinator","networkAddress":0,"friendly_name":"Coordinator","softwareBuildID":"zStack12","dateCode":"20180815","lastSeen":1575290893098},{"ieeeAddr":"0x00158d000423d22d","type":"EndDevice","networkAddress":39145,"model":"WSDCGQ11LM","friendly_name":"0x00158d000423d22d","manufacturerID":4151,"manufacturerName":"LUMI","powerSource":"Battery","modelID":"lumi.weather","hardwareVersion":30,"softwareBuildID":"3000-0001","dateCode":"20161129","lastSeen":null},{"ieeeAddr":"0x00158d000423d4db","type":"EndDevice","networkAddress":51595,"model":"WSDCGQ11LM","friendly_name":"0x00158d000423d4db","manufacturerID":4151,"manufacturerName":"LUMI","powerSource":"Battery","modelID":"lumi.weather","lastSeen":1575290832383},{"ieeeAddr":"0x00158d00042704c2","type":"EndDevice","networkAddress":30117,"model":"WSDCGQ11LM","friendly_name":"0x00158d00042704c2","manufacturerID":4151,"manufacturerName":"LUMI","powerSource":"Battery","modelI D":"lumi.weather","hardwareVersion":30,"softwareBuildID":"3000-0001","dateCode":"20161129","lastSeen":null},{"ieeeAddr":"0x00158d000423d2f8","type":"EndDevice","networkAddress":13710,"model":"WSDCGQ11LM","friendly_name":"0x00158d000423d2f8","manufacturerID":4151,"manufacturerName":"LUMI","powerSource":"Battery","modelID":"lumi.weather","lastSeen":null},{"ieeeAddr":"0x00158d0004460b0a","type":"EndDevice","networkAddress":27441,"model":"WSDCGQ11LM","friendly_name":"0x00158d0004460b0a","manufacturerID":4151,"manufacturerName":"LUMI","powerSource":"Battery","modelID":"lumi.weather","lastSeen":null},{"ieeeAddr":"0x00158d00044607ad","type":"EndDevice","networkAddress":13000,"model":"WSDCGQ11LM","friendly_name":"0x00158d00044607ad","manufacturerID":4151,"manufacturerName":"LUMI","powerSource":"Battery","modelID":"lumi.weather","lastSeen":null},{"ieeeAddr":"0x00158d0004465ef3","type":"EndDevice","networkAddress":4937,"model":"WSDCGQ11LM","friendly_name":"0x00158d0004465ef3","manufacturerID": 4151,"manufacturerName":"LUMI","powerSource":"Battery","modelID":"lumi.weather","hardwareVersion":30,"softwareBuildID":"3000-0001","dateCode":"20161129","lastSeen":1575290815809},{"ieeeAddr":"0x00158d0004465f19","type":"EndDevice","networkAddress":52314,"model":"WSDCGQ11LM","friendly_name":"0x00158d0004465f19","manufacturerID":4151,"manufacturerName":"LUMI","powerSource":"Battery","modelID":"lumi.weather","hardwareVersion":30,"softwareBuildID":"3000-0001","dateCode":"20161129","lastSeen":null},{"ieeeAddr":"0x14b457fffe7b9f24","networkAddress":45484,"friendly_name":"0x14b457fffe7b9f24","lastSeen":1575290893017}]}' info 2019-12-02T12:48:34: Successfully interviewed '0x14b457fffe7b9f24', device has successfully been paired info 2019-12-02T12:48:34: Device '0x14b457fffe7b9f24' is supported, identified as: IKEA TRADFRI ON/OFF switch (E1743) info 2019-12-02T12:48:34: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"interview_successful","meta":{"friendly_name":"0x14b457fffe7b9f24","model":"E1743","vendor":"IKEA","description":"TRADFRI ON/OFF switch","supported":true}}' info 2019-12-02T12:48:34: Configuring '0x14b457fffe7b9f24' info 2019-12-02T12:48:39: Succesfully configured '0x14b457fffe7b9f24'

but from domoticz log

'networkAddress': 24275, 'friendly_name': '0x14b457fffe7b9f24', 'lastSeen': 1575291230963}]} 2019-12-02 13:53:51.062 (Zigbee2Mqtt) Received available devices list from bridge 2019-12-02 13:53:51.062 (Zigbee2Mqtt) Coordinator address is 0x00124b00194a186c 2019-12-02 13:53:51.062 (Zigbee2Mqtt) Device WSDCGQ11LM 0x00158d000423d22d (0x00158d000423d22d) 2019-12-02 13:53:51.063 (Zigbee2Mqtt) Device WSDCGQ11LM 0x00158d000423d4db (0x00158d000423d4db) 2019-12-02 13:53:51.063 (Zigbee2Mqtt) Device WSDCGQ11LM 0x00158d00042704c2 (0x00158d00042704c2) 2019-12-02 13:53:51.065 (Zigbee2Mqtt) Device WSDCGQ11LM 0x00158d000423d2f8 (0x00158d000423d2f8) 2019-12-02 13:53:51.065 (Zigbee2Mqtt) Device WSDCGQ11LM 0x00158d0004460b0a (0x00158d0004460b0a) 2019-12-02 13:53:51.067 (Zigbee2Mqtt) Device WSDCGQ11LM 0x00158d00044607ad (0x00158d00044607ad) 2019-12-02 13:53:51.068 (Zigbee2Mqtt) Device WSDCGQ11LM 0x00158d0004465ef3 (0x00158d0004465ef3) 2019-12-02 13:53:51.069 (Zigbee2Mqtt) Device WSDCGQ11LM 0x00158d0004465f19 (0x00158d0004465f19) 2019-12-02 13:53:51.071 (Zigbee2Mqtt) Device 0x14b457fffe7b9f24 (0x14b457fffe7b9f24) doesn't have "model" attribute, skipped 2019-12-02 13:53:56.281 (Zigbee2Mqtt) MqttClient::ping 2019-12-02 13:53:57.035 (RFXCOM) Temp + Humidity (Temp Udendørs) 2019-12-02 13:54:06.303 (Zigbee2Mqtt) MqttClient::ping

where it say "doesn't have "model" attribute, skipped" is a problem between zigbee2mqtt and Domoticz ?

SBTephan skrev den 28.11.2019 16:39:

Did you restart domoticz after that?

-- You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub [1], or unsubscribe [2].

Links:

[1] https://github.com/stas-demydiuk/domoticz-zigbee2mqtt-plugin/issues/185?email_source=notifications&email_token=AN2YBCUT2ZAB72QC7OFA2KLQV7Q3RA5CNFSM4JQA2DH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFM567I#issuecomment-559538045 [2] https://github.com/notifications/unsubscribe-auth/AN2YBCSTZN6NGAHQ4TJEDH3QV7Q3RANCNFSM4JQA2DHQ

stas-demydiuk commented 4 years ago

where it say "doesn't have "model" attribute, skipped" is a problem between zigbee2mqtt and Domoticz ?

No, problem is between zigbee2mqtt and your zigbee network: zigbee2mqtt can't recognize the device model connected to the network.

Links to similar issues: https://github.com/Koenkk/zigbee2mqtt/issues/1378 https://github.com/Koenkk/zigbee2mqtt/issues/1652

Blukacz commented 4 years ago

can I do something manuel ? how should the "string" look in the database, because it looks correct for me !

Stanislav Demydiuk skrev den 02.12.2019 20:41:

where it say "doesn't have "model" attribute, skipped" is a problem between zigbee2mqtt and Domoticz ?

No, problem is between zigbee2mqtt and your zigbee network: zigbee2mqtt can't recognize the device model connected to the network.

-- You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub [1], or unsubscribe [2].

Links:

[1] https://github.com/stas-demydiuk/domoticz-zigbee2mqtt-plugin/issues/185?email_source=notifications&email_token=AN2YBCUQLOIYPQQCGUUCWNDQWVQGVA5CNFSM4JQA2DH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFUU65Y#issuecomment-560549751 [2] https://github.com/notifications/unsubscribe-auth/AN2YBCTLGS6DKBCKCJD3YKLQWVQGVANCNFSM4JQA2DHQ

stas-demydiuk commented 4 years ago

@Blukacz what exactly looks correct for you?