Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
12.36k stars 1.69k forks source link

[Problem]: CC2652P router won't pair to Z2M again after being flashed a few times with different firmwares (works fine in ZHA) #10704

Closed mortenmoulder closed 2 years ago

mortenmoulder commented 2 years ago

What happened?

I got a Z-Bee Duo CC2652P stick that I used as a router in ZHA. I then wanted to play with Zigbee2MQTT, so I flashed it with the latest 3.x.0 router firmware and paired it in Z2M. Once I was done playing with it as a router, I grabbed PTVO's tool and played around with that (turning on the LED for example).

I then wanted to use it as a router again, and I decided to flash it with Z-Stack 3.x.0 router firmware again. This is where it completely stopped working in Z2M, because no matter what I do, I cannot get it to pair at all. Not even if I stand next to my Sonoff CC2652P coordinator while trying to pair it.

I looked in the database.db file and there was no entry for it (I only have 3 devices paired in Z2M). I looked in configuration.yaml but only two devices showed up. I tried restarting Z2M many times.

If I then go into ZHA and I add a new device, it's instantly added as a new router. Within 5 seconds or so. I then remove it from Home Assistant, unplug the router from USB, permit join in Z2M, and then plug it back in. Nothing. It simply will not show it anywhere. Nothing in the logs either.

If I go back to PTVO's custom firmware (I already have the file), flash it to the device, then it pairs with Z2M perfectly. It just will not pair with Z-Stack 3.x.0 router firmware. I tried both launchpad and the "other" firmware.

So it went like this:

Flash with Z-Stack 3.x.0 router -> ZHA
Flash with Z-Stack 3.x.0 router -> Zigbee2MQTT
Force remove from Zigbee2MQTT
Flash with PTVO custom firmware -> Zigbee2MQTT
Force remove from Zigbee2MQTT
Flash with Z-Stack 3.x.0 router -> Zigbee2MQTT does not find it
Go into ZHA and pair it. Works flawlessly within 5 seconds
Remove from Home Assistant
Zigbee2MQTT still does not find it
Flash with PTVO custom firmware -> Zigbee2MQTT
Force remove from Zigbee2MQTT
Restart Zigbee2MQTT
Flash with Z-Stack 3.x.0 router -> Zigbee2MQTT does not find it

What did you expect to happen?

I would expect the Z-Duo CC2652P to join the Z2M network as a router through my Sonoff CC2652P dongle.

How to reproduce it (minimal and precise)

  1. Flash Z-Stack 3.x.0 router firmware on Z-Duo CC2652P stick
  2. Permit join (All) in Z2M
  3. Nothing happens

Zigbee2MQTT version

1.22.2

Adapter firmware version

99999999 (using the 20 dBm coordinator firmware)

Adapter

Sonoff CC2652P dongle as coordinator

Debug log

debug 2022-01-10 22:40:27: Loaded state from file /app/data/state.json
info  2022-01-10 22:40:27: Logging to console and directory: '/app/data/log/2022-01-10.22-40-27' filename: log.txt
debug 2022-01-10 22:40:27: Removing old log directory '/app/data/log/2022-01-04.06-05-53'
info  2022-01-10 22:40:27: Starting Zigbee2MQTT version 1.22.2 (commit #414c51f)
info  2022-01-10 22:40:27: Starting zigbee-herdsman (0.13.188)
debug 2022-01-10 22:40:27: Using zigbee-herdsman with settings: '{"adapter":{"concurrent":null,"delay":null,"disableLED":false},"backupPath":"/app/data/coordinator_backup.json","databaseBackupPath":"/app/data/database.db.backup","databasePath":"/app/data/database.db","network":{"channelList":[11],"extendedPanID":[221,221,221,221,221,221,221,221],"networkKey":"HIDDEN","panID":6754},"serialPort":{"path":"/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0e248dc2c119ec1199ee76e5f01c6278-if00-port0"}}'
info  2022-01-10 22:40:28: zigbee-herdsman started (resumed)
info  2022-01-10 22:40:28: Coordinator firmware version: '{"meta":{"maintrel":1,"majorrel":2,"minorrel":7,"product":1,"revision":99999999,"transportrev":2},"type":"zStack3x0"}'
debug 2022-01-10 22:40:28: Zigbee network parameters: {"channel":11,"extendedPanID":"0x00124b00258b772a","panID":6754}
info  2022-01-10 22:40:28: Set transmit power to '20'
info  2022-01-10 22:40:28: Currently 3 devices are joined:
info  2022-01-10 22:40:28: Ikea Shortcut button (0xb4e3f9fffe756fed): E1812 - IKEA TRADFRI shortcut button (EndDevice)
info  2022-01-10 22:40:28: Ikea Shortcut button 2 (0x0c4314fffe4e88be): E1812 - IKEA TRADFRI shortcut button (EndDevice)
info  2022-01-10 22:40:28: Verpan Pantop (0xf0d1b80000187423): 4058075208421 - LEDVANCE SMART+ candle E14 tunable white (Router)
info  2022-01-10 22:40:28: Zigbee: disabling joining new devices.
info  2022-01-10 22:40:28: Connecting to MQTT server at mqtt://192.168.1.56
debug 2022-01-10 22:40:28: Using MQTT anonymous login
info  2022-01-10 22:40:28: Connected to MQTT server
info  2022-01-10 22:40:28: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'online'
debug 2022-01-10 22:40:28: Received MQTT message on 'zigbee2mqtt/bridge/info' with data '{"commit":"c2b5229","config":{"advanced":{"adapter_concurrent":null,"adapter_delay":null,"availability_blacklist":[],"availability_blocklist":[],"availability_passlist":[],"availability_whitelist":[],"cache_state":true,"cache_state_persistent":true,"cache_state_send_on_startup":true,"channel":11,"elapsed":false,"ext_pan_id":[221,221,221,221,221,221,221,221],"homeassistant_discovery_topic":"homeassistant","homeassistant_legacy_entity_attributes":false,"homeassistant_legacy_triggers":false,"homeassistant_status_topic":"hass/status","ikea_ota_use_test_url":false,"last_seen":"disable","legacy_api":false,"log_directory":"/app/data/log/%TIMESTAMP%","log_file":"log.txt","log_level":"debug","log_output":["console","file"],"log_rotation":true,"log_symlink_current":false,"log_syslog":{"app_name":"Zigbee2MQTT","eol":"/n","host":"localhost","localhost":"localhost","path":"/dev/log","pid":"process.pid","port":123,"protocol":"tcp4","type":"5424"},"pan_id":6754,"report":false,"soft_reset_timeout":0,"timestamp_format":"YYYY-MM-DD HH:mm:ss"},"ban":[],"blocklist":[],"device_options":{"legacy":false},"devices":{"0x0c4314fffe4e88be":{"friendly_name":"Ikea Shortcut button 2"},"0xb4e3f9fffe756fed":{"friendly_name":"Ikea Shortcut button"},"0xf0d1b80000187423":{"friendly_name":"Verpan Pantop"}},"experimental":{"new_api":true,"output":"json","transmit_power":20},"external_converters":[],"frontend":{"host":"0.0.0.0","port":9442,"url":"https://z2m.i7.dk"},"groups":{},"homeassistant":true,"map_options":{"graphviz":{"colors":{"fill":{"coordinator":"#e04e5d","enddevice":"#fff8ce","router":"#4ea3e0"},"font":{"coordinator":"#ffffff","enddevice":"#000000","router":"#ffffff"},"line":{"active":"#009900","inactive":"#994444"}}}},"mqtt":{"base_topic":"zigbee2mqtt","force_disable_retain":false,"include_device_information":true,"server":"mqtt://192.168.1.56"},"ota":{"disable_automatic_update_check":false,"update_check_interval":1440},"passlist":[],"permit_join":false,"serial":{"disable_led":false,"port":"/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0e248dc2c119ec1199ee76e5f01c6278-if00-port0"},"whitelist":[]},"config_schema":{"definitions":{"device":{"properties":{"debounce":{"description":"Debounces messages of this device","title":"Debounce","type":"number"},"debounce_ignore":{"description":"Protects unique payload values of specified payload properties from overriding within debounce time","examples":["action"],"items":{"type":"string"},"title":"Ignore debounce","type":"array"},"filtered_attributes":{"description":"Filter attributes from publish payload.","examples":["temperature","battery","action"],"items":{"type":"string"},"title":"Filtered publish attributes","type":"array"},"filtered_optimistic":{"description":"Filter attributes from optimistic publish payload when calling /set. (This has no effect if optimistic is set to false).","examples":["color_mode","color_temp","color"],"items":{"type":"string"},"title":"Filtered optimistic attributes","type":"array"},"friendly_name":{"description":"Used in the MQTT topic of a device. By default this is the device ID","readOnly":true,"title":"Friendly name","type":"string"},"icon":{"description":"The user-defined device icon for the frontend. It can be a link to an image (not a path to a file) or base64 encoded data URL like: image/svg+xml;base64,PHN2ZyB3aW....R0aD","title":"Icon","type":"string"},"optimistic":{"default":true,"description":"Publish optimistic state after set","title":"Optimistic","type":"boolean"},"qos":{"description":"QoS level for MQTT messages of this device","title":"QoS","type":"number"},"retain":{"description":"Retain MQTT messages of this device","title":"Retain","type":"boolean"},"retention":{"description":"Sets the MQTT Message Expiry in seconds, Make sure to set mqtt.version to 5","title":"Retention","type":"number"}},"required":["friendly_name"],"type":"object"},"group":{"properties":{"devices":{"items":{"type":"string"},"type":"array"},"filtered_attributes":{"items":{"type":"string"},"type":"array"},"friendly_name":{"type":"string"},"optimistic":{"type":"boolean"},"qos":{"type":"number"},"retain":{"type":"boolean"}},"required":["friendly_name"],"type":"object"}},"properties":{"advanced":{"properties":{"adapter_concurrent":{"description":"Adapter concurrency (e.g. 2 for CC2531 or 16 for CC26X2R1) (default: null, uses recommended value)","requiresRestart":true,"title":"Adapter concurrency","type":["number","null"]},"adapter_delay":{"description":"Adapter delay","requiresRestart":true,"title":"Adapter delay","type":["number","null"]},"baudrate":{"description":"Baud rate speed for serial port, this can be anything firmware support but default is 115200 for Z-Stack and EZSP, 38400 for Deconz, however note that some EZSP firmware need 57600","examples":[38400,57600,115200],"requiresRestart":true,"title":"Baudrate","type":"number"},"cache_state":{"default":true,"description":"MQTT message payload will contain all attributes, not only changed ones. Has to be true when integrating via Home Assistant","title":"Cache state","type":"boolean"},"cache_state_persistent":{"default":true,"description":"Persist cached state, only used when cache_state: true","title":"Persist cache state","type":"boolean"},"cache_state_send_on_startup":{"default":true,"description":"Send cached state on startup, only used when cache_state: true","title":"Send cached state on startup","type":"boolean"},"channel":{"default":11,"description":"Zigbee channel, changing requires repairing all devices! (Note: use a ZLL channel: 11, 15, 20, or 25 to avoid Problems)","examples":[15,20,25],"maximum":26,"minimum":11,"requiresRestart":true,"title":"ZigBee channel","type":"number"},"elapsed":{"default":false,"description":"Add an elapsed attribute to MQTT messages, contains milliseconds since the previous msg","title":"Elapsed","type":"boolean"},"ext_pan_id":{"description":"Zigbee extended pan ID, changing requires repairing all devices!","items":{"type":"number"},"requiresRestart":true,"title":"Ext Pan ID","type":"array"},"homeassistant_discovery_topic":{"description":"Home Assistant discovery topic","examples":["homeassistant"],"requiresRestart":true,"title":"Homeassistant discovery topic","type":"string"},"homeassistant_legacy_entity_attributes":{"default":true,"description":"Home Assistant legacy entity attributes, when enabled Zigbee2MQTT will add state attributes to each entity, additional to the separate entities and devices it already creates","title":"Home Assistant legacy entity attributes","type":"boolean"},"homeassistant_legacy_triggers":{"default":true,"description":"Home Assistant legacy triggers, when enabled Zigbee2mqt will send an empty 'action' or 'click' after one has been send. A 'sensor_action' and 'sensor_click' will be discoverd","title":"Home Assistant legacy triggers","type":"boolean"},"homeassistant_status_topic":{"description":"Home Assistant status topic","examples":["homeassistant/status"],"requiresRestart":true,"title":"Home Assistant status topic","type":"string"},"ikea_ota_use_test_url":{"default":false,"description":"Use IKEA TRADFRI OTA test server, see OTA updates documentation","requiresRestart":true,"title":"IKEA TRADFRI OTA use test url","type":"boolean"},"last_seen":{"default":"disable","description":"Add a last_seen attribute to MQTT messages, contains date/time of last Zigbee message","enum":["disable","ISO_8601","ISO_8601_local","epoch"],"title":"Last seen","type":"string"},"legacy_api":{"default":true,"description":"Disables the legacy api (false = disable)","requiresRestart":true,"title":"Legacy API","type":"boolean"},"log_directory":{"description":"Location of log directory","examples":["data/log/%TIMESTAMP%"],"requiresRestart":true,"title":"Log directory","type":"string"},"log_file":{"default":"log.txt","description":"Log file name, can also contain timestamp","examples":["zigbee2mqtt_%TIMESTAMP%.log"],"requiresRestart":true,"title":"Log file","type":"string"},"log_level":{"default":"info","description":"Logging level","enum":["info","warn","error","debug"],"title":"Log level","type":"string"},"log_output":{"description":"Output location of the log, leave empty to supress logging","items":{"enum":["console","file","syslog"],"type":"string"},"requiresRestart":true,"title":"Log output","type":"array"},"log_rotation":{"default":true,"description":"Log rotation","requiresRestart":true,"title":"Log rotation","type":"boolean"},"log_symlink_current":{"default":false,"description":"Create symlink to current logs in the log directory","requiresRestart":true,"title":"Log symlink current","type":"boolean"},"log_syslog":{"properties":{"app_name":{"default":"Zigbee2MQTT","description":"The name of the application (Default: Zigbee2MQTT).","title":"Localhost","type":"string"},"eol":{"default":"/n","description":"The end of line character to be added to the end of the message (Default: Message without modifications).","title":"eol","type":"string"},"host":{"default":"localhost","description":"The host running syslogd, defaults to localhost.","title":"Host","type":"string"},"localhost":{"default":"localhost","description":"Host to indicate that log messages are coming from (Default: localhost).","title":"Localhost","type":"string"},"path":{"default":"/dev/log","description":"The path to the syslog dgram socket (i.e. /dev/log or /var/run/syslog for OS X).","examples":["/var/run/syslog"],"title":"Path","type":"string"},"pid":{"default":"process.pid","description":"PID of the process that log messages are coming from (Default process.pid).","title":"PID","type":"string"},"port":{"default":123,"description":"The port on the host that syslog is running on, defaults to syslogd's default port.","title":"Port","type":"number"},"protocol":{"default":"tcp4","description":"The network protocol to log over (e.g. tcp4, udp4, tls4, unix, unix-connect, etc).","examples":["udp4","tls4","unix","unix-connect"],"title":"Protocol","type":"string"},"type":{"default":"5424","description":"The type of the syslog protocol to use (Default: BSD, also valid: 5424).","title":"Type","type":"string"}},"title":"syslog","type":"object"},"network_key":{"description":"Network encryption key, changing requires repairing all devices!","oneOf":[{"title":"Network key(string)","type":"string"},{"items":{"type":"number"},"title":"Network key(array)","type":"array"}],"requiresRestart":true,"title":"Network key"},"pan_id":{"description":"ZigBee pan ID, changing requires repairing all devices!","oneOf":[{"title":"Pan ID (string)","type":"string"},{"title":"Pan ID (number)","type":"number"}],"requiresRestart":true,"title":"Pan ID"},"report":{"description":"Enables report feature (deprecated)","readOnly":true,"requiresRestart":true,"title":"Reporting","type":"boolean"},"rtscts":{"description":"RTS / CTS Hardware Flow Control for serial port","requiresRestart":true,"title":"RTS / CTS","type":"boolean"},"soft_reset_timeout":{"description":"Soft reset ZNP after timeout","minimum":0,"readOnly":true,"requiresRestart":true,"title":"Soft reset timeout (deprecated)","type":"number"},"timestamp_format":{"description":"Log timestamp format","examples":["YYYY-MM-DD HH:mm:ss"],"requiresRestart":true,"title":"Timestamp format","type":"string"}},"title":"Advanced","type":"object"},"availability":{"description":"Checks whether devices are online/offline","oneOf":[{"title":"Availability (boolean)","type":"boolean"},{"properties":{"active":{"description":"Options for active devices (routers/mains powered)","properties":{"timeout":{"default":10,"description":"Time after which an active device will be marked as offline in minutes","requiresRestart":true,"title":"Timeout","type":"number"}},"requiresRestart":true,"title":"Active","type":"object"},"passive":{"description":"Options for passive devices (mostly battery powered)","properties":{"timeout":{"default":1500,"description":"Time after which an passive device will be marked as offline in minutes","requiresRestart":true,"title":"Timeout","type":"number"}},"requiresRestart":true,"title":"Active","type":"object"}},"title":"Availability (object)","type":"object"}],"requiresRestart":true,"title":"Availability"},"ban":{"items":{"type":"string"},"readOnly":true,"requiresRestart":true,"title":"Ban (deprecated, use blocklist)","type":"array"},"blocklist":{"description":"Block devices from the network (by ieeeAddr)","items":{"type":"string"},"requiresRestart":true,"title":"Blocklist","type":"array"},"device_options":{"type":"object"},"devices":{"patternProperties":{"^.*$":{"$ref":"#/definitions/device"}},"propertyNames":{"pattern":"^0x[\\d\\w]{16}$"},"type":"object"},"experimental":{"properties":{"output":{"description":"Examples when 'state' of a device is published json: topic: 'zigbee2mqtt/my_bulb' payload '{\"state\": \"ON\"}' attribute: topic 'zigbee2mqtt/my_bulb/state' payload 'ON' attribute_and_json: both json and attribute (see above)","enum":["attribute_and_json","attribute","json"],"title":"MQTT output type","type":"string"},"transmit_power":{"description":"Transmit power of adapter, only available for Z-Stack (CC253*/CC2652/CC1352) adapters, CC2652 = 5dbm, CC1352 max is = 20dbm (5dbm default)","requiresRestart":true,"title":"Transmit power","type":["number","null"]}},"title":"Experimental","type":"object"},"external_converters":{"description":"You can define external converters to e.g. add support for a DiY device","examples":["DIYRuZ_FreePad.js"],"items":{"type":"string"},"requiresRestart":true,"title":"External converters","type":"array"},"frontend":{"properties":{"auth_token":{"description":"Enables authentication, disabled by default","requiresRestart":true,"title":"Auth token","type":["string","null"]},"host":{"default":"0.0.0.0","description":"Frontend binding host","requiresRestart":true,"title":"Bind host","type":"string"},"port":{"default":8080,"description":"Frontend binding port","requiresRestart":true,"title":"Port","type":"number"}},"title":"Frontend","type":"object"},"groups":{"patternProperties":{"^.*$":{"$ref":"#/definitions/group"}},"propertyNames":{"pattern":"^[\\w].*$"},"type":"object"},"homeassistant":{"default":false,"description":"Home Assistant integration (MQTT discovery)","title":"Home Assistant integration","type":"boolean"},"map_options":{"properties":{"graphviz":{"properties":{"colors":{"properties":{"fill":{"properties":{"coordinator":{"type":"string"},"enddevice":{"type":"string"},"router":{"type":"string"}},"type":"object"},"font":{"properties":{"coordinator":{"type":"string"},"enddevice":{"type":"string"},"router":{"type":"string"}},"type":"object"},"line":{"properties":{"active":{"type":"string"},"inactive":{"type":"string"}},"type":"object"}},"type":"object"}},"type":"object"}},"title":"Networkmap","type":"object"},"mqtt":{"properties":{"base_topic":{"description":"MQTT base topic for Zigbee2MQTT MQTT messages","examples":["zigbee2mqtt"],"requiresRestart":true,"title":"Base topic","type":"string"},"ca":{"description":"Absolute path to SSL/TLS certificate of CA used to sign server and client certificates","examples":["/etc/ssl/mqtt-ca.crt"],"requiresRestart":true,"title":"Certificate authority","type":"string"},"cert":{"description":"Absolute path to SSL/TLS certificate for client-authentication","examples":["/etc/ssl/mqtt-client.crt"],"requiresRestart":true,"title":"SSL/TLS certificate","type":"string"},"client_id":{"description":"MQTT client ID","examples":["MY_CLIENT_ID"],"requiresRestart":true,"title":"Client ID","type":"string"},"force_disable_retain":{"default":false,"description":"Disable retain for all send messages. ONLY enable if you MQTT broker doesn't support retained message (e.g. AWS IoT core, Azure IoT Hub, Google Cloud IoT core, IBM Watson IoT Platform). Enabling will break the Home Assistant integration","requiresRestart":true,"title":"Force disable retain","type":"boolean"},"include_device_information":{"default":false,"description":"Include device information to mqtt messages","title":"Include device information","type":"boolean"},"keepalive":{"default":60,"description":"MQTT keepalive in second","requiresRestart":true,"title":"Keepalive","type":"number"},"key":{"description":"Absolute path to SSL/TLS key for client-authentication","examples":["/etc/ssl/mqtt-client.key"],"requiresRestart":true,"title":"SSL/TLS key","type":"string"},"password":{"description":"MQTT server authentication password","examples":["ILOVEPELMENI"],"requiresRestart":true,"title":"Password","type":"string"},"reject_unauthorized":{"default":true,"description":"Disable self-signed SSL certificate","requiresRestart":true,"title":"Reject unauthorized","type":"boolean"},"server":{"description":"MQTT server URL (use mqtts:// for SSL/TLS connection)","examples":["mqtt://localhost:1883"],"requiresRestart":true,"title":"MQTT server","type":"string"},"user":{"description":"MQTT server authentication user","examples":["johnnysilverhand"],"requiresRestart":true,"title":"User","type":"string"},"version":{"default":4,"description":"MQTT protocol version","examples":[5],"requiresRestart":true,"title":"Version","type":["number","null"]}},"required":["base_topic","server"],"title":"MQTT","type":"object"},"ota":{"properties":{"disable_automatic_update_check":{"default":false,"description":"Zigbee devices may request a firmware update, and do so frequently, causing Zigbee2MQTT to reach out to third party servers. If you disable these device initiated checks, you can still initiate a firmware update check manually.","title":"Disable automatic update check","type":"boolean"},"update_check_interval":{"default":1440,"description":"Your device may request a check for a new firmware update. This value determines how frequently third party servers may actually be contacted to look for firmware updates. The value is set in minutes, and the default is 1 day.","title":"Update check interval","type":"number"}},"title":"OTA updates","type":"object"},"passlist":{"description":"Allow only certain devices to join the network (by ieeeAddr). Note that all devices not on the passlist will be removed from the network!","items":{"type":"string"},"requiresRestart":true,"title":"Passlist","type":"array"},"permit_join":{"default":false,"description":"Allow new devices to join (re-applied at restart)","title":"Permit join","type":"boolean"},"serial":{"properties":{"adapter":{"default":"auto","description":"Adapter type, not needed unless you are experiencing problems","enum":["deconz","zstack","zigate","ezsp","auto"],"requiresRestart":true,"title":"Adapter","type":["string"]},"disable_led":{"default":false,"description":"Disable LED of the adapter if supported","requiresRestart":true,"title":"Disable led","type":"boolean"},"port":{"description":"Location of the adapter. To autodetect the port, set null","examples":["/dev/ttyACM0"],"requiresRestart":true,"title":"Port","type":["string","null"]}},"title":"Serial","type":"object"},"whitelist":{"items":{"type":"string"},"readOnly":true,"requiresRestart":true,"title":"Whitelist (deprecated, use passlist)","type":"array"}},"required":["mqtt"],"type":"object"},"coordinator":{"meta":{"maintrel":1,"majorrel":2,"minorrel":7,"product":1,"revision":99999999,"transportrev":2},"type":"zStack3x0"},"log_level":"debug","network":{"channel":11,"extended_pan_id":"0x00124b00258b772a","pan_id":6754},"permit_join":false,"restart_required":false,"version":"1.22.1"}'
debug 2022-01-10 22:40:28: Received MQTT message on 'zigbee2mqtt/bridge/devices' with data '[{"definition":null,"endpoints":{"1":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[],"scenes":[]},"10":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[],"scenes":[]},"11":{"bindings":[],"clusters":{"input":["ssIasAce"],"output":["ssIasZone","ssIasWd"]},"configured_reportings":[],"scenes":[]},"110":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[],"scenes":[]},"12":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[],"scenes":[]},"13":{"bindings":[],"clusters":{"input":["genOta"],"output":[]},"configured_reportings":[],"scenes":[]},"2":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[],"scenes":[]},"242":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[],"scenes":[]},"3":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[],"scenes":[]},"4":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[],"scenes":[]},"47":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[],"scenes":[]},"5":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[],"scenes":[]},"6":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[],"scenes":[]},"8":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[],"scenes":[]}},"friendly_name":"Coordinator","ieee_address":"0x00124b00258b772a","interview_completed":true,"interviewing":false,"network_address":0,"supported":false,"type":"Coordinator"},{"date_code":"20190715","definition":{"description":"TRADFRI shortcut button","exposes":[{"access":1,"description":"Remaining battery in %","name":"battery","property":"battery","type":"numeric","unit":"%","value_max":100,"value_min":0},{"access":1,"description":"Triggered action (e.g. a button click)","name":"action","property":"action","type":"enum","values":["on","off","brightness_move_up","brightness_stop"]},{"access":1,"description":"Link quality (signal strength)","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"E1812","options":[{"description":"Simulate a brightness value. If this device provides a brightness_move_up or brightness_move_down action it is possible to specify the update interval and delta.","features":[{"access":2,"description":"Delta per interval, 20 by default","name":"delta","property":"delta","type":"numeric","value_min":0},{"access":2,"description":"Interval duration","name":"interval","property":"interval","type":"numeric","unit":"ms","value_min":0}],"name":"simulated_brightness","property":"simulated_brightness","type":"composite"}],"supports_ota":true,"vendor":"IKEA"},"endpoints":{"1":{"bindings":[{"cluster":"genPollCtrl","target":{"endpoint":1,"ieee_address":"0x00124b00258b772a","type":"endpoint"}},{"cluster":"genPowerCfg","target":{"id":901,"type":"group"}}],"clusters":{"input":["genBasic","genPowerCfg","genIdentify","genAlarms","genPollCtrl","touchlink"],"output":["genIdentify","genGroups","genOnOff","genLevelCtrl","genOta","closuresWindowCovering","touchlink"]},"configured_reportings":[{"attribute":"batteryPercentageRemaining","cluster":"genPowerCfg","maximum_report_interval":62000,"minimum_report_interval":3600,"reportable_change":0}],"scenes":[]}},"friendly_name":"Ikea Shortcut button","ieee_address":"0xb4e3f9fffe756fed","interview_completed":true,"interviewing":false,"manufacturer":"IKEA of Sweden","model_id":"TRADFRI SHORTCUT Button","network_address":8981,"power_source":"Battery","software_build_id":"2.3.015","supported":true,"type":"EndDevice"},{"date_code":"20190715","definition":{"description":"TRADFRI shortcut button","exposes":[{"access":1,"description":"Remaining battery in %","name":"battery","property":"battery","type":"numeric","unit":"%","value_max":100,"value_min":0},{"access":1,"description":"Triggered action (e.g. a button click)","name":"action","property":"action","type":"enum","values":["on","off","brightness_move_up","brightness_stop"]},{"access":1,"description":"Link quality (signal strength)","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"E1812","options":[{"description":"Simulate a brightness value. If this device provides a brightness_move_up or brightness_move_down action it is possible to specify the update interval and delta.","features":[{"access":2,"description":"Delta per interval, 20 by default","name":"delta","property":"delta","type":"numeric","value_min":0},{"access":2,"description":"Interval duration","name":"interval","property":"interval","type":"numeric","unit":"ms","value_min":0}],"name":"simulated_brightness","property":"simulated_brightness","type":"composite"}],"supports_ota":true,"vendor":"IKEA"},"endpoints":{"1":{"bindings":[{"cluster":"genPollCtrl","target":{"endpoint":1,"ieee_address":"0x00124b00258b772a","type":"endpoint"}},{"cluster":"genPowerCfg","target":{"id":901,"type":"group"}}],"clusters":{"input":["genBasic","genPowerCfg","genIdentify","genAlarms","genPollCtrl","touchlink"],"output":["genIdentify","genGroups","genOnOff","genLevelCtrl","genOta","closuresWindowCovering","touchlink"]},"configured_reportings":[{"attribute":"batteryPercentageRemaining","cluster":"genPowerCfg","maximum_report_interval":62000,"minimum_report_interval":3600,"reportable_change":0}],"scenes":[]}},"friendly_name":"Ikea Shortcut button 2","ieee_address":"0x0c4314fffe4e88be","interview_completed":true,"interviewing":false,"manufacturer":"IKEA of Sweden","model_id":"TRADFRI SHORTCUT Button","network_address":117,"power_source":"Battery","software_build_id":"2.3.015","supported":true,"type":"EndDevice"},{"definition":{"description":"SMART+ candle E14 tunable white","exposes":[{"features":[{"access":7,"description":"On/off state of this light","name":"state","property":"state","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"},{"access":7,"description":"Brightness of this light","name":"brightness","property":"brightness","type":"numeric","value_max":254,"value_min":0}],"type":"light"},{"access":2,"description":"Triggers an effect on the light (e.g. make light blink for a few seconds)","name":"effect","property":"effect","type":"enum","values":["blink","breathe","okay","channel_change","finish_effect","stop_effect"]},{"access":1,"description":"Link quality (signal strength)","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"4058075208421","options":[{"access":2,"description":"Controls the transition time (in seconds) of on/off, brightness, color temperature (if applicable) and color (if applicable) changes. Defaults to `0` (no transition).","name":"transition","property":"transition","type":"numeric","value_min":0}],"supports_ota":true,"vendor":"LEDVANCE"},"endpoints":{"1":{"bindings":[],"clusters":{"input":["genBasic","genIdentify","genGroups","genScenes","genOnOff","genLevelCtrl","haDiagnostic"],"output":["genOta"]},"configured_reportings":[],"scenes":[]},"242":{"bindings":[],"clusters":{"input":[],"output":["greenPower"]},"configured_reportings":[],"scenes":[]}},"friendly_name":"Verpan Pantop","ieee_address":"0xf0d1b80000187423","interview_completed":true,"interviewing":false,"manufacturer":"LEDVANCE","model_id":"LEDVANCE DIM","network_address":2730,"power_source":"Mains (single phase)","software_build_id":"00203045","supported":true,"type":"Router"}]'
debug 2022-01-10 22:40:28: Received MQTT message on 'zigbee2mqtt/bridge/groups' with data '[{"friendly_name":"default_bind_group","id":901,"members":[],"scenes":[]}]'
debug 2022-01-10 22:40:28: Received MQTT message on 'zigbee2mqtt/bridge/extensions' with data '[]'
debug 2022-01-10 22:40:28: Received MQTT message on 'zigbee2mqtt/bridge/config/remove' with data '0x0017880103e5fc56'
debug 2022-01-10 22:40:28: Received MQTT message on 'zigbee2mqtt/Ikea Shortcut button/availability' with data 'online'
debug 2022-01-10 22:40:28: Received MQTT message on 'zigbee2mqtt/Z-Bee Duo CC2652P router/availability' with data 'offline'
debug 2022-01-10 22:40:28: Received MQTT message on 'zigbee2mqtt/Ikea Shortcut button 2/availability' with data 'online'
debug 2022-01-10 22:40:28: Received MQTT message on 'zigbee2mqtt/Verpan Pantop/availability' with data 'online'
debug 2022-01-10 22:40:28: Received MQTT message on 'zigbee2mqtt/CUSTOM ROUTER/availability' with data 'online'
info  2022-01-10 22:40:28: Started frontend on port 0.0.0.0:9442
info  2022-01-10 22:40:28: MQTT publish: topic 'homeassistant/sensor/0xb4e3f9fffe756fed/battery/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"configuration_url":"https://z2m.i7.dk/#/device/0xb4e3f9fffe756fed/info","identifiers":["zigbee2mqtt_0xb4e3f9fffe756fed"],"manufacturer":"IKEA","model":"TRADFRI shortcut button (E1812)","name":"Ikea Shortcut button","sw_version":"2.3.015"},"device_class":"battery","enabled_by_default":true,"entity_category":"diagnostic","name":"Ikea Shortcut button battery","state_class":"measurement","state_topic":"zigbee2mqtt/Ikea Shortcut button","unique_id":"0xb4e3f9fffe756fed_battery_zigbee2mqtt","unit_of_measurement":"%","value_template":"{{ value_json.battery }}"}'
info  2022-01-10 22:40:28: MQTT publish: topic 'homeassistant/sensor/0xb4e3f9fffe756fed/linkquality/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"configuration_url":"https://z2m.i7.dk/#/device/0xb4e3f9fffe756fed/info","identifiers":["zigbee2mqtt_0xb4e3f9fffe756fed"],"manufacturer":"IKEA","model":"TRADFRI shortcut button (E1812)","name":"Ikea Shortcut button","sw_version":"2.3.015"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:signal","name":"Ikea Shortcut button linkquality","state_class":"measurement","state_topic":"zigbee2mqtt/Ikea Shortcut button","unique_id":"0xb4e3f9fffe756fed_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
info  2022-01-10 22:40:28: MQTT publish: topic 'homeassistant/sensor/0xb4e3f9fffe756fed/update_state/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"configuration_url":"https://z2m.i7.dk/#/device/0xb4e3f9fffe756fed/info","identifiers":["zigbee2mqtt_0xb4e3f9fffe756fed"],"manufacturer":"IKEA","model":"TRADFRI shortcut button (E1812)","name":"Ikea Shortcut button","sw_version":"2.3.015"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:update","name":"Ikea Shortcut button update state","state_topic":"zigbee2mqtt/Ikea Shortcut button","unique_id":"0xb4e3f9fffe756fed_update_state_zigbee2mqtt","value_template":"{{ value_json['update']['state'] }}"}'
info  2022-01-10 22:40:28: MQTT publish: topic 'homeassistant/binary_sensor/0xb4e3f9fffe756fed/update_available/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"configuration_url":"https://z2m.i7.dk/#/device/0xb4e3f9fffe756fed/info","identifiers":["zigbee2mqtt_0xb4e3f9fffe756fed"],"manufacturer":"IKEA","model":"TRADFRI shortcut button (E1812)","name":"Ikea Shortcut button","sw_version":"2.3.015"},"device_class":"update","enabled_by_default":true,"entity_category":"diagnostic","name":"Ikea Shortcut button update available","payload_off":false,"payload_on":true,"state_topic":"zigbee2mqtt/Ikea Shortcut button","unique_id":"0xb4e3f9fffe756fed_update_available_zigbee2mqtt","value_template":"{{ value_json['update']['state'] == \"available\" }}"}'
info  2022-01-10 22:40:28: MQTT publish: topic 'homeassistant/sensor/0x0c4314fffe4e88be/battery/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"configuration_url":"https://z2m.i7.dk/#/device/0x0c4314fffe4e88be/info","identifiers":["zigbee2mqtt_0x0c4314fffe4e88be"],"manufacturer":"IKEA","model":"TRADFRI shortcut button (E1812)","name":"Ikea Shortcut button 2","sw_version":"2.3.015"},"device_class":"battery","enabled_by_default":true,"entity_category":"diagnostic","name":"Ikea Shortcut button 2 battery","state_class":"measurement","state_topic":"zigbee2mqtt/Ikea Shortcut button 2","unique_id":"0x0c4314fffe4e88be_battery_zigbee2mqtt","unit_of_measurement":"%","value_template":"{{ value_json.battery }}"}'
info  2022-01-10 22:40:28: MQTT publish: topic 'homeassistant/sensor/0x0c4314fffe4e88be/linkquality/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"configuration_url":"https://z2m.i7.dk/#/device/0x0c4314fffe4e88be/info","identifiers":["zigbee2mqtt_0x0c4314fffe4e88be"],"manufacturer":"IKEA","model":"TRADFRI shortcut button (E1812)","name":"Ikea Shortcut button 2","sw_version":"2.3.015"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:signal","name":"Ikea Shortcut button 2 linkquality","state_class":"measurement","state_topic":"zigbee2mqtt/Ikea Shortcut button 2","unique_id":"0x0c4314fffe4e88be_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
info  2022-01-10 22:40:28: MQTT publish: topic 'homeassistant/sensor/0x0c4314fffe4e88be/update_state/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"configuration_url":"https://z2m.i7.dk/#/device/0x0c4314fffe4e88be/info","identifiers":["zigbee2mqtt_0x0c4314fffe4e88be"],"manufacturer":"IKEA","model":"TRADFRI shortcut button (E1812)","name":"Ikea Shortcut button 2","sw_version":"2.3.015"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:update","name":"Ikea Shortcut button 2 update state","state_topic":"zigbee2mqtt/Ikea Shortcut button 2","unique_id":"0x0c4314fffe4e88be_update_state_zigbee2mqtt","value_template":"{{ value_json['update']['state'] }}"}'
info  2022-01-10 22:40:28: MQTT publish: topic 'homeassistant/binary_sensor/0x0c4314fffe4e88be/update_available/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"configuration_url":"https://z2m.i7.dk/#/device/0x0c4314fffe4e88be/info","identifiers":["zigbee2mqtt_0x0c4314fffe4e88be"],"manufacturer":"IKEA","model":"TRADFRI shortcut button (E1812)","name":"Ikea Shortcut button 2","sw_version":"2.3.015"},"device_class":"update","enabled_by_default":true,"entity_category":"diagnostic","name":"Ikea Shortcut button 2 update available","payload_off":false,"payload_on":true,"state_topic":"zigbee2mqtt/Ikea Shortcut button 2","unique_id":"0x0c4314fffe4e88be_update_available_zigbee2mqtt","value_template":"{{ value_json['update']['state'] == \"available\" }}"}'
info  2022-01-10 22:40:28: MQTT publish: topic 'homeassistant/light/0xf0d1b80000187423/light/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"brightness":true,"brightness_scale":254,"command_topic":"zigbee2mqtt/Verpan Pantop/set","device":{"configuration_url":"https://z2m.i7.dk/#/device/0xf0d1b80000187423/info","identifiers":["zigbee2mqtt_0xf0d1b80000187423"],"manufacturer":"LEDVANCE","model":"SMART+ candle E14 tunable white (4058075208421)","name":"Verpan Pantop","sw_version":"00203045"},"effect":true,"effect_list":["blink","breathe","okay","channel_change","finish_effect","stop_effect"],"name":"Verpan Pantop","schema":"json","state_topic":"zigbee2mqtt/Verpan Pantop","unique_id":"0xf0d1b80000187423_light_zigbee2mqtt"}'
info  2022-01-10 22:40:28: MQTT publish: topic 'homeassistant/sensor/0xf0d1b80000187423/linkquality/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"configuration_url":"https://z2m.i7.dk/#/device/0xf0d1b80000187423/info","identifiers":["zigbee2mqtt_0xf0d1b80000187423"],"manufacturer":"LEDVANCE","model":"SMART+ candle E14 tunable white (4058075208421)","name":"Verpan Pantop","sw_version":"00203045"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:signal","name":"Verpan Pantop linkquality","state_class":"measurement","state_topic":"zigbee2mqtt/Verpan Pantop","unique_id":"0xf0d1b80000187423_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
info  2022-01-10 22:40:28: MQTT publish: topic 'homeassistant/sensor/0xf0d1b80000187423/update_state/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"configuration_url":"https://z2m.i7.dk/#/device/0xf0d1b80000187423/info","identifiers":["zigbee2mqtt_0xf0d1b80000187423"],"manufacturer":"LEDVANCE","model":"SMART+ candle E14 tunable white (4058075208421)","name":"Verpan Pantop","sw_version":"00203045"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:update","name":"Verpan Pantop update state","state_topic":"zigbee2mqtt/Verpan Pantop","unique_id":"0xf0d1b80000187423_update_state_zigbee2mqtt","value_template":"{{ value_json['update']['state'] }}"}'
info  2022-01-10 22:40:28: MQTT publish: topic 'homeassistant/binary_sensor/0xf0d1b80000187423/update_available/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"configuration_url":"https://z2m.i7.dk/#/device/0xf0d1b80000187423/info","identifiers":["zigbee2mqtt_0xf0d1b80000187423"],"manufacturer":"LEDVANCE","model":"SMART+ candle E14 tunable white (4058075208421)","name":"Verpan Pantop","sw_version":"00203045"},"device_class":"update","enabled_by_default":true,"entity_category":"diagnostic","name":"Verpan Pantop update available","payload_off":false,"payload_on":true,"state_topic":"zigbee2mqtt/Verpan Pantop","unique_id":"0xf0d1b80000187423_update_available_zigbee2mqtt","value_template":"{{ value_json['update']['state'] == \"available\" }}"}'
info  2022-01-10 22:40:28: MQTT publish: topic 'zigbee2mqtt/Ikea Shortcut button', payload '{"battery":16,"device":{"applicationVersion":33,"dateCode":"20190715","friendlyName":"Ikea Shortcut button","hardwareVersion":1,"ieeeAddr":"0xb4e3f9fffe756fed","manufacturerID":4476,"manufacturerName":"IKEA of Sweden","model":"E1812","networkAddress":8981,"powerSource":"Battery","softwareBuildID":"2.3.015","stackVersion":98,"type":"EndDevice","zclVersion":3},"linkquality":null,"update":{"state":"available"},"update_available":null}'
info  2022-01-10 22:40:28: MQTT publish: topic 'zigbee2mqtt/Ikea Shortcut button 2', payload '{"battery":16,"device":{"applicationVersion":33,"dateCode":"20190715","friendlyName":"Ikea Shortcut button 2","hardwareVersion":1,"ieeeAddr":"0x0c4314fffe4e88be","manufacturerID":4476,"manufacturerName":"IKEA of Sweden","model":"E1812","networkAddress":117,"powerSource":"Battery","softwareBuildID":"2.3.015","stackVersion":98,"type":"EndDevice","zclVersion":3},"linkquality":null,"update":{"state":"available"},"update_available":null}'
info  2022-01-10 22:40:28: MQTT publish: topic 'zigbee2mqtt/Verpan Pantop', payload '{"brightness":254,"device":{"applicationVersion":0,"friendlyName":"Verpan Pantop","hardwareVersion":2,"ieeeAddr":"0xf0d1b80000187423","manufacturerID":4489,"manufacturerName":"LEDVANCE","model":"4058075208421","networkAddress":2730,"powerSource":"Mains (single phase)","softwareBuildID":"00203045","stackVersion":0,"type":"Router","zclVersion":3},"linkquality":null,"state":"ON","update":{"state":"available"},"update_available":null}'
debug 2022-01-10 22:40:28: Received MQTT message on 'homeassistant/cover/025ca19261a3/config' with data ' { "cmd_t": "~/set", "pos_t": "~/position","pos_open": 2, "pos_clsd": 99, "set_pos_t": "~/set_position","avty_t": "~/available", "pl_avail": "online", "pl_not_avail": "offline","dev_cla": "shade", "name": "Blind", "uniq_id": "025ca19261a3_am43_cover", "~": "am43/025ca19261a3"}'
debug 2022-01-10 22:40:28: Received MQTT message on 'homeassistant/sensor/025ca19261a3_Battery/config' with data ' { "device_class": "battery","name":"Blind Battery", "stat_t": "~/battery", "unit_of_meas": "%","avty_t": "~/available", "uniq_id": "025ca19261a3_am43_battery", "~": "am43/025ca19261a3"}'
debug 2022-01-10 22:40:28: Received MQTT message on 'homeassistant/sensor/025ca19261a3_Light/config' with data ' { "device_class": "illuminance","name":"Blind Light", "stat_t": "~/light", "unit_of_meas": "%","avty_t": "~/available", "uniq_id": "025ca19261a3_am43_light", "~": "am43/025ca19261a3"}'
debug 2022-01-10 22:40:28: Received MQTT message on 'homeassistant/sensor/0xb4e3f9fffe756fed/battery/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"configuration_url":"https://z2m.i7.dk/#/device/0xb4e3f9fffe756fed/info","identifiers":["zigbee2mqtt_0xb4e3f9fffe756fed"],"manufacturer":"IKEA","model":"TRADFRI shortcut button (E1812)","name":"Ikea Shortcut button","sw_version":"2.3.015"},"device_class":"battery","enabled_by_default":true,"entity_category":"diagnostic","name":"Ikea Shortcut button battery","state_class":"measurement","state_topic":"zigbee2mqtt/Ikea Shortcut button","unique_id":"0xb4e3f9fffe756fed_battery_zigbee2mqtt","unit_of_measurement":"%","value_template":"{{ value_json.battery }}"}'
debug 2022-01-10 22:40:28: Received MQTT message on 'homeassistant/sensor/0xb4e3f9fffe756fed/linkquality/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"configuration_url":"https://z2m.i7.dk/#/device/0xb4e3f9fffe756fed/info","identifiers":["zigbee2mqtt_0xb4e3f9fffe756fed"],"manufacturer":"IKEA","model":"TRADFRI shortcut button (E1812)","name":"Ikea Shortcut button","sw_version":"2.3.015"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:signal","name":"Ikea Shortcut button linkquality","state_class":"measurement","state_topic":"zigbee2mqtt/Ikea Shortcut button","unique_id":"0xb4e3f9fffe756fed_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
debug 2022-01-10 22:40:28: Received MQTT message on 'homeassistant/sensor/0xb4e3f9fffe756fed/update_state/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"configuration_url":"https://z2m.i7.dk/#/device/0xb4e3f9fffe756fed/info","identifiers":["zigbee2mqtt_0xb4e3f9fffe756fed"],"manufacturer":"IKEA","model":"TRADFRI shortcut button (E1812)","name":"Ikea Shortcut button","sw_version":"2.3.015"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:update","name":"Ikea Shortcut button update state","state_topic":"zigbee2mqtt/Ikea Shortcut button","unique_id":"0xb4e3f9fffe756fed_update_state_zigbee2mqtt","value_template":"{{ value_json['update']['state'] }}"}'
debug 2022-01-10 22:40:28: Received MQTT message on 'homeassistant/sensor/0x0c4314fffe4e88be/battery/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"configuration_url":"https://z2m.i7.dk/#/device/0x0c4314fffe4e88be/info","identifiers":["zigbee2mqtt_0x0c4314fffe4e88be"],"manufacturer":"IKEA","model":"TRADFRI shortcut button (E1812)","name":"Ikea Shortcut button 2","sw_version":"2.3.015"},"device_class":"battery","enabled_by_default":true,"entity_category":"diagnostic","name":"Ikea Shortcut button 2 battery","state_class":"measurement","state_topic":"zigbee2mqtt/Ikea Shortcut button 2","unique_id":"0x0c4314fffe4e88be_battery_zigbee2mqtt","unit_of_measurement":"%","value_template":"{{ value_json.battery }}"}'
debug 2022-01-10 22:40:28: Received MQTT message on 'homeassistant/sensor/0x0c4314fffe4e88be/linkquality/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"configuration_url":"https://z2m.i7.dk/#/device/0x0c4314fffe4e88be/info","identifiers":["zigbee2mqtt_0x0c4314fffe4e88be"],"manufacturer":"IKEA","model":"TRADFRI shortcut button (E1812)","name":"Ikea Shortcut button 2","sw_version":"2.3.015"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:signal","name":"Ikea Shortcut button 2 linkquality","state_class":"measurement","state_topic":"zigbee2mqtt/Ikea Shortcut button 2","unique_id":"0x0c4314fffe4e88be_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
debug 2022-01-10 22:40:28: Received MQTT message on 'homeassistant/sensor/0x0c4314fffe4e88be/update_state/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"configuration_url":"https://z2m.i7.dk/#/device/0x0c4314fffe4e88be/info","identifiers":["zigbee2mqtt_0x0c4314fffe4e88be"],"manufacturer":"IKEA","model":"TRADFRI shortcut button (E1812)","name":"Ikea Shortcut button 2","sw_version":"2.3.015"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:update","name":"Ikea Shortcut button 2 update state","state_topic":"zigbee2mqtt/Ikea Shortcut button 2","unique_id":"0x0c4314fffe4e88be_update_state_zigbee2mqtt","value_template":"{{ value_json['update']['state'] }}"}'
debug 2022-01-10 22:40:28: Received MQTT message on 'homeassistant/sensor/0xf0d1b80000187423/linkquality/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"configuration_url":"https://z2m.i7.dk/#/device/0xf0d1b80000187423/info","identifiers":["zigbee2mqtt_0xf0d1b80000187423"],"manufacturer":"LEDVANCE","model":"SMART+ candle E14 tunable white (4058075208421)","name":"Verpan Pantop","sw_version":"00203045"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:signal","name":"Verpan Pantop linkquality","state_class":"measurement","state_topic":"zigbee2mqtt/Verpan Pantop","unique_id":"0xf0d1b80000187423_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
debug 2022-01-10 22:40:28: Received MQTT message on 'homeassistant/sensor/0xf0d1b80000187423/update_state/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"configuration_url":"https://z2m.i7.dk/#/device/0xf0d1b80000187423/info","identifiers":["zigbee2mqtt_0xf0d1b80000187423"],"manufacturer":"LEDVANCE","model":"SMART+ candle E14 tunable white (4058075208421)","name":"Verpan Pantop","sw_version":"00203045"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:update","name":"Verpan Pantop update state","state_topic":"zigbee2mqtt/Verpan Pantop","unique_id":"0xf0d1b80000187423_update_state_zigbee2mqtt","value_template":"{{ value_json['update']['state'] }}"}'
debug 2022-01-10 22:40:28: Received MQTT message on 'homeassistant/device_automation/0xb4e3f9fffe756fed/action_on/config' with data '{"automation_type":"trigger","device":{"configuration_url":"https://z2m.i7.dk/#/device/0xb4e3f9fffe756fed/info","identifiers":["zigbee2mqtt_0xb4e3f9fffe756fed"],"manufacturer":"IKEA","model":"TRADFRI shortcut button (E1812)","name":"Ikea Shortcut button","sw_version":"2.3.015"},"payload":"on","subtype":"on","topic":"zigbee2mqtt/Ikea Shortcut button/action","type":"action"}'
debug 2022-01-10 22:40:28: Received MQTT message on 'homeassistant/device_automation/0xb4e3f9fffe756fed/action_brightness_move_up/config' with data '{"automation_type":"trigger","device":{"configuration_url":"https://z2m.i7.dk/#/device/0xb4e3f9fffe756fed/info","identifiers":["zigbee2mqtt_0xb4e3f9fffe756fed"],"manufacturer":"IKEA","model":"TRADFRI shortcut button (E1812)","name":"Ikea Shortcut button","sw_version":"2.3.015"},"payload":"brightness_move_up","subtype":"brightness_move_up","topic":"zigbee2mqtt/Ikea Shortcut button/action","type":"action"}'
debug 2022-01-10 22:40:28: Received MQTT message on 'homeassistant/device_automation/0xb4e3f9fffe756fed/action_brightness_stop/config' with data '{"automation_type":"trigger","device":{"configuration_url":"https://z2m.i7.dk/#/device/0xb4e3f9fffe756fed/info","identifiers":["zigbee2mqtt_0xb4e3f9fffe756fed"],"manufacturer":"IKEA","model":"TRADFRI shortcut button (E1812)","name":"Ikea Shortcut button","sw_version":"2.3.015"},"payload":"brightness_stop","subtype":"brightness_stop","topic":"zigbee2mqtt/Ikea Shortcut button/action","type":"action"}'
debug 2022-01-10 22:40:28: Received MQTT message on 'homeassistant/device_automation/0x0c4314fffe4e88be/action_on/config' with data '{"automation_type":"trigger","device":{"configuration_url":"https://z2m.i7.dk/#/device/0x0c4314fffe4e88be/info","identifiers":["zigbee2mqtt_0x0c4314fffe4e88be"],"manufacturer":"IKEA","model":"TRADFRI shortcut button (E1812)","name":"Ikea Shortcut button 2","sw_version":"2.3.015"},"payload":"on","subtype":"on","topic":"zigbee2mqtt/Ikea Shortcut button 2/action","type":"action"}'
debug 2022-01-10 22:40:28: Received MQTT message on 'homeassistant/device_automation/0x0c4314fffe4e88be/action_brightness_move_up/config' with data '{"automation_type":"trigger","device":{"configuration_url":"https://z2m.i7.dk/#/device/0x0c4314fffe4e88be/info","identifiers":["zigbee2mqtt_0x0c4314fffe4e88be"],"manufacturer":"IKEA","model":"TRADFRI shortcut button (E1812)","name":"Ikea Shortcut button 2","sw_version":"2.3.015"},"payload":"brightness_move_up","subtype":"brightness_move_up","topic":"zigbee2mqtt/Ikea Shortcut button 2/action","type":"action"}'
debug 2022-01-10 22:40:28: Received MQTT message on 'homeassistant/device_automation/0x0c4314fffe4e88be/action_brightness_stop/config' with data '{"automation_type":"trigger","device":{"configuration_url":"https://z2m.i7.dk/#/device/0x0c4314fffe4e88be/info","identifiers":["zigbee2mqtt_0x0c4314fffe4e88be"],"manufacturer":"IKEA","model":"TRADFRI shortcut button (E1812)","name":"Ikea Shortcut button 2","sw_version":"2.3.015"},"payload":"brightness_stop","subtype":"brightness_stop","topic":"zigbee2mqtt/Ikea Shortcut button 2/action","type":"action"}'
debug 2022-01-10 22:40:28: Received MQTT message on 'homeassistant/binary_sensor/0xb4e3f9fffe756fed/update_available/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"configuration_url":"https://z2m.i7.dk/#/device/0xb4e3f9fffe756fed/info","identifiers":["zigbee2mqtt_0xb4e3f9fffe756fed"],"manufacturer":"IKEA","model":"TRADFRI shortcut button (E1812)","name":"Ikea Shortcut button","sw_version":"2.3.015"},"device_class":"update","enabled_by_default":true,"entity_category":"diagnostic","name":"Ikea Shortcut button update available","payload_off":false,"payload_on":true,"state_topic":"zigbee2mqtt/Ikea Shortcut button","unique_id":"0xb4e3f9fffe756fed_update_available_zigbee2mqtt","value_template":"{{ value_json['update']['state'] == \"available\" }}"}'
debug 2022-01-10 22:40:28: Received MQTT message on 'homeassistant/binary_sensor/0x0c4314fffe4e88be/update_available/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"configuration_url":"https://z2m.i7.dk/#/device/0x0c4314fffe4e88be/info","identifiers":["zigbee2mqtt_0x0c4314fffe4e88be"],"manufacturer":"IKEA","model":"TRADFRI shortcut button (E1812)","name":"Ikea Shortcut button 2","sw_version":"2.3.015"},"device_class":"update","enabled_by_default":true,"entity_category":"diagnostic","name":"Ikea Shortcut button 2 update available","payload_off":false,"payload_on":true,"state_topic":"zigbee2mqtt/Ikea Shortcut button 2","unique_id":"0x0c4314fffe4e88be_update_available_zigbee2mqtt","value_template":"{{ value_json['update']['state'] == \"available\" }}"}'
debug 2022-01-10 22:40:28: Received MQTT message on 'homeassistant/binary_sensor/0xf0d1b80000187423/update_available/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"configuration_url":"https://z2m.i7.dk/#/device/0xf0d1b80000187423/info","identifiers":["zigbee2mqtt_0xf0d1b80000187423"],"manufacturer":"LEDVANCE","model":"SMART+ candle E14 tunable white (4058075208421)","name":"Verpan Pantop","sw_version":"00203045"},"device_class":"update","enabled_by_default":true,"entity_category":"diagnostic","name":"Verpan Pantop update available","payload_off":false,"payload_on":true,"state_topic":"zigbee2mqtt/Verpan Pantop","unique_id":"0xf0d1b80000187423_update_available_zigbee2mqtt","value_template":"{{ value_json['update']['state'] == \"available\" }}"}'
debug 2022-01-10 22:40:28: Received MQTT message on 'homeassistant/light/0xf0d1b80000187423/light/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"brightness":true,"brightness_scale":254,"command_topic":"zigbee2mqtt/Verpan Pantop/set","device":{"configuration_url":"https://z2m.i7.dk/#/device/0xf0d1b80000187423/info","identifiers":["zigbee2mqtt_0xf0d1b80000187423"],"manufacturer":"LEDVANCE","model":"SMART+ candle E14 tunable white (4058075208421)","name":"Verpan Pantop","sw_version":"00203045"},"effect":true,"effect_list":["blink","breathe","okay","channel_change","finish_effect","stop_effect"],"name":"Verpan Pantop","schema":"json","state_topic":"zigbee2mqtt/Verpan Pantop","unique_id":"0xf0d1b80000187423_light_zigbee2mqtt"}'
debug 2022-01-10 22:40:28: Received MQTT message on 'homeassistant/sensor/0xb4e3f9fffe756fed/battery/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"configuration_url":"https://z2m.i7.dk/#/device/0xb4e3f9fffe756fed/info","identifiers":["zigbee2mqtt_0xb4e3f9fffe756fed"],"manufacturer":"IKEA","model":"TRADFRI shortcut button (E1812)","name":"Ikea Shortcut button","sw_version":"2.3.015"},"device_class":"battery","enabled_by_default":true,"entity_category":"diagnostic","name":"Ikea Shortcut button battery","state_class":"measurement","state_topic":"zigbee2mqtt/Ikea Shortcut button","unique_id":"0xb4e3f9fffe756fed_battery_zigbee2mqtt","unit_of_measurement":"%","value_template":"{{ value_json.battery }}"}'
debug 2022-01-10 22:40:28: Received MQTT message on 'homeassistant/sensor/0xb4e3f9fffe756fed/linkquality/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"configuration_url":"https://z2m.i7.dk/#/device/0xb4e3f9fffe756fed/info","identifiers":["zigbee2mqtt_0xb4e3f9fffe756fed"],"manufacturer":"IKEA","model":"TRADFRI shortcut button (E1812)","name":"Ikea Shortcut button","sw_version":"2.3.015"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:signal","name":"Ikea Shortcut button linkquality","state_class":"measurement","state_topic":"zigbee2mqtt/Ikea Shortcut button","unique_id":"0xb4e3f9fffe756fed_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
debug 2022-01-10 22:40:28: Received MQTT message on 'homeassistant/sensor/0xb4e3f9fffe756fed/update_state/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"configuration_url":"https://z2m.i7.dk/#/device/0xb4e3f9fffe756fed/info","identifiers":["zigbee2mqtt_0xb4e3f9fffe756fed"],"manufacturer":"IKEA","model":"TRADFRI shortcut button (E1812)","name":"Ikea Shortcut button","sw_version":"2.3.015"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:update","name":"Ikea Shortcut button update state","state_topic":"zigbee2mqtt/Ikea Shortcut button","unique_id":"0xb4e3f9fffe756fed_update_state_zigbee2mqtt","value_template":"{{ value_json['update']['state'] }}"}'
debug 2022-01-10 22:40:28: Received MQTT message on 'homeassistant/binary_sensor/0xb4e3f9fffe756fed/update_available/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"configuration_url":"https://z2m.i7.dk/#/device/0xb4e3f9fffe756fed/info","identifiers":["zigbee2mqtt_0xb4e3f9fffe756fed"],"manufacturer":"IKEA","model":"TRADFRI shortcut button (E1812)","name":"Ikea Shortcut button","sw_version":"2.3.015"},"device_class":"update","enabled_by_default":true,"entity_category":"diagnostic","name":"Ikea Shortcut button update available","payload_off":false,"payload_on":true,"state_topic":"zigbee2mqtt/Ikea Shortcut button","unique_id":"0xb4e3f9fffe756fed_update_available_zigbee2mqtt","value_template":"{{ value_json['update']['state'] == \"available\" }}"}'
debug 2022-01-10 22:40:28: Received MQTT message on 'homeassistant/sensor/0x0c4314fffe4e88be/battery/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"configuration_url":"https://z2m.i7.dk/#/device/0x0c4314fffe4e88be/info","identifiers":["zigbee2mqtt_0x0c4314fffe4e88be"],"manufacturer":"IKEA","model":"TRADFRI shortcut button (E1812)","name":"Ikea Shortcut button 2","sw_version":"2.3.015"},"device_class":"battery","enabled_by_default":true,"entity_category":"diagnostic","name":"Ikea Shortcut button 2 battery","state_class":"measurement","state_topic":"zigbee2mqtt/Ikea Shortcut button 2","unique_id":"0x0c4314fffe4e88be_battery_zigbee2mqtt","unit_of_measurement":"%","value_template":"{{ value_json.battery }}"}'
debug 2022-01-10 22:40:28: Received MQTT message on 'homeassistant/sensor/0x0c4314fffe4e88be/linkquality/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"configuration_url":"https://z2m.i7.dk/#/device/0x0c4314fffe4e88be/info","identifiers":["zigbee2mqtt_0x0c4314fffe4e88be"],"manufacturer":"IKEA","model":"TRADFRI shortcut button (E1812)","name":"Ikea Shortcut button 2","sw_version":"2.3.015"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:signal","name":"Ikea Shortcut button 2 linkquality","state_class":"measurement","state_topic":"zigbee2mqtt/Ikea Shortcut button 2","unique_id":"0x0c4314fffe4e88be_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
debug 2022-01-10 22:40:28: Received MQTT message on 'homeassistant/sensor/0x0c4314fffe4e88be/update_state/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"configuration_url":"https://z2m.i7.dk/#/device/0x0c4314fffe4e88be/info","identifiers":["zigbee2mqtt_0x0c4314fffe4e88be"],"manufacturer":"IKEA","model":"TRADFRI shortcut button (E1812)","name":"Ikea Shortcut button 2","sw_version":"2.3.015"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:update","name":"Ikea Shortcut button 2 update state","state_topic":"zigbee2mqtt/Ikea Shortcut button 2","unique_id":"0x0c4314fffe4e88be_update_state_zigbee2mqtt","value_template":"{{ value_json['update']['state'] }}"}'
debug 2022-01-10 22:40:28: Received MQTT message on 'homeassistant/binary_sensor/0x0c4314fffe4e88be/update_available/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"configuration_url":"https://z2m.i7.dk/#/device/0x0c4314fffe4e88be/info","identifiers":["zigbee2mqtt_0x0c4314fffe4e88be"],"manufacturer":"IKEA","model":"TRADFRI shortcut button (E1812)","name":"Ikea Shortcut button 2","sw_version":"2.3.015"},"device_class":"update","enabled_by_default":true,"entity_category":"diagnostic","name":"Ikea Shortcut button 2 update available","payload_off":false,"payload_on":true,"state_topic":"zigbee2mqtt/Ikea Shortcut button 2","unique_id":"0x0c4314fffe4e88be_update_available_zigbee2mqtt","value_template":"{{ value_json['update']['state'] == \"available\" }}"}'
debug 2022-01-10 22:40:28: Received MQTT message on 'homeassistant/light/0xf0d1b80000187423/light/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"brightness":true,"brightness_scale":254,"command_topic":"zigbee2mqtt/Verpan Pantop/set","device":{"configuration_url":"https://z2m.i7.dk/#/device/0xf0d1b80000187423/info","identifiers":["zigbee2mqtt_0xf0d1b80000187423"],"manufacturer":"LEDVANCE","model":"SMART+ candle E14 tunable white (4058075208421)","name":"Verpan Pantop","sw_version":"00203045"},"effect":true,"effect_list":["blink","breathe","okay","channel_change","finish_effect","stop_effect"],"name":"Verpan Pantop","schema":"json","state_topic":"zigbee2mqtt/Verpan Pantop","unique_id":"0xf0d1b80000187423_light_zigbee2mqtt"}'
debug 2022-01-10 22:40:28: Received MQTT message on 'homeassistant/sensor/0xf0d1b80000187423/linkquality/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"configuration_url":"https://z2m.i7.dk/#/device/0xf0d1b80000187423/info","identifiers":["zigbee2mqtt_0xf0d1b80000187423"],"manufacturer":"LEDVANCE","model":"SMART+ candle E14 tunable white (4058075208421)","name":"Verpan Pantop","sw_version":"00203045"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:signal","name":"Verpan Pantop linkquality","state_class":"measurement","state_topic":"zigbee2mqtt/Verpan Pantop","unique_id":"0xf0d1b80000187423_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
debug 2022-01-10 22:40:28: Received MQTT message on 'homeassistant/sensor/0xf0d1b80000187423/update_state/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"configuration_url":"https://z2m.i7.dk/#/device/0xf0d1b80000187423/info","identifiers":["zigbee2mqtt_0xf0d1b80000187423"],"manufacturer":"LEDVANCE","model":"SMART+ candle E14 tunable white (4058075208421)","name":"Verpan Pantop","sw_version":"00203045"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:update","name":"Verpan Pantop update state","state_topic":"zigbee2mqtt/Verpan Pantop","unique_id":"0xf0d1b80000187423_update_state_zigbee2mqtt","value_template":"{{ value_json['update']['state'] }}"}'
debug 2022-01-10 22:40:28: Received MQTT message on 'homeassistant/binary_sensor/0xf0d1b80000187423/update_available/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"configuration_url":"https://z2m.i7.dk/#/device/0xf0d1b80000187423/info","identifiers":["zigbee2mqtt_0xf0d1b80000187423"],"manufacturer":"LEDVANCE","model":"SMART+ candle E14 tunable white (4058075208421)","name":"Verpan Pantop","sw_version":"00203045"},"device_class":"update","enabled_by_default":true,"entity_category":"diagnostic","name":"Verpan Pantop update available","payload_off":false,"payload_on":true,"state_topic":"zigbee2mqtt/Verpan Pantop","unique_id":"0xf0d1b80000187423_update_available_zigbee2mqtt","value_template":"{{ value_json['update']['state'] == \"available\" }}"}'
debug 2022-01-10 22:40:35: Received MQTT message on 'zigbee2mqtt/bridge/request/permit_join' with data '{"device":null,"time":254,"transaction":"jr5jn-1","value":true}'
info  2022-01-10 22:40:35: Zigbee: allowing new devices to join.
info  2022-01-10 22:40:35: MQTT publish: topic 'zigbee2mqtt/bridge/response/permit_join', payload '{"data":{"time":254,"value":true},"status":"ok","transaction":"jr5jn-1"}'
debug 2022-01-10 22:41:07: Received MQTT message on 'zigbee2mqtt/bridge/request/permit_join' with data '{"device":null,"time":254,"transaction":"jr5jn-2","value":false}'
info  2022-01-10 22:41:07: Zigbee: disabling joining new devices.
info  2022-01-10 22:41:07: MQTT publish: topic 'zigbee2mqtt/bridge/response/permit_join', payload '{"data":{"time":254,"value":false},"status":"ok","transaction":"jr5jn-2"}'
debug 2022-01-10 22:42:04: Received MQTT message on 'zigbee2mqtt/bridge/request/permit_join' with data '{"device":null,"time":254,"transaction":"jr5jn-3","value":true}'
info  2022-01-10 22:42:04: Zigbee: allowing new devices to join.
info  2022-01-10 22:42:04: MQTT publish: topic 'zigbee2mqtt/bridge/response/permit_join', payload '{"data":{"time":254,"value":true},"status":"ok","transaction":"jr5jn-3"}'
debug 2022-01-10 22:45:27: Saving state to file /app/data/state.json
debug 2022-01-10 22:50:27: Saving state to file /app/data/state.json
mortenmoulder commented 2 years ago

I just tried flashing the Z-Bee Duo CC2652P with PTVO's firmware again, this time setting the status LED to "Sending reports" on DIO_7, and it just keeps flashing every 1 second, which means "the router is connecting to a network".

However, it is not connecting to my Sonoff CC2652P coordinator.

image

mortenmoulder commented 2 years ago

And now I just tried switching from Device type: Router to Device type: End device without routing and it pairs immediately.

What the heck is going on. I changed nothing except the device type. Why won't my device pair as a router? Is there some "underlying" check in Zigbee2MQTT, that won't pair devices based on a certain criteria or something?

dsantos21 commented 2 years ago

Just to add a bit to this: I've had that same problem, but it seems to be caused by having changed firmware back and forth between router and coordinator (some experiments with zzh and sonoff dongle plus 😅).

At same point I had this problem. Not only it didn't pair anymore as router, but my zigbee network would soon crash (had to restart the coordinator).

Checking all logs I could and trying flash again, I realized that both devices (coordinator and router) were using the same serial number (IEEE address). Tried change it in flash programmer and it worked again.

I don't know how it could happen, but that solved for me. I still have some problem with my network, although not related (crash a few times per week), so I disabled that router to try and pin point the problem (still crashing 🙃).

Edit: same thing detailed here: Issue 10449

bojanpotocnik commented 2 years ago

I have similar issue - I have new ZBMINI modules with CC2652P1F chips.

Selecting Board Type CC2652R1 in PTVO. Firmware Configuration 1.6.0.2 causes the board to pair immediately, however selecting CC2652P/CC1352P2 causes Z2M to not pair, despite the module transmitting, as seen with Smart RF Sniffer. Switching Device type: Router to Device type: End device without routing does not help.

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

mortenmoulder commented 2 years ago

Commenting to keep it open.

Koenkk commented 2 years ago

@mortenmoulder

Aralox commented 6 days ago

I had this terrible problem too, and this was the only link I could find that described it happening. I was developing router code on an esp32c6, and z2m suddenly decided to completely ignore my device, with absolutely nothing in the logs, etc. My device behaved as though it was connected to a network. I tried changing the MAC address as described above (although the situation was different and I did not have a clash), but to no avail. What fixed it for me was clearing the zb_storage partition on the device, which also happens when esp_zb_factory_reset() is called. I hope this helps someone, as it was a nightmare to debug.