Closed hmmbob closed 3 years ago
Same here, no further config changes. In my case using a CC2531,
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] socat.sh: executing...
[10:09:11] INFO: Socat not enabled, marking service as down
[cont-init.d] socat.sh: exited 0.
[cont-init.d] zigbee2mqtt.sh: executing...
[10:09:12] INFO: MQTT available, fetching server detail ...
[10:09:12] INFO: Previous config file found, checking backup
[10:09:12] INFO: Creating backup config in '/config/zigbee2mqtt/.configuration.yaml.bk'
[10:09:12] INFO: Adjusting Zigbee2mqtt core yaml config with add-on quirks ...
[cont-init.d] zigbee2mqtt.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[10:09:12] INFO: Handing over control to Zigbee2mqtt Core ...
> zigbee2mqtt@1.19.0 start /app
> node index.js
Zigbee2MQTT:info 2021-06-02 10:09:58: Succesfully changed options
Zigbee2MQTT:info 2021-06-02 10:09:58: MQTT publish: topic 'zigbee2mqtt/bridge/response/options', payload '{"data":{"restart_required":false},"status":"ok","transaction":"bi2gt-2"}'
What adapter/firmware are you using and are you able to reproduce this? If yes please share the herdsman debug log of this.
See https://www.zigbee2mqtt.io/information/debug.html#zigbee-herdsman-debug-logging on how to enable the herdsman debug logging. Note that this is only logged to STDOUT and not to log files.
I was using a CC2531 with 20190109 - was never updated before. But I've upgraded the firmware (and rejoined all devices) in the afternoon, so I don't think I can reproduce reliably....
I have the same problem, I normally have about 8 devices in Zigbee2MQTT, after the update there was only one device left. I also use the CC2531 dongle.
Edit: I tried to restore the last backup and that also removed the last remaining entry from my devices list. :(
I upgraded to 1.19 and also all devices are lost in the Webinterface and the dont respond anymore. But i still have them in the config file
All devices are lost after upgrade. Recovery from the backup did not solve the problem. Devices cannot be added to either a new or an older version. Adapter cc2531.
During operation of the following message type:
error Publish 'set' 'state' to 'RybkiFiltr' failed: 'Error: Command 0x04cf8cdf3c8672e3/1 genOnOff.off({}, {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Data request failed with error: 'No network route' (205))'
When I enable Permit join, the following message:
Failed to call 'BridgeLegacy' 'onMQTTMessage' (Error: SRSP - UTIL - ledControl after 6000ms at Timeout._onTimeout (/app/node_modules/zigbee-herdsman/dist/utils/waitress.js:37:35) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7))
error Request 'zigbee2mqtt/bridge/request/permit_join' failed with error: 'SRSP - UTIL - ledControl after 6000ms'
On start with debug enabled:
Zigbee2MQTT:error 2021-06-03 08:07:04: Failed to set permit join to true Zigbee2MQTT:error 2021-06-03 08:07:37: Failed to set permit join to true Zigbee2MQTT:error 2021-06-03 08:08:33: Request 'zigbee2mqtt/bridge/request/permit_join' failed with error: 'SRSP - UTIL - ledControl after 6000ms' Zigbee2MQTT:error 2021-06-03 08:08:40: Request 'zigbee2mqtt/bridge/request/permit_join' failed with error: 'SRSP - UTIL - ledControl after 6000ms' Zigbee2MQTT:error 2021-06-03 08:08:46: Request 'zigbee2mqtt/bridge/request/permit_join' failed with error: 'SRSP - UTIL - ledControl after 6000ms' Zigbee2MQTT:error 2021-06-03 08:08:52: Request 'zigbee2mqtt/bridge/request/permit_join' failed with error: 'SRSP - UTIL - ledControl after 6000ms' Zigbee2MQTT:error 2021-06-03 08:08:58: Request 'zigbee2mqtt/bridge/request/permit_join' failed with error: 'SRSP - UTIL - ledControl after 6000ms' Zigbee2MQTT:error 2021-06-03 08:10:25: Publish 'set' 'state' to 'RybkiFiltr' failed: 'Error: Command 0x04cf8cdf3c8672e3/1 genOnOff.off({}, {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Data request failed with error: 'No network route' (205))' Zigbee2MQTT:error 2021-06-03 08:17:28: Request 'zigbee2mqtt/bridge/request/permit_join' failed with error: 'SRSP - UTIL - ledControl after 6000ms' Zigbee2MQTT:error 2021-06-03 08:20:25: Publish 'set' 'state' to 'RybkiFiltr' failed: 'Error: Command 0x04cf8cdf3c8672e3/1 genOnOff.off({}, {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Data request failed with error: 'No network route' (205))' [cont-finish.d] executing container finish scripts... [cont-finish.d] done. [s6-finish] waiting for services.
All devices have message in log like this:
Zigbee2MQTT:debug 2021-06-03 08:32:04: Received MQTT message on 'homeassistant/sensor/0x00158d0006a06b7c/linkquality/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00158d0006a06b7c"],"manufacturer":"Xiaomi","model":"Aqara temperature, humidity and pressure sensor (WSDCGQ11LM)","name":"Klimat seni","sw_version":"Zigbee2MQTT 1.19.0"},"icon":"mdi:signal","json_attributes_topic":"zigbee2mqtt/Klimat seni","name":"Klimat seni linkquality","state_topic":"zigbee2mqtt/Klimat seni","unique_id":"0x00158d0006a06b7c_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
Same for me, I had about 30 devices and all of them are gone... They still show up in configuration.yaml
- I updated this night to the latest version and cannot rejoin with any of them.
Same issue
Please try to reproduce this and provide the log as asked in https://github.com/Koenkk/zigbee2mqtt/issues/7665#issuecomment-853258232 . Otherwise I cannot help.
My previous message have all error from log with debug enabled.
Please try to reproduce this and provide the log as asked in #7665 (comment) . Otherwise I cannot help.
OK running a CC2531 here, running Zigbee2MQTT in docker with latest-dev
branch because I got a lot of errors with the latest
branch. Dev seemed to work fine. Added zigbee-herdsman*
to environment variable with Key DEBUG
.
Log:
debug 2021-06-03 10:02:47: Loaded state from file /app/data/state.json
info 2021-06-03 10:02:47: Logging to console and directory: '/app/data/log/2021-06-03.10-02-46' filename: log.txt
debug 2021-06-03 10:02:47: Removing old log directory '/app/data/log/2021-06-03.04-38-55'
info 2021-06-03 10:02:47: Starting Zigbee2MQTT version 1.19.0-dev (commit #c508155)
info 2021-06-03 10:02:47: Starting zigbee-herdsman (0.13.111)
debug 2021-06-03 10:02:47: 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/ttyACM0"}}'
info 2021-06-03 10:02:50: zigbee-herdsman started
info 2021-06-03 10:02:50: Coordinator firmware version: '{"meta":{"maintrel":3,"majorrel":2,"minorrel":6,"product":0,"revision":20201127,"transportrev":2},"type":"zStack12"}'
debug 2021-06-03 10:02:50: Zigbee network parameters: {"channel":11,"extendedPanID":"0x00124b001cce0bc1","panID":6754}
info 2021-06-03 10:02:50: Currently 3 devices are joined:
info 2021-06-03 10:02:50: motion_hallway (0x0017880109170175): 9290012607 - Philips Hue motion sensor (EndDevice)
info 2021-06-03 10:02:50: 0x680ae2fffe3e0536 (0x680ae2fffe3e0536): Not supported (Unknown)
info 2021-06-03 10:02:50: bathroom (0x00178801096cb1d9): Not supported (Unknown)
warn 2021-06-03 10:02:50: `permit_join` set to `true` in configuration.yaml.
warn 2021-06-03 10:02:50: Allowing new devices to join.
warn 2021-06-03 10:02:50: Set `permit_join` to `false` once you joined all devices.
info 2021-06-03 10:02:50: Zigbee: allowing new devices to join.
info 2021-06-03 10:02:50: Started frontend on port 0.0.0.0:8080
info 2021-06-03 10:02:50: Connecting to MQTT server at mqtt://192.168.1.101
debug 2021-06-03 10:02:50: Using MQTT anonymous login
info 2021-06-03 10:02:50: Connected to MQTT server
info 2021-06-03 10:02:50: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'online'
info 2021-06-03 10:02:50: MQTT publish: topic 'zigbee2mqtt/motion_hallway', payload '{"battery":100,"illuminance":16267,"illuminance_lux":42,"led_indication":null,"linkquality":null,"motion_sensitivity":"medium","occupancy":false,"occupancy_timeout":0,"temperature":21.52,"update":{"state":"available"},"update_available":true}'
info 2021-06-03 10:02:50: MQTT publish: topic 'zigbee2mqtt/0x680ae2fffe3e0536', payload '{"battery":74,"brightness":255,"rate":195,"update":{"state":"idle"},"update_available":false}'
info 2021-06-03 10:02:50: MQTT publish: topic 'zigbee2mqtt/bathroom', payload '{"brightness":3,"color_mode":"color_temp","color_temp":454,"state":"ON","update":{"state":"available"},"update_available":true}'
debug 2021-06-03 10:02:50: Received MQTT message on 'zigbee2mqtt/bridge/info' with data '{"commit":"c508155","config":{"advanced":{"adapter_concurrent":null,"adapter_delay":null,"availability_blacklist":[],"availability_blocklist":[],"availability_passlist":[],"availability_timeout":0,"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_triggers":true,"homeassistant_status_topic":"hass/status","last_seen":"disable","legacy_api":true,"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":{},"pan_id":6754,"report":false,"soft_reset_timeout":0,"timestamp_format":"YYYY-MM-DD HH:mm:ss"},"ban":[],"blocklist":[],"device_options":{},"devices":{"0x00158d0006c3c7e3":{"friendly_name":"door_living_room"},"0x00158d0006d6c381":{"friendly_name":"humidity_bathroom"},"0x00158d0006e49bd1":{"friendly_name":"humidity_living_room"},"0x00178801020ebff1":{"friendly_name":"dimmer"},"0x00178801023d0fff":{"friendly_name":"storage"},"0x0017880108cb0555":{"friendly_name":"bedroom_2"},"0x001788010905d487":{"friendly_name":"tv_filament"},"0x001788010916e6e8":{"friendly_name":"motion_storage"},"0x0017880109170175":{"friendly_name":"motion_hallway"},"0x00178801091714a4":{"friendly_name":"motion_bathroom"},"0x00178801092a31cd":{"friendly_name":"living_room_1"},"0x00178801092a333d":{"friendly_name":"bedroom_1"},"0x00178801092a4fa3":{"friendly_name":"living_room_2"},"0x00178801092a501e":{"friendly_name":"dining_table_1"},"0x00178801092a5024":{"friendly_name":"dining_table_2"},"0x00178801092a50a1":{"friendly_name":"kitchen_2"},"0x00178801092adb7b":{"friendly_name":"desk"},"0x00178801092adfba":{"friendly_name":"kitchen_1"},"0x00178801092adfdf":{"friendly_name":"living_room_3"},"0x00178801092e1016":{"friendly_name":"bedroom_3"},"0x00178801096cb1d9":{"friendly_name":"bathroom"},"0x00178801096d06c7":{"friendly_name":"hallway"},"0x001788010b0032c0":{"friendly_name":"switch_living_room_1"},"0x001788010b0032c1":{"friendly_name":"switch_living_room_2"},"0x001788010b00341d":{"friendly_name":"switch_bedroom"},"0x001788010b00341e":{"friendly_name":"switch_dining_table"},"0x001788010b00342b":{"friendly_name":"switch_hallway"},"0x5c0272fffe29900b":{"friendly_name":"symfonisk_bedroom","legacy":false},"0x60a423fffebf43a7":{"friendly_name":"kitchen_counter"},"0x680ae2fffe2f465d":{"friendly_name":"shower_mode"},"0x680ae2fffe3a8f6f":{"friendly_name":"0x680ae2fffe3a8f6f"},"0x680ae2fffe3e0536":{"friendly_name":"0x680ae2fffe3e0536"},"0x804b50fffe8a9d21":{"friendly_name":"tradfri_switch"}},"experimental":{"output":"json"},"external_converters":[],"frontend":{"host":"0.0.0.0","port":8080},"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":false,"server":"mqtt://192.168.1.101"},"ota":{"disable_automatic_update_check":false,"update_check_interval":1440},"passlist":[],"permit_join":true,"serial":{"disable_led":false,"port":"/dev/ttyACM0"},"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":{"descritption":"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"]},"availability_blacklist":{"items":{"type":"string"},"readOnly":true,"requiresRestart":true,"title":"Availability blacklist (deprecated, use availability_blocklist)","type":"array"},"availability_blocklist":{"description":"Prevent devices from being checked for availability","items":{"type":"string"},"requiresRestart":true,"title":"Availability Blocklist","type":"array"},"availability_passlist":{"description":"Only enable availability check for certain devices","items":{"type":"string"},"requiresRestart":true,"title":"Availability passlist","type":"array"},"availability_timeout":{"default":0,"description":"Availability timeout in seconds when enabled, devices will be checked if they are still online. Only AC powered routers are checked for availability","minimum":0,"requiresRestart":true,"title":"Availability Timeout","type":"number"},"availability_whitelist":{"items":{"type":"string"},"readOnly":true,"requiresRestart":true,"title":"Availability whitelist (deprecated, use passlist)","type":"array"},"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_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"},"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":3,"majorrel":2,"minorrel":6,"product":0,"revision":20201127,"transportrev":2},"type":"zStack12"},"log_level":"debug","network":{"channel":11,"extended_pan_id":"0x00124b001cce0bc1","pan_id":6754},"permit_join":true,"restart_required":false,"version":"1.19.0-dev"}'
debug 2021-06-03 10:02:50: Received MQTT message on 'zigbee2mqtt/bridge/devices' with data '[{"definition":null,"endpoints":{"1":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"10":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"11":{"bindings":[],"clusters":{"input":["ssIasAce"],"output":["ssIasZone","ssIasWd"]},"configured_reportings":[]},"110":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"12":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"13":{"bindings":[],"clusters":{"input":["genOta"],"output":[]},"configured_reportings":[]},"2":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"242":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"3":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"4":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"47":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"5":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"6":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"8":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]}},"friendly_name":"Coordinator","ieee_address":"0x00124b001cce0bc1","interview_completed":true,"interviewing":false,"network_address":0,"supported":false,"type":"Coordinator"},{"date_code":"20160630","definition":{"description":"Hue motion sensor","exposes":[{"access":1,"description":"Measured temperature value","name":"temperature","property":"temperature","type":"numeric","unit":"°?C"},{"access":1,"description":"Indicates whether the device detected occupancy","name":"occupancy","property":"occupancy","type":"binary","value_off":false,"value_on":true},{"access":1,"description":"Remaining battery in %","name":"battery","property":"battery","type":"numeric","unit":"%","value_max":100,"value_min":0},{"access":1,"description":"Measured illuminance in lux","name":"illuminance_lux","property":"illuminance_lux","type":"numeric","unit":"lx"},{"access":1,"description":"Raw measured illuminance","name":"illuminance","property":"illuminance","type":"numeric"},{"access":7,"name":"motion_sensitivity","property":"motion_sensitivity","type":"enum","values":["low","medium","high"]},{"access":7,"description":"Blink green LED on motion detection","name":"led_indication","property":"led_indication","type":"binary","value_off":false,"value_on":true},{"access":7,"name":"occupancy_timeout","property":"occupancy_timeout","type":"numeric","unit":"second","value_max":65535,"value_min":0},{"access":1,"description":"Link quality (signal strength)","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"9290012607","supports_ota":true,"vendor":"Philips"},"endpoints":{"1":{"bindings":[],"clusters":{"input":["genBasic"],"output":["genBasic","genIdentify","genGroups","genOnOff","genLevelCtrl","lightingColorCtrl","genScenes"]},"configured_reportings":[]},"2":{"bindings":[{"cluster":"genPowerCfg","target":{"endpoint":1,"ieee_address":"0x00124b001cce0bc1","type":"endpoint"}},{"cluster":"msIlluminanceMeasurement","target":{"endpoint":1,"ieee_address":"0x00124b001cce0bc1","type":"endpoint"}},{"cluster":"msTemperatureMeasurement","target":{"endpoint":1,"ieee_address":"0x00124b001cce0bc1","type":"endpoint"}},{"cluster":"msOccupancySensing","target":{"endpoint":1,"ieee_address":"0x00124b001cce0bc1","type":"endpoint"}}],"clusters":{"input":["genBasic","genPowerCfg","genIdentify","msOccupancySensing","msIlluminanceMeasurement","msTemperatureMeasurement"],"output":["genOta"]},"configured_reportings":[{"attribute":"batteryPercentageRemaining","cluster":"genPowerCfg","maximum_report_interval":62000,"minimum_report_interval":3600,"reportable_change":0},{"attribute":"occupancy","cluster":"msOccupancySensing","maximum_report_interval":3600,"minimum_report_interval":0,"reportable_change":0},{"attribute":"measuredValue","cluster":"msTemperatureMeasurement","maximum_report_interval":3600,"minimum_report_interval":10,"reportable_change":100},{"attribute":"measuredValue","cluster":"msIlluminanceMeasurement","maximum_report_interval":3600,"minimum_report_interval":10,"reportable_change":5}]}},"friendly_name":"motion_hallway","ieee_address":"0x0017880109170175","interview_completed":true,"interviewing":false,"model_id":"SML001","network_address":26830,"power_source":"Battery","software_build_id":"6.1.0.18912","supported":true,"type":"EndDevice"},{"definition":null,"endpoints":{},"friendly_name":"0x680ae2fffe3e0536","ieee_address":"0x680ae2fffe3e0536","interview_completed":false,"interviewing":false,"network_address":37365,"supported":false,"type":"Unknown"},{"definition":null,"endpoints":{},"friendly_name":"bathroom","ieee_address":"0x00178801096cb1d9","interview_completed":false,"interviewing":false,"network_address":7835,"supported":false,"type":"Unknown"}]'
debug 2021-06-03 10:02:50: Received MQTT message on 'zigbee2mqtt/bridge/groups' with data '[]'
debug 2021-06-03 10:02:50: Received MQTT message on 'zigbee2mqtt/bridge/config' with data '{"commit":"c508155","coordinator":{"meta":{"maintrel":3,"majorrel":2,"minorrel":6,"product":0,"revision":20201127,"transportrev":2},"type":"zStack12"},"log_level":"debug","network":{"channel":11,"extendedPanID":"0x00124b001cce0bc1","panID":6754},"permit_join":true,"version":"1.19.0-dev"}'
debug 2021-06-03 10:02:50: Received MQTT message on 'zigbee2mqtt/bridge/extensions' with data '[]'
info 2021-06-03 10:02:50: MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"commit":"c508155","coordinator":{"meta":{"maintrel":3,"majorrel":2,"minorrel":6,"product":0,"revision":20201127,"transportrev":2},"type":"zStack12"},"log_level":"debug","network":{"channel":11,"extendedPanID":"0x00124b001cce0bc1","panID":6754},"permit_join":true,"version":"1.19.0-dev"}'
info 2021-06-03 10:02:50: MQTT publish: topic 'homeassistant/sensor/0x0017880109170175/temperature/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x0017880109170175"],"manufacturer":"Philips","model":"Hue motion sensor (9290012607)","name":"motion_hallway","sw_version":"Zigbee2MQTT 1.19.0-dev"},"device_class":"temperature","json_attributes_topic":"zigbee2mqtt/motion_hallway","name":"motion_hallway_temperature","state_topic":"zigbee2mqtt/motion_hallway","unique_id":"0x0017880109170175_temperature_zigbee2mqtt","unit_of_measurement":"°?C","value_template":"{{ value_json.temperature }}"}'
info 2021-06-03 10:02:50: MQTT publish: topic 'homeassistant/binary_sensor/0x0017880109170175/occupancy/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x0017880109170175"],"manufacturer":"Philips","model":"Hue motion sensor (9290012607)","name":"motion_hallway","sw_version":"Zigbee2MQTT 1.19.0-dev"},"device_class":"motion","json_attributes_topic":"zigbee2mqtt/motion_hallway","name":"motion_hallway_occupancy","payload_off":false,"payload_on":true,"state_topic":"zigbee2mqtt/motion_hallway","unique_id":"0x0017880109170175_occupancy_zigbee2mqtt","value_template":"{{ value_json.occupancy }}"}'
info 2021-06-03 10:02:50: MQTT publish: topic 'homeassistant/sensor/0x0017880109170175/battery/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x0017880109170175"],"manufacturer":"Philips","model":"Hue motion sensor (9290012607)","name":"motion_hallway","sw_version":"Zigbee2MQTT 1.19.0-dev"},"device_class":"battery","json_attributes_topic":"zigbee2mqtt/motion_hallway","name":"motion_hallway_battery","state_topic":"zigbee2mqtt/motion_hallway","unique_id":"0x0017880109170175_battery_zigbee2mqtt","unit_of_measurement":"%","value_template":"{{ value_json.battery }}"}'
info 2021-06-03 10:02:50: MQTT publish: topic 'homeassistant/sensor/0x0017880109170175/illuminance_lux/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x0017880109170175"],"manufacturer":"Philips","model":"Hue motion sensor (9290012607)","name":"motion_hallway","sw_version":"Zigbee2MQTT 1.19.0-dev"},"device_class":"illuminance","json_attributes_topic":"zigbee2mqtt/motion_hallway","name":"motion_hallway_illuminance_lux","state_topic":"zigbee2mqtt/motion_hallway","unique_id":"0x0017880109170175_illuminance_lux_zigbee2mqtt","unit_of_measurement":"lx","value_template":"{{ value_json.illuminance_lux }}"}'
info 2021-06-03 10:02:50: MQTT publish: topic 'homeassistant/sensor/0x0017880109170175/illuminance/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x0017880109170175"],"manufacturer":"Philips","model":"Hue motion sensor (9290012607)","name":"motion_hallway","sw_version":"Zigbee2MQTT 1.19.0-dev"},"device_class":"illuminance","json_attributes_topic":"zigbee2mqtt/motion_hallway","name":"motion_hallway_illuminance","state_topic":"zigbee2mqtt/motion_hallway","unique_id":"0x0017880109170175_illuminance_zigbee2mqtt","value_template":"{{ value_json.illuminance }}"}'
info 2021-06-03 10:02:50: MQTT publish: topic 'homeassistant/sensor/0x0017880109170175/motion_sensitivity/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x0017880109170175"],"manufacturer":"Philips","model":"Hue motion sensor (9290012607)","name":"motion_hallway","sw_version":"Zigbee2MQTT 1.19.0-dev"},"json_attributes_topic":"zigbee2mqtt/motion_hallway","name":"motion_hallway_motion_sensitivity","state_topic":"zigbee2mqtt/motion_hallway","unique_id":"0x0017880109170175_motion_sensitivity_zigbee2mqtt","value_template":"{{ value_json.motion_sensitivity }}"}'
info 2021-06-03 10:02:50: MQTT publish: topic 'homeassistant/binary_sensor/0x0017880109170175/led_indication/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x0017880109170175"],"manufacturer":"Philips","model":"Hue motion sensor (9290012607)","name":"motion_hallway","sw_version":"Zigbee2MQTT 1.19.0-dev"},"json_attributes_topic":"zigbee2mqtt/motion_hallway","name":"motion_hallway_led_indication","payload_off":false,"payload_on":true,"state_topic":"zigbee2mqtt/motion_hallway","unique_id":"0x0017880109170175_led_indication_zigbee2mqtt","value_template":"{{ value_json.led_indication }}"}'
info 2021-06-03 10:02:50: MQTT publish: topic 'homeassistant/sensor/0x0017880109170175/occupancy_timeout/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x0017880109170175"],"manufacturer":"Philips","model":"Hue motion sensor (9290012607)","name":"motion_hallway","sw_version":"Zigbee2MQTT 1.19.0-dev"},"json_attributes_topic":"zigbee2mqtt/motion_hallway","name":"motion_hallway_occupancy_timeout","state_topic":"zigbee2mqtt/motion_hallway","unique_id":"0x0017880109170175_occupancy_timeout_zigbee2mqtt","unit_of_measurement":"second","value_template":"{{ value_json.occupancy_timeout }}"}'
info 2021-06-03 10:02:50: MQTT publish: topic 'homeassistant/sensor/0x0017880109170175/linkquality/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x0017880109170175"],"manufacturer":"Philips","model":"Hue motion sensor (9290012607)","name":"motion_hallway","sw_version":"Zigbee2MQTT 1.19.0-dev"},"icon":"mdi:signal","json_attributes_topic":"zigbee2mqtt/motion_hallway","name":"motion_hallway_linkquality","state_topic":"zigbee2mqtt/motion_hallway","unique_id":"0x0017880109170175_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
info 2021-06-03 10:02:50: MQTT publish: topic 'homeassistant/sensor/0x0017880109170175/update_state/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x0017880109170175"],"manufacturer":"Philips","model":"Hue motion sensor (9290012607)","name":"motion_hallway","sw_version":"Zigbee2MQTT 1.19.0-dev"},"icon":"mdi:update","json_attributes_topic":"zigbee2mqtt/motion_hallway","name":"motion_hallway_update_state","state_topic":"zigbee2mqtt/motion_hallway","unique_id":"0x0017880109170175_update_state_zigbee2mqtt","value_template":"{{ value_json['update']['state'] }}"}'
info 2021-06-03 10:02:50: MQTT publish: topic 'homeassistant/binary_sensor/0x0017880109170175/update_available/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x0017880109170175"],"manufacturer":"Philips","model":"Hue motion sensor (9290012607)","name":"motion_hallway","sw_version":"Zigbee2MQTT 1.19.0-dev"},"json_attributes_topic":"zigbee2mqtt/motion_hallway","name":"motion_hallway_update_available","payload_off":false,"payload_on":true,"state_topic":"zigbee2mqtt/motion_hallway","unique_id":"0x0017880109170175_update_available_zigbee2mqtt","value_template":"{{ value_json.update_available}}"}'
debug 2021-06-03 10:02:50: Received MQTT message on 'homeassistant/sensor/0x0017880109170175/temperature/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x0017880109170175"],"manufacturer":"Philips","model":"Hue motion sensor (9290012607)","name":"motion_hallway","sw_version":"Zigbee2MQTT 1.19.0-dev"},"device_class":"temperature","json_attributes_topic":"zigbee2mqtt/motion_hallway","name":"motion_hallway_temperature","state_topic":"zigbee2mqtt/motion_hallway","unique_id":"0x0017880109170175_temperature_zigbee2mqtt","unit_of_measurement":"°?C","value_template":"{{ value_json.temperature }}"}'
debug 2021-06-03 10:02:50: Received MQTT message on 'homeassistant/sensor/0x0017880109170175/battery/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x0017880109170175"],"manufacturer":"Philips","model":"Hue motion sensor (9290012607)","name":"motion_hallway","sw_version":"Zigbee2MQTT 1.19.0-dev"},"device_class":"battery","json_attributes_topic":"zigbee2mqtt/motion_hallway","name":"motion_hallway_battery","state_topic":"zigbee2mqtt/motion_hallway","unique_id":"0x0017880109170175_battery_zigbee2mqtt","unit_of_measurement":"%","value_template":"{{ value_json.battery }}"}'
debug 2021-06-03 10:02:50: Received MQTT message on 'homeassistant/sensor/0x0017880109170175/illuminance_lux/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x0017880109170175"],"manufacturer":"Philips","model":"Hue motion sensor (9290012607)","name":"motion_hallway","sw_version":"Zigbee2MQTT 1.19.0-dev"},"device_class":"illuminance","json_attributes_topic":"zigbee2mqtt/motion_hallway","name":"motion_hallway_illuminance_lux","state_topic":"zigbee2mqtt/motion_hallway","unique_id":"0x0017880109170175_illuminance_lux_zigbee2mqtt","unit_of_measurement":"lx","value_template":"{{ value_json.illuminance_lux }}"}'
debug 2021-06-03 10:02:50: Received MQTT message on 'homeassistant/sensor/0x0017880109170175/illuminance/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x0017880109170175"],"manufacturer":"Philips","model":"Hue motion sensor (9290012607)","name":"motion_hallway","sw_version":"Zigbee2MQTT 1.19.0-dev"},"device_class":"illuminance","json_attributes_topic":"zigbee2mqtt/motion_hallway","name":"motion_hallway_illuminance","state_topic":"zigbee2mqtt/motion_hallway","unique_id":"0x0017880109170175_illuminance_zigbee2mqtt","value_template":"{{ value_json.illuminance }}"}'
debug 2021-06-03 10:02:50: Received MQTT message on 'homeassistant/sensor/0x0017880109170175/motion_sensitivity/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x0017880109170175"],"manufacturer":"Philips","model":"Hue motion sensor (9290012607)","name":"motion_hallway","sw_version":"Zigbee2MQTT 1.19.0-dev"},"json_attributes_topic":"zigbee2mqtt/motion_hallway","name":"motion_hallway_motion_sensitivity","state_topic":"zigbee2mqtt/motion_hallway","unique_id":"0x0017880109170175_motion_sensitivity_zigbee2mqtt","value_template":"{{ value_json.motion_sensitivity }}"}'
debug 2021-06-03 10:02:50: Received MQTT message on 'homeassistant/sensor/0x0017880109170175/occupancy_timeout/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x0017880109170175"],"manufacturer":"Philips","model":"Hue motion sensor (9290012607)","name":"motion_hallway","sw_version":"Zigbee2MQTT 1.19.0-dev"},"json_attributes_topic":"zigbee2mqtt/motion_hallway","name":"motion_hallway_occupancy_timeout","state_topic":"zigbee2mqtt/motion_hallway","unique_id":"0x0017880109170175_occupancy_timeout_zigbee2mqtt","unit_of_measurement":"second","value_template":"{{ value_json.occupancy_timeout }}"}'
debug 2021-06-03 10:02:50: Received MQTT message on 'homeassistant/sensor/0x0017880109170175/linkquality/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x0017880109170175"],"manufacturer":"Philips","model":"Hue motion sensor (9290012607)","name":"motion_hallway","sw_version":"Zigbee2MQTT 1.19.0-dev"},"icon":"mdi:signal","json_attributes_topic":"zigbee2mqtt/motion_hallway","name":"motion_hallway_linkquality","state_topic":"zigbee2mqtt/motion_hallway","unique_id":"0x0017880109170175_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
debug 2021-06-03 10:02:50: Received MQTT message on 'homeassistant/sensor/0x0017880109170175/update_state/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x0017880109170175"],"manufacturer":"Philips","model":"Hue motion sensor (9290012607)","name":"motion_hallway","sw_version":"Zigbee2MQTT 1.19.0-dev"},"icon":"mdi:update","json_attributes_topic":"zigbee2mqtt/motion_hallway","name":"motion_hallway_update_state","state_topic":"zigbee2mqtt/motion_hallway","unique_id":"0x0017880109170175_update_state_zigbee2mqtt","value_template":"{{ value_json['update']['state'] }}"}'
debug 2021-06-03 10:02:50: Received MQTT message on 'homeassistant/binary_sensor/0x0017880109170175/occupancy/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x0017880109170175"],"manufacturer":"Philips","model":"Hue motion sensor (9290012607)","name":"motion_hallway","sw_version":"Zigbee2MQTT 1.19.0-dev"},"device_class":"motion","json_attributes_topic":"zigbee2mqtt/motion_hallway","name":"motion_hallway_occupancy","payload_off":false,"payload_on":true,"state_topic":"zigbee2mqtt/motion_hallway","unique_id":"0x0017880109170175_occupancy_zigbee2mqtt","value_template":"{{ value_json.occupancy }}"}'
debug 2021-06-03 10:02:50: Received MQTT message on 'homeassistant/binary_sensor/0x0017880109170175/led_indication/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x0017880109170175"],"manufacturer":"Philips","model":"Hue motion sensor (9290012607)","name":"motion_hallway","sw_version":"Zigbee2MQTT 1.19.0-dev"},"json_attributes_topic":"zigbee2mqtt/motion_hallway","name":"motion_hallway_led_indication","payload_off":false,"payload_on":true,"state_topic":"zigbee2mqtt/motion_hallway","unique_id":"0x0017880109170175_led_indication_zigbee2mqtt","value_template":"{{ value_json.led_indication }}"}'
debug 2021-06-03 10:02:50: Received MQTT message on 'homeassistant/binary_sensor/0x0017880109170175/update_available/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x0017880109170175"],"manufacturer":"Philips","model":"Hue motion sensor (9290012607)","name":"motion_hallway","sw_version":"Zigbee2MQTT 1.19.0-dev"},"json_attributes_topic":"zigbee2mqtt/motion_hallway","name":"motion_hallway_update_available","payload_off":false,"payload_on":true,"state_topic":"zigbee2mqtt/motion_hallway","unique_id":"0x0017880109170175_update_available_zigbee2mqtt","value_template":"{{ value_json.update_available}}"}'
debug 2021-06-03 10:02:50: Received MQTT message on 'homeassistant/sensor/0x0017880109170175/temperature/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x0017880109170175"],"manufacturer":"Philips","model":"Hue motion sensor (9290012607)","name":"motion_hallway","sw_version":"Zigbee2MQTT 1.19.0-dev"},"device_class":"temperature","json_attributes_topic":"zigbee2mqtt/motion_hallway","name":"motion_hallway_temperature","state_topic":"zigbee2mqtt/motion_hallway","unique_id":"0x0017880109170175_temperature_zigbee2mqtt","unit_of_measurement":"°?C","value_template":"{{ value_json.temperature }}"}'
debug 2021-06-03 10:02:50: Received MQTT message on 'homeassistant/binary_sensor/0x0017880109170175/occupancy/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x0017880109170175"],"manufacturer":"Philips","model":"Hue motion sensor (9290012607)","name":"motion_hallway","sw_version":"Zigbee2MQTT 1.19.0-dev"},"device_class":"motion","json_attributes_topic":"zigbee2mqtt/motion_hallway","name":"motion_hallway_occupancy","payload_off":false,"payload_on":true,"state_topic":"zigbee2mqtt/motion_hallway","unique_id":"0x0017880109170175_occupancy_zigbee2mqtt","value_template":"{{ value_json.occupancy }}"}'
debug 2021-06-03 10:02:50: Received MQTT message on 'homeassistant/sensor/0x0017880109170175/battery/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x0017880109170175"],"manufacturer":"Philips","model":"Hue motion sensor (9290012607)","name":"motion_hallway","sw_version":"Zigbee2MQTT 1.19.0-dev"},"device_class":"battery","json_attributes_topic":"zigbee2mqtt/motion_hallway","name":"motion_hallway_battery","state_topic":"zigbee2mqtt/motion_hallway","unique_id":"0x0017880109170175_battery_zigbee2mqtt","unit_of_measurement":"%","value_template":"{{ value_json.battery }}"}'
debug 2021-06-03 10:02:50: Received MQTT message on 'homeassistant/sensor/0x0017880109170175/illuminance_lux/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x0017880109170175"],"manufacturer":"Philips","model":"Hue motion sensor (9290012607)","name":"motion_hallway","sw_version":"Zigbee2MQTT 1.19.0-dev"},"device_class":"illuminance","json_attributes_topic":"zigbee2mqtt/motion_hallway","name":"motion_hallway_illuminance_lux","state_topic":"zigbee2mqtt/motion_hallway","unique_id":"0x0017880109170175_illuminance_lux_zigbee2mqtt","unit_of_measurement":"lx","value_template":"{{ value_json.illuminance_lux }}"}'
debug 2021-06-03 10:02:50: Received MQTT message on 'homeassistant/sensor/0x0017880109170175/illuminance/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x0017880109170175"],"manufacturer":"Philips","model":"Hue motion sensor (9290012607)","name":"motion_hallway","sw_version":"Zigbee2MQTT 1.19.0-dev"},"device_class":"illuminance","json_attributes_topic":"zigbee2mqtt/motion_hallway","name":"motion_hallway_illuminance","state_topic":"zigbee2mqtt/motion_hallway","unique_id":"0x0017880109170175_illuminance_zigbee2mqtt","value_template":"{{ value_json.illuminance }}"}'
debug 2021-06-03 10:02:50: Received MQTT message on 'homeassistant/sensor/0x0017880109170175/motion_sensitivity/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x0017880109170175"],"manufacturer":"Philips","model":"Hue motion sensor (9290012607)","name":"motion_hallway","sw_version":"Zigbee2MQTT 1.19.0-dev"},"json_attributes_topic":"zigbee2mqtt/motion_hallway","name":"motion_hallway_motion_sensitivity","state_topic":"zigbee2mqtt/motion_hallway","unique_id":"0x0017880109170175_motion_sensitivity_zigbee2mqtt","value_template":"{{ value_json.motion_sensitivity }}"}'
debug 2021-06-03 10:02:50: Received MQTT message on 'homeassistant/binary_sensor/0x0017880109170175/led_indication/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x0017880109170175"],"manufacturer":"Philips","model":"Hue motion sensor (9290012607)","name":"motion_hallway","sw_version":"Zigbee2MQTT 1.19.0-dev"},"json_attributes_topic":"zigbee2mqtt/motion_hallway","name":"motion_hallway_led_indication","payload_off":false,"payload_on":true,"state_topic":"zigbee2mqtt/motion_hallway","unique_id":"0x0017880109170175_led_indication_zigbee2mqtt","value_template":"{{ value_json.led_indication }}"}'
debug 2021-06-03 10:02:50: Received MQTT message on 'homeassistant/sensor/0x0017880109170175/occupancy_timeout/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x0017880109170175"],"manufacturer":"Philips","model":"Hue motion sensor (9290012607)","name":"motion_hallway","sw_version":"Zigbee2MQTT 1.19.0-dev"},"json_attributes_topic":"zigbee2mqtt/motion_hallway","name":"motion_hallway_occupancy_timeout","state_topic":"zigbee2mqtt/motion_hallway","unique_id":"0x0017880109170175_occupancy_timeout_zigbee2mqtt","unit_of_measurement":"second","value_template":"{{ value_json.occupancy_timeout }}"}'
debug 2021-06-03 10:02:50: Received MQTT message on 'homeassistant/sensor/0x0017880109170175/linkquality/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x0017880109170175"],"manufacturer":"Philips","model":"Hue motion sensor (9290012607)","name":"motion_hallway","sw_version":"Zigbee2MQTT 1.19.0-dev"},"icon":"mdi:signal","json_attributes_topic":"zigbee2mqtt/motion_hallway","name":"motion_hallway_linkquality","state_topic":"zigbee2mqtt/motion_hallway","unique_id":"0x0017880109170175_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
debug 2021-06-03 10:02:50: Received MQTT message on 'homeassistant/sensor/0x0017880109170175/update_state/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x0017880109170175"],"manufacturer":"Philips","model":"Hue motion sensor (9290012607)","name":"motion_hallway","sw_version":"Zigbee2MQTT 1.19.0-dev"},"icon":"mdi:update","json_attributes_topic":"zigbee2mqtt/motion_hallway","name":"motion_hallway_update_state","state_topic":"zigbee2mqtt/motion_hallway","unique_id":"0x0017880109170175_update_state_zigbee2mqtt","value_template":"{{ value_json['update']['state'] }}"}'
debug 2021-06-03 10:02:50: Received MQTT message on 'homeassistant/binary_sensor/0x0017880109170175/update_available/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x0017880109170175"],"manufacturer":"Philips","model":"Hue motion sensor (9290012607)","name":"motion_hallway","sw_version":"Zigbee2MQTT 1.19.0-dev"},"json_attributes_topic":"zigbee2mqtt/motion_hallway","name":"motion_hallway_update_available","payload_off":false,"payload_on":true,"state_topic":"zigbee2mqtt/motion_hallway","unique_id":"0x0017880109170175_update_available_zigbee2mqtt","value_template":"{{ value_json.update_available}}"}'
zigbee2mqtt_2021-06-03.11-04-05.log
debug 2021-06-03 11:04:06: Loaded state from file /app/data/state.json
info 2021-06-03 11:04:06: Logging to console and directory: '/app/data/log' filename: zigbee2mqtt_2021-06-03.11-04-05.log
info 2021-06-03 11:04:06: Starting Zigbee2MQTT version 1.19.0 (commit #89cb4f9)
info 2021-06-03 11:04:06: Starting zigbee-herdsman (0.13.111)
debug 2021-06-03 11:04:06: 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/ttyACM0"}}'
info 2021-06-03 11:04:09: zigbee-herdsman started
info 2021-06-03 11:04:09: Coordinator firmware version: '{"meta":{"maintrel":2,"majorrel":2,"minorrel":7,"product":2,"revision":20200327,"transportrev":2},"type":"zStack30x"}'
debug 2021-06-03 11:04:09: Zigbee network parameters: {"channel":11,"extendedPanID":"0x00124b0014b556da","panID":6754}
info 2021-06-03 11:04:09: Currently 6 devices are joined:
info 2021-06-03 11:04:09: 0x00158d00044be19c (0x00158d00044be19c): LLKZMK11LM - Xiaomi Aqara wireless relay controller (Router)
info 2021-06-03 11:04:09: 0x00158d000400e1ec (0x00158d000400e1ec): ZNCLDJ11LM - Xiaomi Aqara curtain motor (Router)
info 2021-06-03 11:04:09: 0x842e14fffef5a27d (0x842e14fffef5a27d): TS0121_plug - TuYa 10A UK or 16A EU smart plug (Router)
info 2021-06-03 11:04:09: 0x842e14fffedfa242 (0x842e14fffedfa242): TS0121_plug - TuYa 10A UK or 16A EU smart plug (Router)
info 2021-06-03 11:04:09: 0x842e14fffe366894 (0x842e14fffe366894): TS0121_plug - TuYa 10A UK or 16A EU smart plug (Router)
info 2021-06-03 11:04:09: 0x588e81fffeff60eb (0x588e81fffeff60eb): TS0121_plug - TuYa 10A UK or 16A EU smart plug (Router)
info 2021-06-03 11:04:09: Zigbee: disabling joining new devices.
info 2021-06-03 11:04:09: Started frontend on port 0.0.0.0:8080
info 2021-06-03 11:04:09: Connecting to MQTT server at mqtt://mosquitto:1883
debug 2021-06-03 11:04:09: Using MQTT anonymous login
info 2021-06-03 11:04:09: Connected to MQTT server
info 2021-06-03 11:04:09: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'online'
debug 2021-06-03 11:04:09: Received MQTT message on 'zigbee2mqtt/bridge/config' with data '{"commit":"89cb4f9","coordinator":{"meta":{"maintrel":2,"majorrel":2,"minorrel":7,"product":2,"revision":20200327,"transportrev":2},"type":"zStack30x"},"log_level":"debug","network":{"channel":11,"extendedPanID":"0x00124b0014b556da","panID":6754},"permit_join":false,"version":"1.19.0"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'zigbee2mqtt/bridge/info' with data '{"commit":"89cb4f9","config":{"advanced":{"adapter_concurrent":null,"adapter_delay":null,"availability_blacklist":[],"availability_blocklist":[],"availability_passlist":[],"availability_timeout":0,"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_triggers":true,"homeassistant_status_topic":"hass/status","last_seen":"disable","legacy_api":true,"log_directory":"/app/data/log","logfile":"zigbee2mqtt%TIMESTAMP%.log","log_level":"debug","log_output":["console","file"],"log_rotation":true,"log_symlink_current":false,"log_syslog":{},"pan_id":6754,"report":false,"soft_reset_timeout":0,"timestamp_format":"YYYY-MM-DD HH:mm:ss"},"ban":[],"blocklist":[],"device_options":{"retain":true},"devices":{"0x00158d000319bea7":{"friendly_name":"0x00158d000319bea7"},"0x00158d000400e1ec":{"friendly_name":"0x00158d000400e1ec"},"0x00158d00044be19c":{"friendly_name":"0x00158d00044be19c"},"0x588e81fffeff60eb":{"friendly_name":"0x588e81fffeff60eb"},"0x842e14fffe366894":{"friendly_name":"0x842e14fffe366894"},"0x842e14fffedfa242":{"friendly_name":"0x842e14fffedfa242"},"0x842e14fffef5a27d":{"friendly_name":"0x842e14fffef5a27d"}},"experimental":{"output":"json"},"external_converters":[],"frontend":{"host":"0.0.0.0","port":8080},"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":false,"server":"mqtt://mosquitto:1883"},"ota":{"disable_automatic_update_check":false,"update_check_interval":10},"passlist":[],"permit_join":false,"serial":{"disable_led":false,"port":"/dev/ttyACM0"},"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":{"descritption":"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"]},"availability_blacklist":{"items":{"type":"string"},"readOnly":true,"requiresRestart":true,"title":"Availability blacklist (deprecated, use availability_blocklist)","type":"array"},"availability_blocklist":{"description":"Prevent devices from being checked for availability","items":{"type":"string"},"requiresRestart":true,"title":"Availability Blocklist","type":"array"},"availability_passlist":{"description":"Only enable availability check for certain devices","items":{"type":"string"},"requiresRestart":true,"title":"Availability passlist","type":"array"},"availability_timeout":{"default":0,"description":"Availability timeout in seconds when enabled, devices will be checked if they are still online. Only AC powered routers are checked for availability","minimum":0,"requiresRestart":true,"title":"Availability Timeout","type":"number"},"availability_whitelist":{"items":{"type":"string"},"readOnly":true,"requiresRestart":true,"title":"Availability whitelist (deprecated, use passlist)","type":"array"},"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_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"},"logfile":{"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"},"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":2,"majorrel":2,"minorrel":7,"product":2,"revision":20200327,"transportrev":2},"type":"zStack30x"},"log_level":"debug","network":{"channel":11,"extended_pan_id":"0x00124b0014b556da","pan_id":6754},"permit_join":false,"restart_required":false,"version":"1.19.0"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'zigbee2mqtt/bridge/devices' with data '[{"definition":null,"endpoints":{"1":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"10":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"11":{"bindings":[],"clusters":{"input":["ssIasAce"],"output":["ssIasZone","ssIasWd"]},"configured_reportings":[]},"110":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"12":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"13":{"bindings":[],"clusters":{"input":["genOta"],"output":[]},"configured_reportings":[]},"2":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"242":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"3":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"4":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"47":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"5":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"6":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]},"8":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[]}},"friendly_name":"Coordinator","ieee_address":"0x00124b0014b556da","interview_completed":true,"interviewing":false,"network_address":0,"supported":false,"type":"Coordinator"}]'
debug 2021-06-03 11:04:09: Received MQTT message on 'zigbee2mqtt/bridge/groups' with data '[]'
debug 2021-06-03 11:04:09: Received MQTT message on 'zigbee2mqtt/bridge/extensions' with data '[]'
debug 2021-06-03 11:04:09: Received MQTT message on 'zigbee2mqtt/0x00158d00044be19c' with data '{"consumption":0.13,"energy":0.13,"interlock":null,"linkquality":28,"power":0,"state":"OFF","state_l1":"OFF","state_l2":"OFF","temperature":27,"update":{"state":"idle"},"update_available":false,"voltage":233.2}'
debug 2021-06-03 11:04:09: Received MQTT message on 'zigbee2mqtt/0x00158d000400e1ec' with data '{"linkquality":26,"options":{"hand_open":true,"reverse_direction":false},"position":100,"running":false,"state":null,"update":{"state":"idle"},"update_available":false}'
debug 2021-06-03 11:04:09: Received MQTT message on 'zigbee2mqtt/0x00158d000400e1ec/set' with data '{
"options":{
"reverse_direction": false
}
}'
debug 2021-06-03 11:04:09: Received MQTT message on 'zigbee2mqtt/0x00158d000319bea7' with data '{"battery":100,"voltage":3005,"illuminance":0,"illuminance_lux":0,"linkquality":0,"occupancy":true}'
debug 2021-06-03 11:04:09: Received MQTT message on 'zigbee2mqtt/0x842e14fffef5a27d' with data '{"current":0,"energy":1311.55,"linkquality":10,"power":0,"power_outage_memory":"restore","state":"ON","voltage":224}'
debug 2021-06-03 11:04:09: Received MQTT message on 'zigbee2mqtt/0x842e14fffedfa242' with data '{"current":11.64,"energy":879.31,"linkquality":21,"power":2650,"power_outage_memory":null,"state":"ON","voltage":222}'
debug 2021-06-03 11:04:09: Received MQTT message on 'zigbee2mqtt/0x842e14fffe366894' with data '{"current":9.76,"energy":294.09,"linkquality":null,"power":2196,"power_outage_memory":null,"state":"ON","voltage":228}'
debug 2021-06-03 11:04:09: Received MQTT message on 'zigbee2mqtt/0x588e81fffeff60eb' with data '{"current":0,"energy":71.92,"linkquality":null,"power":0,"power_outage_memory":null,"state":"OFF","voltage":243}'
debug 2021-06-03 11:04:09: Publishing 'set' 'options' to '0x00158d000400e1ec'
info 2021-06-03 11:04:09: MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"commit":"89cb4f9","coordinator":{"meta":{"maintrel":2,"majorrel":2,"minorrel":7,"product":2,"revision":20200327,"transportrev":2},"type":"zStack30x"},"log_level":"debug","network":{"channel":11,"extendedPanID":"0x00124b0014b556da","panID":6754},"permit_join":false,"version":"1.19.0"}'
info 2021-06-03 11:04:09: MQTT publish: topic 'homeassistant/sensor/0x00158d00044be19c/power/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00158d00044be19c"],"manufacturer":"Xiaomi","model":"Aqara wireless relay controller (LLKZMK11LM)","name":"0x00158d00044be19c","sw_version":"Zigbee2MQTT 1.19.0"},"device_class":"power","json_attributes_topic":"zigbee2mqtt/0x00158d00044be19c","name":"0x00158d00044be19c power","state_topic":"zigbee2mqtt/0x00158d00044be19c","unique_id":"0x00158d00044be19c_power_zigbee2mqtt","unit_of_measurement":"W","value_template":"{{ value_json.power }}"}'
info 2021-06-03 11:04:09: MQTT publish: topic 'homeassistant/sensor/0x00158d00044be19c/energy/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00158d00044be19c"],"manufacturer":"Xiaomi","model":"Aqara wireless relay controller (LLKZMK11LM)","name":"0x00158d00044be19c","sw_version":"Zigbee2MQTT 1.19.0"},"device_class":"energy","json_attributes_topic":"zigbee2mqtt/0x00158d00044be19c","name":"0x00158d00044be19c energy","state_topic":"zigbee2mqtt/0x00158d00044be19c","unique_id":"0x00158d00044be19c_energy_zigbee2mqtt","unit_of_measurement":"kWh","value_template":"{{ value_json.energy }}"}'
info 2021-06-03 11:04:09: MQTT publish: topic 'homeassistant/sensor/0x00158d00044be19c/temperature/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00158d00044be19c"],"manufacturer":"Xiaomi","model":"Aqara wireless relay controller (LLKZMK11LM)","name":"0x00158d00044be19c","sw_version":"Zigbee2MQTT 1.19.0"},"device_class":"temperature","json_attributes_topic":"zigbee2mqtt/0x00158d00044be19c","name":"0x00158d00044be19c temperature","state_topic":"zigbee2mqtt/0x00158d00044be19c","unique_id":"0x00158d00044be19c_temperature_zigbee2mqtt","unit_of_measurement":"°C","value_template":"{{ value_json.temperature }}"}'
info 2021-06-03 11:04:09: MQTT publish: topic 'homeassistant/sensor/0x00158d00044be19c/voltage/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00158d00044be19c"],"manufacturer":"Xiaomi","model":"Aqara wireless relay controller (LLKZMK11LM)","name":"0x00158d00044be19c","sw_version":"Zigbee2MQTT 1.19.0"},"device_class":"voltage","json_attributes_topic":"zigbee2mqtt/0x00158d00044be19c","name":"0x00158d00044be19c voltage","state_topic":"zigbee2mqtt/0x00158d00044be19c","unique_id":"0x00158d00044be19c_voltage_zigbee2mqtt","unit_of_measurement":"V","value_template":"{{ value_json.voltage }}"}'
info 2021-06-03 11:04:09: MQTT publish: topic 'homeassistant/switch/0x00158d00044be19c/switch_l1/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"command_topic":"zigbee2mqtt/0x00158d00044be19c/l1/set","device":{"identifiers":["zigbee2mqtt_0x00158d00044be19c"],"manufacturer":"Xiaomi","model":"Aqara wireless relay controller (LLKZMK11LM)","name":"0x00158d00044be19c","sw_version":"Zigbee2MQTT 1.19.0"},"json_attributes_topic":"zigbee2mqtt/0x00158d00044be19c","name":"0x00158d00044be19c l1","payload_off":"OFF","payload_on":"ON","state_topic":"zigbee2mqtt/0x00158d00044be19c","unique_id":"0x00158d00044be19c_switch_l1_zigbee2mqtt","value_template":"{{ value_json.state_l1 }}"}'
info 2021-06-03 11:04:09: MQTT publish: topic 'homeassistant/switch/0x00158d00044be19c/switch_l2/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"command_topic":"zigbee2mqtt/0x00158d00044be19c/l2/set","device":{"identifiers":["zigbee2mqtt_0x00158d00044be19c"],"manufacturer":"Xiaomi","model":"Aqara wireless relay controller (LLKZMK11LM)","name":"0x00158d00044be19c","sw_version":"Zigbee2MQTT 1.19.0"},"json_attributes_topic":"zigbee2mqtt/0x00158d00044be19c","name":"0x00158d00044be19c l2","payload_off":"OFF","payload_on":"ON","state_topic":"zigbee2mqtt/0x00158d00044be19c","unique_id":"0x00158d00044be19c_switch_l2_zigbee2mqtt","value_template":"{{ value_json.state_l2 }}"}'
info 2021-06-03 11:04:09: MQTT publish: topic 'homeassistant/binary_sensor/0x00158d00044be19c/interlock/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00158d00044be19c"],"manufacturer":"Xiaomi","model":"Aqara wireless relay controller (LLKZMK11LM)","name":"0x00158d00044be19c","sw_version":"Zigbee2MQTT 1.19.0"},"json_attributes_topic":"zigbee2mqtt/0x00158d00044be19c","name":"0x00158d00044be19c interlock","payload_off":false,"payload_on":true,"state_topic":"zigbee2mqtt/0x00158d00044be19c","unique_id":"0x00158d00044be19c_interlock_zigbee2mqtt","value_template":"{{ value_json.interlock }}"}'
info 2021-06-03 11:04:09: MQTT publish: topic 'homeassistant/sensor/0x00158d00044be19c/linkquality/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00158d00044be19c"],"manufacturer":"Xiaomi","model":"Aqara wireless relay controller (LLKZMK11LM)","name":"0x00158d00044be19c","sw_version":"Zigbee2MQTT 1.19.0"},"icon":"mdi:signal","json_attributes_topic":"zigbee2mqtt/0x00158d00044be19c","name":"0x00158d00044be19c linkquality","state_topic":"zigbee2mqtt/0x00158d00044be19c","unique_id":"0x00158d00044be19c_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
info 2021-06-03 11:04:09: MQTT publish: topic 'homeassistant/cover/0x00158d000400e1ec/cover/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"command_topic":"zigbee2mqtt/0x00158d000400e1ec/set","device":{"identifiers":["zigbee2mqtt_0x00158d000400e1ec"],"manufacturer":"Xiaomi","model":"Aqara curtain motor (ZNCLDJ11LM)","name":"0x00158d000400e1ec","sw_version":"Zigbee2MQTT 1.19.0"},"json_attributes_topic":"zigbee2mqtt/0x00158d000400e1ec","name":"0x00158d000400e1ec","position_template":"{{ value_json.position }}","position_topic":"zigbee2mqtt/0x00158d000400e1ec","set_position_template":"{ \"position\": {{ position }} }","set_position_topic":"zigbee2mqtt/0x00158d000400e1ec/set","unique_id":"0x00158d000400e1ec_cover_zigbee2mqtt"}'
info 2021-06-03 11:04:09: MQTT publish: topic 'homeassistant/sensor/0x00158d000400e1ec/linkquality/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00158d000400e1ec"],"manufacturer":"Xiaomi","model":"Aqara curtain motor (ZNCLDJ11LM)","name":"0x00158d000400e1ec","sw_version":"Zigbee2MQTT 1.19.0"},"icon":"mdi:signal","json_attributes_topic":"zigbee2mqtt/0x00158d000400e1ec","name":"0x00158d000400e1ec linkquality","state_topic":"zigbee2mqtt/0x00158d000400e1ec","unique_id":"0x00158d000400e1ec_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
info 2021-06-03 11:04:09: MQTT publish: topic 'homeassistant/sensor/0x00158d000400e1ec/update_state/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00158d000400e1ec"],"manufacturer":"Xiaomi","model":"Aqara curtain motor (ZNCLDJ11LM)","name":"0x00158d000400e1ec","sw_version":"Zigbee2MQTT 1.19.0"},"icon":"mdi:update","json_attributes_topic":"zigbee2mqtt/0x00158d000400e1ec","name":"0x00158d000400e1ec update state","state_topic":"zigbee2mqtt/0x00158d000400e1ec","unique_id":"0x00158d000400e1ec_update_state_zigbee2mqtt","value_template":"{{ value_json['update']['state'] }}"}'
info 2021-06-03 11:04:09: MQTT publish: topic 'homeassistant/binary_sensor/0x00158d000400e1ec/update_available/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00158d000400e1ec"],"manufacturer":"Xiaomi","model":"Aqara curtain motor (ZNCLDJ11LM)","name":"0x00158d000400e1ec","sw_version":"Zigbee2MQTT 1.19.0"},"json_attributes_topic":"zigbee2mqtt/0x00158d000400e1ec","name":"0x00158d000400e1ec update available","payload_off":false,"payload_on":true,"state_topic":"zigbee2mqtt/0x00158d000400e1ec","unique_id":"0x00158d000400e1ec_update_available_zigbee2mqtt","value_template":"{{ value_json.update_available}}"}'
info 2021-06-03 11:04:09: MQTT publish: topic 'homeassistant/switch/0x842e14fffef5a27d/switch/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"command_topic":"zigbee2mqtt/0x842e14fffef5a27d/set","device":{"identifiers":["zigbee2mqtt_0x842e14fffef5a27d"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x842e14fffef5a27d","sw_version":"Zigbee2MQTT 1.19.0"},"json_attributes_topic":"zigbee2mqtt/0x842e14fffef5a27d","name":"0x842e14fffef5a27d","payload_off":"OFF","payload_on":"ON","state_topic":"zigbee2mqtt/0x842e14fffef5a27d","unique_id":"0x842e14fffef5a27d_switch_zigbee2mqtt","value_template":"{{ value_json.state }}"}'
info 2021-06-03 11:04:09: MQTT publish: topic 'homeassistant/sensor/0x842e14fffef5a27d/power/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x842e14fffef5a27d"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x842e14fffef5a27d","sw_version":"Zigbee2MQTT 1.19.0"},"device_class":"power","json_attributes_topic":"zigbee2mqtt/0x842e14fffef5a27d","name":"0x842e14fffef5a27d power","state_topic":"zigbee2mqtt/0x842e14fffef5a27d","unique_id":"0x842e14fffef5a27d_power_zigbee2mqtt","unit_of_measurement":"W","value_template":"{{ value_json.power }}"}'
info 2021-06-03 11:04:09: MQTT publish: topic 'homeassistant/sensor/0x842e14fffef5a27d/current/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x842e14fffef5a27d"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x842e14fffef5a27d","sw_version":"Zigbee2MQTT 1.19.0"},"device_class":"current","json_attributes_topic":"zigbee2mqtt/0x842e14fffef5a27d","name":"0x842e14fffef5a27d current","state_topic":"zigbee2mqtt/0x842e14fffef5a27d","unique_id":"0x842e14fffef5a27d_current_zigbee2mqtt","unit_of_measurement":"A","value_template":"{{ value_json.current }}"}'
info 2021-06-03 11:04:09: MQTT publish: topic 'homeassistant/sensor/0x842e14fffef5a27d/voltage/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x842e14fffef5a27d"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x842e14fffef5a27d","sw_version":"Zigbee2MQTT 1.19.0"},"device_class":"voltage","json_attributes_topic":"zigbee2mqtt/0x842e14fffef5a27d","name":"0x842e14fffef5a27d voltage","state_topic":"zigbee2mqtt/0x842e14fffef5a27d","unique_id":"0x842e14fffef5a27d_voltage_zigbee2mqtt","unit_of_measurement":"V","value_template":"{{ value_json.voltage }}"}'
info 2021-06-03 11:04:09: MQTT publish: topic 'homeassistant/sensor/0x842e14fffef5a27d/energy/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x842e14fffef5a27d"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x842e14fffef5a27d","sw_version":"Zigbee2MQTT 1.19.0"},"device_class":"energy","json_attributes_topic":"zigbee2mqtt/0x842e14fffef5a27d","name":"0x842e14fffef5a27d energy","state_topic":"zigbee2mqtt/0x842e14fffef5a27d","unique_id":"0x842e14fffef5a27d_energy_zigbee2mqtt","unit_of_measurement":"kWh","value_template":"{{ value_json.energy }}"}'
info 2021-06-03 11:04:09: MQTT publish: topic 'homeassistant/sensor/0x842e14fffef5a27d/power_outage_memory/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x842e14fffef5a27d"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x842e14fffef5a27d","sw_version":"Zigbee2MQTT 1.19.0"},"json_attributes_topic":"zigbee2mqtt/0x842e14fffef5a27d","name":"0x842e14fffef5a27d power outage memory","state_topic":"zigbee2mqtt/0x842e14fffef5a27d","unique_id":"0x842e14fffef5a27d_power_outage_memory_zigbee2mqtt","value_template":"{{ value_json.power_outage_memory }}"}'
info 2021-06-03 11:04:09: MQTT publish: topic 'homeassistant/sensor/0x842e14fffef5a27d/linkquality/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x842e14fffef5a27d"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x842e14fffef5a27d","sw_version":"Zigbee2MQTT 1.19.0"},"icon":"mdi:signal","json_attributes_topic":"zigbee2mqtt/0x842e14fffef5a27d","name":"0x842e14fffef5a27d linkquality","state_topic":"zigbee2mqtt/0x842e14fffef5a27d","unique_id":"0x842e14fffef5a27d_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
info 2021-06-03 11:04:09: MQTT publish: topic 'homeassistant/switch/0x842e14fffedfa242/switch/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"command_topic":"zigbee2mqtt/0x842e14fffedfa242/set","device":{"identifiers":["zigbee2mqtt_0x842e14fffedfa242"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x842e14fffedfa242","sw_version":"Zigbee2MQTT 1.19.0"},"json_attributes_topic":"zigbee2mqtt/0x842e14fffedfa242","name":"0x842e14fffedfa242","payload_off":"OFF","payload_on":"ON","state_topic":"zigbee2mqtt/0x842e14fffedfa242","unique_id":"0x842e14fffedfa242_switch_zigbee2mqtt","value_template":"{{ value_json.state }}"}'
info 2021-06-03 11:04:09: MQTT publish: topic 'homeassistant/sensor/0x842e14fffedfa242/power/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x842e14fffedfa242"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x842e14fffedfa242","sw_version":"Zigbee2MQTT 1.19.0"},"device_class":"power","json_attributes_topic":"zigbee2mqtt/0x842e14fffedfa242","name":"0x842e14fffedfa242 power","state_topic":"zigbee2mqtt/0x842e14fffedfa242","unique_id":"0x842e14fffedfa242_power_zigbee2mqtt","unit_of_measurement":"W","value_template":"{{ value_json.power }}"}'
info 2021-06-03 11:04:09: MQTT publish: topic 'homeassistant/sensor/0x842e14fffedfa242/current/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x842e14fffedfa242"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x842e14fffedfa242","sw_version":"Zigbee2MQTT 1.19.0"},"device_class":"current","json_attributes_topic":"zigbee2mqtt/0x842e14fffedfa242","name":"0x842e14fffedfa242 current","state_topic":"zigbee2mqtt/0x842e14fffedfa242","unique_id":"0x842e14fffedfa242_current_zigbee2mqtt","unit_of_measurement":"A","value_template":"{{ value_json.current }}"}'
info 2021-06-03 11:04:09: MQTT publish: topic 'homeassistant/sensor/0x842e14fffedfa242/voltage/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x842e14fffedfa242"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x842e14fffedfa242","sw_version":"Zigbee2MQTT 1.19.0"},"device_class":"voltage","json_attributes_topic":"zigbee2mqtt/0x842e14fffedfa242","name":"0x842e14fffedfa242 voltage","state_topic":"zigbee2mqtt/0x842e14fffedfa242","unique_id":"0x842e14fffedfa242_voltage_zigbee2mqtt","unit_of_measurement":"V","value_template":"{{ value_json.voltage }}"}'
info 2021-06-03 11:04:09: MQTT publish: topic 'homeassistant/sensor/0x842e14fffedfa242/energy/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x842e14fffedfa242"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x842e14fffedfa242","sw_version":"Zigbee2MQTT 1.19.0"},"device_class":"energy","json_attributes_topic":"zigbee2mqtt/0x842e14fffedfa242","name":"0x842e14fffedfa242 energy","state_topic":"zigbee2mqtt/0x842e14fffedfa242","unique_id":"0x842e14fffedfa242_energy_zigbee2mqtt","unit_of_measurement":"kWh","value_template":"{{ value_json.energy }}"}'
info 2021-06-03 11:04:09: MQTT publish: topic 'homeassistant/sensor/0x842e14fffedfa242/power_outage_memory/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x842e14fffedfa242"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x842e14fffedfa242","sw_version":"Zigbee2MQTT 1.19.0"},"json_attributes_topic":"zigbee2mqtt/0x842e14fffedfa242","name":"0x842e14fffedfa242 power outage memory","state_topic":"zigbee2mqtt/0x842e14fffedfa242","unique_id":"0x842e14fffedfa242_power_outage_memory_zigbee2mqtt","value_template":"{{ value_json.power_outage_memory }}"}'
info 2021-06-03 11:04:09: MQTT publish: topic 'homeassistant/sensor/0x842e14fffedfa242/linkquality/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x842e14fffedfa242"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x842e14fffedfa242","sw_version":"Zigbee2MQTT 1.19.0"},"icon":"mdi:signal","json_attributes_topic":"zigbee2mqtt/0x842e14fffedfa242","name":"0x842e14fffedfa242 linkquality","state_topic":"zigbee2mqtt/0x842e14fffedfa242","unique_id":"0x842e14fffedfa242_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
info 2021-06-03 11:04:09: MQTT publish: topic 'homeassistant/switch/0x842e14fffe366894/switch/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"command_topic":"zigbee2mqtt/0x842e14fffe366894/set","device":{"identifiers":["zigbee2mqtt_0x842e14fffe366894"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x842e14fffe366894","sw_version":"Zigbee2MQTT 1.19.0"},"json_attributes_topic":"zigbee2mqtt/0x842e14fffe366894","name":"0x842e14fffe366894","payload_off":"OFF","payload_on":"ON","state_topic":"zigbee2mqtt/0x842e14fffe366894","unique_id":"0x842e14fffe366894_switch_zigbee2mqtt","value_template":"{{ value_json.state }}"}'
info 2021-06-03 11:04:09: MQTT publish: topic 'homeassistant/sensor/0x842e14fffe366894/power/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x842e14fffe366894"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x842e14fffe366894","sw_version":"Zigbee2MQTT 1.19.0"},"device_class":"power","json_attributes_topic":"zigbee2mqtt/0x842e14fffe366894","name":"0x842e14fffe366894 power","state_topic":"zigbee2mqtt/0x842e14fffe366894","unique_id":"0x842e14fffe366894_power_zigbee2mqtt","unit_of_measurement":"W","value_template":"{{ value_json.power }}"}'
info 2021-06-03 11:04:09: MQTT publish: topic 'homeassistant/sensor/0x842e14fffe366894/current/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x842e14fffe366894"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x842e14fffe366894","sw_version":"Zigbee2MQTT 1.19.0"},"device_class":"current","json_attributes_topic":"zigbee2mqtt/0x842e14fffe366894","name":"0x842e14fffe366894 current","state_topic":"zigbee2mqtt/0x842e14fffe366894","unique_id":"0x842e14fffe366894_current_zigbee2mqtt","unit_of_measurement":"A","value_template":"{{ value_json.current }}"}'
info 2021-06-03 11:04:09: MQTT publish: topic 'homeassistant/sensor/0x842e14fffe366894/voltage/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x842e14fffe366894"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x842e14fffe366894","sw_version":"Zigbee2MQTT 1.19.0"},"device_class":"voltage","json_attributes_topic":"zigbee2mqtt/0x842e14fffe366894","name":"0x842e14fffe366894 voltage","state_topic":"zigbee2mqtt/0x842e14fffe366894","unique_id":"0x842e14fffe366894_voltage_zigbee2mqtt","unit_of_measurement":"V","value_template":"{{ value_json.voltage }}"}'
info 2021-06-03 11:04:09: MQTT publish: topic 'homeassistant/sensor/0x842e14fffe366894/energy/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x842e14fffe366894"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x842e14fffe366894","sw_version":"Zigbee2MQTT 1.19.0"},"device_class":"energy","json_attributes_topic":"zigbee2mqtt/0x842e14fffe366894","name":"0x842e14fffe366894 energy","state_topic":"zigbee2mqtt/0x842e14fffe366894","unique_id":"0x842e14fffe366894_energy_zigbee2mqtt","unit_of_measurement":"kWh","value_template":"{{ value_json.energy }}"}'
info 2021-06-03 11:04:09: MQTT publish: topic 'homeassistant/sensor/0x842e14fffe366894/power_outage_memory/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x842e14fffe366894"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x842e14fffe366894","sw_version":"Zigbee2MQTT 1.19.0"},"json_attributes_topic":"zigbee2mqtt/0x842e14fffe366894","name":"0x842e14fffe366894 power outage memory","state_topic":"zigbee2mqtt/0x842e14fffe366894","unique_id":"0x842e14fffe366894_power_outage_memory_zigbee2mqtt","value_template":"{{ value_json.power_outage_memory }}"}'
info 2021-06-03 11:04:09: MQTT publish: topic 'homeassistant/sensor/0x842e14fffe366894/linkquality/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x842e14fffe366894"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x842e14fffe366894","sw_version":"Zigbee2MQTT 1.19.0"},"icon":"mdi:signal","json_attributes_topic":"zigbee2mqtt/0x842e14fffe366894","name":"0x842e14fffe366894 linkquality","state_topic":"zigbee2mqtt/0x842e14fffe366894","unique_id":"0x842e14fffe366894_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
info 2021-06-03 11:04:09: MQTT publish: topic 'homeassistant/switch/0x588e81fffeff60eb/switch/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"command_topic":"zigbee2mqtt/0x588e81fffeff60eb/set","device":{"identifiers":["zigbee2mqtt_0x588e81fffeff60eb"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x588e81fffeff60eb","sw_version":"Zigbee2MQTT 1.19.0"},"json_attributes_topic":"zigbee2mqtt/0x588e81fffeff60eb","name":"0x588e81fffeff60eb","payload_off":"OFF","payload_on":"ON","state_topic":"zigbee2mqtt/0x588e81fffeff60eb","unique_id":"0x588e81fffeff60eb_switch_zigbee2mqtt","value_template":"{{ value_json.state }}"}'
info 2021-06-03 11:04:09: MQTT publish: topic 'homeassistant/sensor/0x588e81fffeff60eb/power/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x588e81fffeff60eb"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x588e81fffeff60eb","sw_version":"Zigbee2MQTT 1.19.0"},"device_class":"power","json_attributes_topic":"zigbee2mqtt/0x588e81fffeff60eb","name":"0x588e81fffeff60eb power","state_topic":"zigbee2mqtt/0x588e81fffeff60eb","unique_id":"0x588e81fffeff60eb_power_zigbee2mqtt","unit_of_measurement":"W","value_template":"{{ value_json.power }}"}'
info 2021-06-03 11:04:09: MQTT publish: topic 'homeassistant/sensor/0x588e81fffeff60eb/current/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x588e81fffeff60eb"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x588e81fffeff60eb","sw_version":"Zigbee2MQTT 1.19.0"},"device_class":"current","json_attributes_topic":"zigbee2mqtt/0x588e81fffeff60eb","name":"0x588e81fffeff60eb current","state_topic":"zigbee2mqtt/0x588e81fffeff60eb","unique_id":"0x588e81fffeff60eb_current_zigbee2mqtt","unit_of_measurement":"A","value_template":"{{ value_json.current }}"}'
info 2021-06-03 11:04:09: MQTT publish: topic 'homeassistant/sensor/0x588e81fffeff60eb/voltage/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x588e81fffeff60eb"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x588e81fffeff60eb","sw_version":"Zigbee2MQTT 1.19.0"},"device_class":"voltage","json_attributes_topic":"zigbee2mqtt/0x588e81fffeff60eb","name":"0x588e81fffeff60eb voltage","state_topic":"zigbee2mqtt/0x588e81fffeff60eb","unique_id":"0x588e81fffeff60eb_voltage_zigbee2mqtt","unit_of_measurement":"V","value_template":"{{ value_json.voltage }}"}'
info 2021-06-03 11:04:09: MQTT publish: topic 'homeassistant/sensor/0x588e81fffeff60eb/energy/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x588e81fffeff60eb"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x588e81fffeff60eb","sw_version":"Zigbee2MQTT 1.19.0"},"device_class":"energy","json_attributes_topic":"zigbee2mqtt/0x588e81fffeff60eb","name":"0x588e81fffeff60eb energy","state_topic":"zigbee2mqtt/0x588e81fffeff60eb","unique_id":"0x588e81fffeff60eb_energy_zigbee2mqtt","unit_of_measurement":"kWh","value_template":"{{ value_json.energy }}"}'
info 2021-06-03 11:04:09: MQTT publish: topic 'homeassistant/sensor/0x588e81fffeff60eb/power_outage_memory/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x588e81fffeff60eb"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x588e81fffeff60eb","sw_version":"Zigbee2MQTT 1.19.0"},"json_attributes_topic":"zigbee2mqtt/0x588e81fffeff60eb","name":"0x588e81fffeff60eb power outage memory","state_topic":"zigbee2mqtt/0x588e81fffeff60eb","unique_id":"0x588e81fffeff60eb_power_outage_memory_zigbee2mqtt","value_template":"{{ value_json.power_outage_memory }}"}'
info 2021-06-03 11:04:09: MQTT publish: topic 'homeassistant/sensor/0x588e81fffeff60eb/linkquality/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x588e81fffeff60eb"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x588e81fffeff60eb","sw_version":"Zigbee2MQTT 1.19.0"},"icon":"mdi:signal","json_attributes_topic":"zigbee2mqtt/0x588e81fffeff60eb","name":"0x588e81fffeff60eb linkquality","state_topic":"zigbee2mqtt/0x588e81fffeff60eb","unique_id":"0x588e81fffeff60eb_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/switch/C09F5E_RL_1/config' with data '{"name":"Tasmota","stat_t":"hallfan/tele/STATE","avty_t":"hallfan/tele/LWT","pl_avail":"Online","pl_not_avail":"Offline","cmd_t":"hallfan/cmnd/POWER","val_tpl":"{{value_json.POWER}}","pl_off":"OFF","pl_on":"ON","uniq_id":"C09F5E_RL_1","dev":{"ids":["C09F5E"]}}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/sensor/0x00158d00044be19c/consumption/config' with data '{"availability_topic":"zigbee2mqtt/bridge/state","device":{"identifiers":["zigbee2mqtt_0x00158d00044be19c"],"manufacturer":"Xiaomi","model":"Aqara wireless relay controller (LLKZMK11LM)","name":"0x00158d00044be19c","sw_version":"Zigbee2MQTT 1.14.4"},"icon":"mdi:flash","json_attributes_topic":"zigbee2mqtt/0x00158d00044be19c","name":"0x00158d00044be19c_consumption","state_topic":"zigbee2mqtt/0x00158d00044be19c","unique_id":"0x00158d00044be19c_consumption_zigbee2mqtt","unit_of_measurement":"kWh","value_template":"{{ value_json.consumption }}"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/sensor/0x00158d000400e1ec/cover/config' with data '{"availability_topic":"zigbee2mqtt/bridge/state","device":{"identifiers":["zigbee2mqtt_0x00158d000400e1ec"],"manufacturer":"Xiaomi","model":"Aqara curtain motor (ZNCLDJ11LM)","name":"0x00158d000400e1ec","sw_version":"Zigbee2MQTT 1.14.4"},"icon":"mdi:view-array","json_attributes_topic":"zigbee2mqtt/0x00158d000400e1ec","name":"0x00158d000400e1ec_cover","state_topic":"zigbee2mqtt/0x00158d000400e1ec","unique_id":"0x00158d000400e1ec_cover_zigbee2mqtt","value_template":"{{ value_json.position }}"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/sensor/C09F5E_status/config' with data '{"name":"Tasmota status","stat_t":"hallfan/tele/HASS_STATE","avty_t":"hallfan/tele/LWT","pl_avail":"Online","pl_not_avail":"Offline","json_attr_t":"hallfan/tele/HASS_STATE","unit_of_meas":"%","val_tpl":"{{value_json['RSSI']}}","ic":"mdi:information-outline","uniq_id":"C09F5E_status","dev":{"ids":["C09F5E"],"name":"Tasmota","mdl":"Sonoff Basic","sw":"8.5.0(tasmota)","mf":"Tasmota"}}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/cover/0x00158d000400e1ec/cover/set' with data '{
"options":{
"reverse_direction": true
}
}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/sensor/0x00158d00044be19c/power/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00158d00044be19c"],"manufacturer":"Xiaomi","model":"Aqara wireless relay controller (LLKZMK11LM)","name":"0x00158d00044be19c","sw_version":"Zigbee2MQTT 1.19.0"},"device_class":"power","json_attributes_topic":"zigbee2mqtt/0x00158d00044be19c","name":"0x00158d00044be19c power","state_topic":"zigbee2mqtt/0x00158d00044be19c","unique_id":"0x00158d00044be19c_power_zigbee2mqtt","unit_of_measurement":"W","value_template":"{{ value_json.power }}"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/sensor/0x00158d00044be19c/energy/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00158d00044be19c"],"manufacturer":"Xiaomi","model":"Aqara wireless relay controller (LLKZMK11LM)","name":"0x00158d00044be19c","sw_version":"Zigbee2MQTT 1.19.0"},"device_class":"energy","json_attributes_topic":"zigbee2mqtt/0x00158d00044be19c","name":"0x00158d00044be19c energy","state_topic":"zigbee2mqtt/0x00158d00044be19c","unique_id":"0x00158d00044be19c_energy_zigbee2mqtt","unit_of_measurement":"kWh","value_template":"{{ value_json.energy }}"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/sensor/0x00158d00044be19c/temperature/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00158d00044be19c"],"manufacturer":"Xiaomi","model":"Aqara wireless relay controller (LLKZMK11LM)","name":"0x00158d00044be19c","sw_version":"Zigbee2MQTT 1.19.0"},"device_class":"temperature","json_attributes_topic":"zigbee2mqtt/0x00158d00044be19c","name":"0x00158d00044be19c temperature","state_topic":"zigbee2mqtt/0x00158d00044be19c","unique_id":"0x00158d00044be19c_temperature_zigbee2mqtt","unit_of_measurement":"°C","value_template":"{{ value_json.temperature }}"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/sensor/0x00158d00044be19c/voltage/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00158d00044be19c"],"manufacturer":"Xiaomi","model":"Aqara wireless relay controller (LLKZMK11LM)","name":"0x00158d00044be19c","sw_version":"Zigbee2MQTT 1.19.0"},"device_class":"voltage","json_attributes_topic":"zigbee2mqtt/0x00158d00044be19c","name":"0x00158d00044be19c voltage","state_topic":"zigbee2mqtt/0x00158d00044be19c","unique_id":"0x00158d00044be19c_voltage_zigbee2mqtt","unit_of_measurement":"V","value_template":"{{ value_json.voltage }}"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/switch/0x00158d00044be19c/switch_l1/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"command_topic":"zigbee2mqtt/0x00158d00044be19c/l1/set","device":{"identifiers":["zigbee2mqtt_0x00158d00044be19c"],"manufacturer":"Xiaomi","model":"Aqara wireless relay controller (LLKZMK11LM)","name":"0x00158d00044be19c","sw_version":"Zigbee2MQTT 1.19.0"},"json_attributes_topic":"zigbee2mqtt/0x00158d00044be19c","name":"0x00158d00044be19c l1","payload_off":"OFF","payload_on":"ON","state_topic":"zigbee2mqtt/0x00158d00044be19c","unique_id":"0x00158d00044be19c_switch_l1_zigbee2mqtt","value_template":"{{ value_json.state_l1 }}"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/switch/0x00158d00044be19c/switch_l2/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"command_topic":"zigbee2mqtt/0x00158d00044be19c/l2/set","device":{"identifiers":["zigbee2mqtt_0x00158d00044be19c"],"manufacturer":"Xiaomi","model":"Aqara wireless relay controller (LLKZMK11LM)","name":"0x00158d00044be19c","sw_version":"Zigbee2MQTT 1.19.0"},"json_attributes_topic":"zigbee2mqtt/0x00158d00044be19c","name":"0x00158d00044be19c l2","payload_off":"OFF","payload_on":"ON","state_topic":"zigbee2mqtt/0x00158d00044be19c","unique_id":"0x00158d00044be19c_switch_l2_zigbee2mqtt","value_template":"{{ value_json.state_l2 }}"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/binary_sensor/0x00158d00044be19c/interlock/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00158d00044be19c"],"manufacturer":"Xiaomi","model":"Aqara wireless relay controller (LLKZMK11LM)","name":"0x00158d00044be19c","sw_version":"Zigbee2MQTT 1.19.0"},"json_attributes_topic":"zigbee2mqtt/0x00158d00044be19c","name":"0x00158d00044be19c interlock","payload_off":false,"payload_on":true,"state_topic":"zigbee2mqtt/0x00158d00044be19c","unique_id":"0x00158d00044be19c_interlock_zigbee2mqtt","value_template":"{{ value_json.interlock }}"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/sensor/0x00158d00044be19c/linkquality/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00158d00044be19c"],"manufacturer":"Xiaomi","model":"Aqara wireless relay controller (LLKZMK11LM)","name":"0x00158d00044be19c","sw_version":"Zigbee2MQTT 1.19.0"},"icon":"mdi:signal","json_attributes_topic":"zigbee2mqtt/0x00158d00044be19c","name":"0x00158d00044be19c linkquality","state_topic":"zigbee2mqtt/0x00158d00044be19c","unique_id":"0x00158d00044be19c_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/cover/0x00158d000400e1ec/cover/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"command_topic":"zigbee2mqtt/0x00158d000400e1ec/set","device":{"identifiers":["zigbee2mqtt_0x00158d000400e1ec"],"manufacturer":"Xiaomi","model":"Aqara curtain motor (ZNCLDJ11LM)","name":"0x00158d000400e1ec","sw_version":"Zigbee2MQTT 1.19.0"},"json_attributes_topic":"zigbee2mqtt/0x00158d000400e1ec","name":"0x00158d000400e1ec","position_template":"{{ value_json.position }}","position_topic":"zigbee2mqtt/0x00158d000400e1ec","set_position_template":"{ \"position\": {{ position }} }","set_position_topic":"zigbee2mqtt/0x00158d000400e1ec/set","unique_id":"0x00158d000400e1ec_cover_zigbee2mqtt"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/sensor/0x00158d000400e1ec/linkquality/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00158d000400e1ec"],"manufacturer":"Xiaomi","model":"Aqara curtain motor (ZNCLDJ11LM)","name":"0x00158d000400e1ec","sw_version":"Zigbee2MQTT 1.19.0"},"icon":"mdi:signal","json_attributes_topic":"zigbee2mqtt/0x00158d000400e1ec","name":"0x00158d000400e1ec linkquality","state_topic":"zigbee2mqtt/0x00158d000400e1ec","unique_id":"0x00158d000400e1ec_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/sensor/0x00158d000400e1ec/update_state/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00158d000400e1ec"],"manufacturer":"Xiaomi","model":"Aqara curtain motor (ZNCLDJ11LM)","name":"0x00158d000400e1ec","sw_version":"Zigbee2MQTT 1.19.0"},"icon":"mdi:update","json_attributes_topic":"zigbee2mqtt/0x00158d000400e1ec","name":"0x00158d000400e1ec update state","state_topic":"zigbee2mqtt/0x00158d000400e1ec","unique_id":"0x00158d000400e1ec_update_state_zigbee2mqtt","value_template":"{{ value_json['update']['state'] }}"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/binary_sensor/0x00158d000400e1ec/update_available/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00158d000400e1ec"],"manufacturer":"Xiaomi","model":"Aqara curtain motor (ZNCLDJ11LM)","name":"0x00158d000400e1ec","sw_version":"Zigbee2MQTT 1.19.0"},"json_attributes_topic":"zigbee2mqtt/0x00158d000400e1ec","name":"0x00158d000400e1ec update available","payload_off":false,"payload_on":true,"state_topic":"zigbee2mqtt/0x00158d000400e1ec","unique_id":"0x00158d000400e1ec_update_available_zigbee2mqtt","value_template":"{{ value_json.update_available}}"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/switch/0x842e14fffef5a27d/switch/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"command_topic":"zigbee2mqtt/0x842e14fffef5a27d/set","device":{"identifiers":["zigbee2mqtt_0x842e14fffef5a27d"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x842e14fffef5a27d","sw_version":"Zigbee2MQTT 1.19.0"},"json_attributes_topic":"zigbee2mqtt/0x842e14fffef5a27d","name":"0x842e14fffef5a27d","payload_off":"OFF","payload_on":"ON","state_topic":"zigbee2mqtt/0x842e14fffef5a27d","unique_id":"0x842e14fffef5a27d_switch_zigbee2mqtt","value_template":"{{ value_json.state }}"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/sensor/0x842e14fffef5a27d/power/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x842e14fffef5a27d"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x842e14fffef5a27d","sw_version":"Zigbee2MQTT 1.19.0"},"device_class":"power","json_attributes_topic":"zigbee2mqtt/0x842e14fffef5a27d","name":"0x842e14fffef5a27d power","state_topic":"zigbee2mqtt/0x842e14fffef5a27d","unique_id":"0x842e14fffef5a27d_power_zigbee2mqtt","unit_of_measurement":"W","value_template":"{{ value_json.power }}"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/sensor/0x842e14fffef5a27d/current/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x842e14fffef5a27d"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x842e14fffef5a27d","sw_version":"Zigbee2MQTT 1.19.0"},"device_class":"current","json_attributes_topic":"zigbee2mqtt/0x842e14fffef5a27d","name":"0x842e14fffef5a27d current","state_topic":"zigbee2mqtt/0x842e14fffef5a27d","unique_id":"0x842e14fffef5a27d_current_zigbee2mqtt","unit_of_measurement":"A","value_template":"{{ value_json.current }}"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/sensor/0x842e14fffef5a27d/voltage/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x842e14fffef5a27d"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x842e14fffef5a27d","sw_version":"Zigbee2MQTT 1.19.0"},"device_class":"voltage","json_attributes_topic":"zigbee2mqtt/0x842e14fffef5a27d","name":"0x842e14fffef5a27d voltage","state_topic":"zigbee2mqtt/0x842e14fffef5a27d","unique_id":"0x842e14fffef5a27d_voltage_zigbee2mqtt","unit_of_measurement":"V","value_template":"{{ value_json.voltage }}"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/sensor/0x842e14fffef5a27d/energy/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x842e14fffef5a27d"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x842e14fffef5a27d","sw_version":"Zigbee2MQTT 1.19.0"},"device_class":"energy","json_attributes_topic":"zigbee2mqtt/0x842e14fffef5a27d","name":"0x842e14fffef5a27d energy","state_topic":"zigbee2mqtt/0x842e14fffef5a27d","unique_id":"0x842e14fffef5a27d_energy_zigbee2mqtt","unit_of_measurement":"kWh","value_template":"{{ value_json.energy }}"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/sensor/0x842e14fffef5a27d/power_outage_memory/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x842e14fffef5a27d"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x842e14fffef5a27d","sw_version":"Zigbee2MQTT 1.19.0"},"json_attributes_topic":"zigbee2mqtt/0x842e14fffef5a27d","name":"0x842e14fffef5a27d power outage memory","state_topic":"zigbee2mqtt/0x842e14fffef5a27d","unique_id":"0x842e14fffef5a27d_power_outage_memory_zigbee2mqtt","value_template":"{{ value_json.power_outage_memory }}"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/sensor/0x842e14fffef5a27d/linkquality/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x842e14fffef5a27d"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x842e14fffef5a27d","sw_version":"Zigbee2MQTT 1.19.0"},"icon":"mdi:signal","json_attributes_topic":"zigbee2mqtt/0x842e14fffef5a27d","name":"0x842e14fffef5a27d linkquality","state_topic":"zigbee2mqtt/0x842e14fffef5a27d","unique_id":"0x842e14fffef5a27d_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/switch/0x842e14fffedfa242/switch/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"command_topic":"zigbee2mqtt/0x842e14fffedfa242/set","device":{"identifiers":["zigbee2mqtt_0x842e14fffedfa242"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x842e14fffedfa242","sw_version":"Zigbee2MQTT 1.19.0"},"json_attributes_topic":"zigbee2mqtt/0x842e14fffedfa242","name":"0x842e14fffedfa242","payload_off":"OFF","payload_on":"ON","state_topic":"zigbee2mqtt/0x842e14fffedfa242","unique_id":"0x842e14fffedfa242_switch_zigbee2mqtt","value_template":"{{ value_json.state }}"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/sensor/0x842e14fffedfa242/power/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x842e14fffedfa242"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x842e14fffedfa242","sw_version":"Zigbee2MQTT 1.19.0"},"device_class":"power","json_attributes_topic":"zigbee2mqtt/0x842e14fffedfa242","name":"0x842e14fffedfa242 power","state_topic":"zigbee2mqtt/0x842e14fffedfa242","unique_id":"0x842e14fffedfa242_power_zigbee2mqtt","unit_of_measurement":"W","value_template":"{{ value_json.power }}"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/sensor/0x842e14fffedfa242/current/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x842e14fffedfa242"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x842e14fffedfa242","sw_version":"Zigbee2MQTT 1.19.0"},"device_class":"current","json_attributes_topic":"zigbee2mqtt/0x842e14fffedfa242","name":"0x842e14fffedfa242 current","state_topic":"zigbee2mqtt/0x842e14fffedfa242","unique_id":"0x842e14fffedfa242_current_zigbee2mqtt","unit_of_measurement":"A","value_template":"{{ value_json.current }}"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/sensor/0x842e14fffedfa242/voltage/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x842e14fffedfa242"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x842e14fffedfa242","sw_version":"Zigbee2MQTT 1.19.0"},"device_class":"voltage","json_attributes_topic":"zigbee2mqtt/0x842e14fffedfa242","name":"0x842e14fffedfa242 voltage","state_topic":"zigbee2mqtt/0x842e14fffedfa242","unique_id":"0x842e14fffedfa242_voltage_zigbee2mqtt","unit_of_measurement":"V","value_template":"{{ value_json.voltage }}"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/sensor/0x842e14fffedfa242/energy/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x842e14fffedfa242"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x842e14fffedfa242","sw_version":"Zigbee2MQTT 1.19.0"},"device_class":"energy","json_attributes_topic":"zigbee2mqtt/0x842e14fffedfa242","name":"0x842e14fffedfa242 energy","state_topic":"zigbee2mqtt/0x842e14fffedfa242","unique_id":"0x842e14fffedfa242_energy_zigbee2mqtt","unit_of_measurement":"kWh","value_template":"{{ value_json.energy }}"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/sensor/0x842e14fffedfa242/power_outage_memory/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x842e14fffedfa242"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x842e14fffedfa242","sw_version":"Zigbee2MQTT 1.19.0"},"json_attributes_topic":"zigbee2mqtt/0x842e14fffedfa242","name":"0x842e14fffedfa242 power outage memory","state_topic":"zigbee2mqtt/0x842e14fffedfa242","unique_id":"0x842e14fffedfa242_power_outage_memory_zigbee2mqtt","value_template":"{{ value_json.power_outage_memory }}"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/sensor/0x842e14fffedfa242/linkquality/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x842e14fffedfa242"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x842e14fffedfa242","sw_version":"Zigbee2MQTT 1.19.0"},"icon":"mdi:signal","json_attributes_topic":"zigbee2mqtt/0x842e14fffedfa242","name":"0x842e14fffedfa242 linkquality","state_topic":"zigbee2mqtt/0x842e14fffedfa242","unique_id":"0x842e14fffedfa242_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/switch/0x842e14fffe366894/switch/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"command_topic":"zigbee2mqtt/0x842e14fffe366894/set","device":{"identifiers":["zigbee2mqtt_0x842e14fffe366894"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x842e14fffe366894","sw_version":"Zigbee2MQTT 1.19.0"},"json_attributes_topic":"zigbee2mqtt/0x842e14fffe366894","name":"0x842e14fffe366894","payload_off":"OFF","payload_on":"ON","state_topic":"zigbee2mqtt/0x842e14fffe366894","unique_id":"0x842e14fffe366894_switch_zigbee2mqtt","value_template":"{{ value_json.state }}"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/sensor/0x842e14fffe366894/power/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x842e14fffe366894"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x842e14fffe366894","sw_version":"Zigbee2MQTT 1.19.0"},"device_class":"power","json_attributes_topic":"zigbee2mqtt/0x842e14fffe366894","name":"0x842e14fffe366894 power","state_topic":"zigbee2mqtt/0x842e14fffe366894","unique_id":"0x842e14fffe366894_power_zigbee2mqtt","unit_of_measurement":"W","value_template":"{{ value_json.power }}"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/sensor/0x842e14fffe366894/current/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x842e14fffe366894"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x842e14fffe366894","sw_version":"Zigbee2MQTT 1.19.0"},"device_class":"current","json_attributes_topic":"zigbee2mqtt/0x842e14fffe366894","name":"0x842e14fffe366894 current","state_topic":"zigbee2mqtt/0x842e14fffe366894","unique_id":"0x842e14fffe366894_current_zigbee2mqtt","unit_of_measurement":"A","value_template":"{{ value_json.current }}"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/sensor/0x842e14fffe366894/voltage/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x842e14fffe366894"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x842e14fffe366894","sw_version":"Zigbee2MQTT 1.19.0"},"device_class":"voltage","json_attributes_topic":"zigbee2mqtt/0x842e14fffe366894","name":"0x842e14fffe366894 voltage","state_topic":"zigbee2mqtt/0x842e14fffe366894","unique_id":"0x842e14fffe366894_voltage_zigbee2mqtt","unit_of_measurement":"V","value_template":"{{ value_json.voltage }}"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/sensor/0x842e14fffe366894/energy/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x842e14fffe366894"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x842e14fffe366894","sw_version":"Zigbee2MQTT 1.19.0"},"device_class":"energy","json_attributes_topic":"zigbee2mqtt/0x842e14fffe366894","name":"0x842e14fffe366894 energy","state_topic":"zigbee2mqtt/0x842e14fffe366894","unique_id":"0x842e14fffe366894_energy_zigbee2mqtt","unit_of_measurement":"kWh","value_template":"{{ value_json.energy }}"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/sensor/0x842e14fffe366894/power_outage_memory/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x842e14fffe366894"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x842e14fffe366894","sw_version":"Zigbee2MQTT 1.19.0"},"json_attributes_topic":"zigbee2mqtt/0x842e14fffe366894","name":"0x842e14fffe366894 power outage memory","state_topic":"zigbee2mqtt/0x842e14fffe366894","unique_id":"0x842e14fffe366894_power_outage_memory_zigbee2mqtt","value_template":"{{ value_json.power_outage_memory }}"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/sensor/0x842e14fffe366894/linkquality/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x842e14fffe366894"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x842e14fffe366894","sw_version":"Zigbee2MQTT 1.19.0"},"icon":"mdi:signal","json_attributes_topic":"zigbee2mqtt/0x842e14fffe366894","name":"0x842e14fffe366894 linkquality","state_topic":"zigbee2mqtt/0x842e14fffe366894","unique_id":"0x842e14fffe366894_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/switch/0x588e81fffeff60eb/switch/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"command_topic":"zigbee2mqtt/0x588e81fffeff60eb/set","device":{"identifiers":["zigbee2mqtt_0x588e81fffeff60eb"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x588e81fffeff60eb","sw_version":"Zigbee2MQTT 1.19.0"},"json_attributes_topic":"zigbee2mqtt/0x588e81fffeff60eb","name":"0x588e81fffeff60eb","payload_off":"OFF","payload_on":"ON","state_topic":"zigbee2mqtt/0x588e81fffeff60eb","unique_id":"0x588e81fffeff60eb_switch_zigbee2mqtt","value_template":"{{ value_json.state }}"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/sensor/0x588e81fffeff60eb/power/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x588e81fffeff60eb"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x588e81fffeff60eb","sw_version":"Zigbee2MQTT 1.19.0"},"device_class":"power","json_attributes_topic":"zigbee2mqtt/0x588e81fffeff60eb","name":"0x588e81fffeff60eb power","state_topic":"zigbee2mqtt/0x588e81fffeff60eb","unique_id":"0x588e81fffeff60eb_power_zigbee2mqtt","unit_of_measurement":"W","value_template":"{{ value_json.power }}"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/sensor/0x588e81fffeff60eb/current/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x588e81fffeff60eb"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x588e81fffeff60eb","sw_version":"Zigbee2MQTT 1.19.0"},"device_class":"current","json_attributes_topic":"zigbee2mqtt/0x588e81fffeff60eb","name":"0x588e81fffeff60eb current","state_topic":"zigbee2mqtt/0x588e81fffeff60eb","unique_id":"0x588e81fffeff60eb_current_zigbee2mqtt","unit_of_measurement":"A","value_template":"{{ value_json.current }}"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/sensor/0x588e81fffeff60eb/voltage/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x588e81fffeff60eb"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x588e81fffeff60eb","sw_version":"Zigbee2MQTT 1.19.0"},"device_class":"voltage","json_attributes_topic":"zigbee2mqtt/0x588e81fffeff60eb","name":"0x588e81fffeff60eb voltage","state_topic":"zigbee2mqtt/0x588e81fffeff60eb","unique_id":"0x588e81fffeff60eb_voltage_zigbee2mqtt","unit_of_measurement":"V","value_template":"{{ value_json.voltage }}"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/sensor/0x588e81fffeff60eb/energy/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x588e81fffeff60eb"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x588e81fffeff60eb","sw_version":"Zigbee2MQTT 1.19.0"},"device_class":"energy","json_attributes_topic":"zigbee2mqtt/0x588e81fffeff60eb","name":"0x588e81fffeff60eb energy","state_topic":"zigbee2mqtt/0x588e81fffeff60eb","unique_id":"0x588e81fffeff60eb_energy_zigbee2mqtt","unit_of_measurement":"kWh","value_template":"{{ value_json.energy }}"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/sensor/0x588e81fffeff60eb/power_outage_memory/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x588e81fffeff60eb"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x588e81fffeff60eb","sw_version":"Zigbee2MQTT 1.19.0"},"json_attributes_topic":"zigbee2mqtt/0x588e81fffeff60eb","name":"0x588e81fffeff60eb power outage memory","state_topic":"zigbee2mqtt/0x588e81fffeff60eb","unique_id":"0x588e81fffeff60eb_power_outage_memory_zigbee2mqtt","value_template":"{{ value_json.power_outage_memory }}"}'
debug 2021-06-03 11:04:09: Received MQTT message on 'homeassistant/sensor/0x588e81fffeff60eb/linkquality/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x588e81fffeff60eb"],"manufacturer":"TuYa","model":"10A UK or 16A EU smart plug (TS0121_plug)","name":"0x588e81fffeff60eb","sw_version":"Zigbee2MQTT 1.19.0"},"icon":"mdi:signal","json_attributes_topic":"zigbee2mqtt/0x588e81fffeff60eb","name":"0x588e81fffeff60eb linkquality","state_topic":"zigbee2mqtt/0x588e81fffeff60eb","unique_id":"0x588e81fffeff60eb_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
error 2021-06-03 11:04:30: Publish 'set' 'options' to '0x00158d000400e1ec' failed: 'Error: Write 0x00158d000400e1ec/1 genBasic({"1025":{"value":[7,0,2,0,0,4,0,18],"type":66}}, {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":4447,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Data request failed with error: 'No network route' (205))'
debug 2021-06-03 11:04:30: Error: Write 0x00158d000400e1ec/1 genBasic({"1025":{"value":[7,0,2,0,0,4,0,18],"type":66}}, {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":4447,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Data request failed with error: 'No network route' (205))
at ZStackAdapter.
Are these all CC253x devices you are using?
Are these all CC253x devices you are using?
Yes
Yes I use a cc2531
Are these all CC253x devices you are using?
yes
Are these all CC253x devices you are using?
сс2538+сс2592
I was unclear about this in https://github.com/Koenkk/zigbee2mqtt/issues/7665#issuecomment-853258232, but I need this log when upgrading from 1.18.3 to 1.19.0 and losing your devices. Please post your logs on pastebin.com and link them here. Also what firmware are you using on your adapter?
So try reproducing it by:
@Koenkk I downgraded back to 1.18.3 but all my devices are still lost. It looks like something happened with the upgrade that triggered the devices to be lost. Also I cannot rejoin them. But I will try to upgrade again, maybe that'll help!
After several restores from the backup and updates to the latest version, the addition of devices on the new version worked. All devices rejoined, the names pulled up from the old db. Everything works.
After several restores from the backup and updates to the latest version, the addition of devices on the new version worked. All devices rejoined, the names pulled up from the old db. Everything works.
What did you do differently? I tried restoring from my backup from 2 days ago, but still all devices are unjoined (and still in configuration.yaml
). It's driving me crazy, even tried factory resetting my Hue bulbs but they're not picked up. Since I changed all my physical switches for Hue Wall Modules, I cannot toggle the lights.
After several restores from the backup and updates to the latest version, the addition of devices on the new version worked. All devices rejoined, the names pulled up from the old db. Everything works.
What did you do differently? I tried restoring from my backup from 2 days ago, but still all devices are unjoined (and still in
configuration.yaml
). It's driving me crazy, even tried factory resetting my Hue bulbs but they're not picked up. Since I changed all my physical switches for Hue Wall Modules, I cannot toggle the lights.
Nothing in the hardware configuration or configuration files has changed. Just restored from the backup several times and updated. I don't understand why z2m suddenly started working...
@JDFS404 I need the log when upgrading from 1.18.3 to 1.19.0 like described here: https://github.com/Koenkk/zigbee2mqtt/issues/7665#issuecomment-853689437
Well, I had some troubles again and lost ALL devices - especially the Hue Wall Modules are a pain in the ass to reset, so I reversed back to 1.18.3 and just set everything back. Even flashed CC2531 again and got another one from a friend of mine. So I will just stick with 1.18.3 now because I already spent a day resetting everything...
Maybe when I'll switch to ZZH I will update again and try to provide you with a debug log.
I have the same issue, but all the devices worked for an hour or so with the new version before unjoining.
I cannot rejoin any of my devices. Downgrading does not help. I am using CC2531 with 20201127 firmware.
EDIT: Here is my log with herdsman debug: log.txt
EDIT2: I managed to get everything working again by downgrading to 1.18 and restoring database.db
and state.json
from my 1.18 backups. I was even able to upgrade to 1.19.0 and everything is still working. I expect that this issue will occur again at some point and I can then post any debug logs.
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
What happened
I upgraded to 1.19.0 and had 0 devices joined. Rollback to 1.18.3 did not help - 0 devices joined. I joined all my devices manually again (wanted to do that anyway due to changed locations and some sticky bindings of battery powered sensors), but this was unexpected.
What did you expect to happen
Smooth upgrade, keeping my devices
How to reproduce it (minimal and precise)
I just upgraded from 1.18.3 to 1.19.0 by pulling the newest image in Docker.
Debug info
Zigbee2MQTT version: Adapter hardware: CC2531,
CC2530, CC26X2R1, CC1352P-2, Conbee IIAdapter firmware version: 20190109Nothing really to see in the logs. First log on 1.19.0:
Last regular log on 1.18.3: