Koenkk / zigbee2mqtt

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

Aqara human body movement and illuminance sensor RTCGQ11LM not reporting battery level #11616

Closed dannykellett closed 2 years ago

dannykellett commented 2 years ago

What happened?

Aqara human body movement and illuminance sensor doesn't show battery when using z2mqtt.

mqqt explorere shows: { "battery": null, "illuminance": 20, "illuminance_lux": 20, "linkquality": 145, "occupancy": false, "temperature": null, "voltage": null }

Home assistant dev tools show: battery: null illuminance: 20 illuminance_lux: 20 linkquality: 145 occupancy: false temperature: null voltage: null device_class: motion friendly_name: motion_sensor_office_occupancy

I disabled and enabled zha and it showed, assuming this means the unit isn't faulty?

Thanks

What did you expect to happen?

To see the battery % as documented here: https://www.zigbee2mqtt.io/devices/RTCGQ11LM.html

How to reproduce it (minimal and precise)

Installed versions and this is the only zigbee device. View values in mqtt explorer and homeassistant

Zigbee2MQTT version

1.23.0 commit: unknown

Adapter firmware version

20211217

Adapter

ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus

Debug log

2022-02-25T18:42:26.946Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,5,37,4,0,0,0,0,2,38] 2022-02-25T18:42:26.958Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,1,101,4,0,96,254,16,69,132,0,0,0,0,0,10,2,94,192,32,8,0,1,0,0,0,110,254,23,69,255,0,0,0,4,128,0,58,0,0,0,0,0,10,2,94,192,32,8,0,1,0,0,0,172] 2022-02-25T18:42:26.958Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,1,101,4,0,96,254,16,69,132,0,0,0,0,0,10,2,94,192,32,8,0,1,0,0,0,110,254,23,69,255,0,0,0,4,128,0,58,0,0,0,0,0,10,2,94,192,32,8,0,1,0,0,0,172] 2022-02-25T18:42:26.958Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 1 - 3 - 5 - 4 - [0] - 96 2022-02-25T18:42:26.959Z zigbee-herdsman:adapter:zStack:znp:SRSP <-- ZDO - simpleDescReq - {"status":0} 2022-02-25T18:42:26.959Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,16,69,132,0,0,0,0,0,10,2,94,192,32,8,0,1,0,0,0,110,254,23,69,255,0,0,0,4,128,0,58,0,0,0,0,0,10,2,94,192,32,8,0,1,0,0,0,172] 2022-02-25T18:42:26.959Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 16 - 2 - 5 - 132 - [0,0,0,0,0,10,2,94,192,32,8,0,1,0,0,0] - 110 2022-02-25T18:42:26.959Z zigbee-herdsman:adapter:zStack:znp:AREQ <-- ZDO - simpleDescRsp - {"srcaddr":0,"status":0,"nwkaddr":0,"len":10,"endpoint":2,"profileid":49246,"deviceid":2080,"deviceversion":0,"numinclusters":1,"inclusterlist":[0],"numoutclusters":0,"outclusterlist":[]} 2022-02-25T18:42:26.960Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,23,69,255,0,0,0,4,128,0,58,0,0,0,0,0,10,2,94,192,32,8,0,1,0,0,0,172] 2022-02-25T18:42:26.960Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 23 - 2 - 5 - 255 - [0,0,0,4,128,0,58,0,0,0,0,0,10,2,94,192,32,8,0,1,0,0,0] - 172 2022-02-25T18:42:26.960Z zigbee-herdsman:adapter:zStack:znp:AREQ <-- ZDO - msgCbIncoming - {"srcaddr":0,"wasbroadcast":0,"clusterid":32772,"securityuse":0,"seqnum":58,"macdstaddr":0,"msgdata":{"type":"Buffer","data":[]}} 2022-02-25T18:42:26.960Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [] 2022-02-25T18:42:26.961Z zigbee-herdsman:adapter:zStack:znp:SREQ --> ZDO - simpleDescReq - {"dstaddr":0,"nwkaddrofinterest":0,"endpoint":1} 2022-02-25T18:42:26.961Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,5,37,4,0,0,0,0,1,37] 2022-02-25T18:42:26.971Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,1,101,4,0,96,254,22,69,132,0,0,0,0,0,16,1,4,1,0,4,0,2,0,0,25,0,2,0,5,2,5,220,254,29,69,255,0,0,0,4,128,0,59,0,0,0,0,0,16,1,4,1,0,4,0,2,0,0,25,0,2,0,5] 2022-02-25T18:42:26.972Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,1,101,4,0,96,254,22,69,132,0,0,0,0,0,16,1,4,1,0,4,0,2,0,0,25,0,2,0,5,2,5,220,254,29,69,255,0,0,0,4,128,0,59,0,0,0,0,0,16,1,4,1,0,4,0,2,0,0,25,0,2,0,5] 2022-02-25T18:42:26.972Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 1 - 3 - 5 - 4 - [0] - 96 2022-02-25T18:42:26.972Z zigbee-herdsman:adapter:zStack:znp:SRSP <-- ZDO - simpleDescReq - {"status":0} 2022-02-25T18:42:26.972Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,22,69,132,0,0,0,0,0,16,1,4,1,0,4,0,2,0,0,25,0,2,0,5,2,5,220,254,29,69,255,0,0,0,4,128,0,59,0,0,0,0,0,16,1,4,1,0,4,0,2,0,0,25,0,2,0,5] 2022-02-25T18:42:26.973Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 22 - 2 - 5 - 132 - [0,0,0,0,0,16,1,4,1,0,4,0,2,0,0,25,0,2,0,5,2,5] - 220 2022-02-25T18:42:26.973Z zigbee-herdsman:adapter:zStack:znp:AREQ <-- ZDO - simpleDescRsp - {"srcaddr":0,"status":0,"nwkaddr":0,"len":16,"endpoint":1,"profileid":260,"deviceid":1024,"deviceversion":0,"numinclusters":2,"inclusterlist":[0,25],"numoutclusters":2,"outclusterlist":[1280,1282]} 2022-02-25T18:42:26.974Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,29,69,255,0,0,0,4,128,0,59,0,0,0,0,0,16,1,4,1,0,4,0,2,0,0,25,0,2,0,5] Zigbee2MQTT:info 2022-02-25 18:42:26: zigbee-herdsman started (resumed) Zigbee2MQTT:info 2022-02-25 18:42:26: Coordinator firmware version: '{"meta":{"maintrel":1,"majorrel":2,"minorrel":7,"product":1,"revision":20211217,"transportrev":2},"type":"zStack3x0"}' 2022-02-25T18:42:26.989Z zigbee-herdsman:adapter:zStack:znp:SREQ --> ZDO - extNwkInfo - {} 2022-02-25T18:42:26.990Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,0,37,80,117] 2022-02-25T18:42:26.991Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [2,5,19] 2022-02-25T18:42:26.992Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,29,69,255,0,0,0,4,128,0,59,0,0,0,0,0,16,1,4,1,0,4,0,2,0,0,25,0,2,0,5,2,5,19] 2022-02-25T18:42:26.992Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 29 - 2 - 5 - 255 - [0,0,0,4,128,0,59,0,0,0,0,0,16,1,4,1,0,4,0,2,0,0,25,0,2,0,5,2,5] - 19 2022-02-25T18:42:26.992Z zigbee-herdsman:adapter:zStack:znp:AREQ <-- ZDO - msgCbIncoming - {"srcaddr":0,"wasbroadcast":0,"clusterid":32772,"securityuse":0,"seqnum":59,"macdstaddr":0,"msgdata":{"type":"Buffer","data":[]}} 2022-02-25T18:42:26.992Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [] 2022-02-25T18:42:26.997Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,24,101,80,0,0,9,98,26,0,0,54,230,202,36,0,75,18,0,0,0,0,0,0,0,0,0,11,48] 2022-02-25T18:42:26.997Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,24,101,80,0,0,9,98,26,0,0,54,230,202,36,0,75,18,0,0,0,0,0,0,0,0,0,11,48] 2022-02-25T18:42:26.997Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 24 - 3 - 5 - 80 - [0,0,9,98,26,0,0,54,230,202,36,0,75,18,0,0,0,0,0,0,0,0,0,11] - 48 2022-02-25T18:42:26.998Z zigbee-herdsman:adapter:zStack:znp:SRSP <-- ZDO - extNwkInfo - {"shortaddr":0,"devstate":9,"panid":6754,"parentaddr":0,"extendedpanid":"0x00124b0024cae636","parentextaddr":"0x0000000000000000","channel":11} 2022-02-25T18:42:26.998Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [] Zigbee2MQTT:debug 2022-02-25 18:42:26: Zigbee network parameters: {"channel":11,"extendedPanID":"0x00124b0024cae636","panID":6754} Zigbee2MQTT:info 2022-02-25 18:42:27: Currently 1 devices are joined: Zigbee2MQTT:info 2022-02-25 18:42:27: motion_sensor_office (0x00158d0007755b21): RTCGQ11LM - Xiaomi Aqara human body movement and illuminance sensor (EndDevice) Zigbee2MQTT:info 2022-02-25 18:42:27: Zigbee: disabling joining new devices. 2022-02-25T18:42:27.011Z zigbee-herdsman:controller:log Disable joining 2022-02-25T18:42:27.017Z zigbee-herdsman:adapter:zStack:znp:SREQ --> AF - dataRequestExt - {"dstaddrmode":2,"dstaddr":"0x000000000000fffd","destendpoint":242,"dstpanid":0,"srcendpoint":242,"clusterid":33,"transid":1,"options":0,"radius":30,"len":6,"data":{"type":"Buffer","data":[25,2,2,10,0,0]}} 2022-02-25T18:42:27.020Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,26,36,2,2,253,255,0,0,0,0,0,0,242,0,0,242,33,0,1,0,30,6,0,25,2,2,10,0,0,23] 2022-02-25T18:42:27.029Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,1,100,2,0,103] 2022-02-25T18:42:27.030Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,1,100,2,0,103] 2022-02-25T18:42:27.030Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 1 - 3 - 4 - 2 - [0] - 103 2022-02-25T18:42:27.030Z zigbee-herdsman:adapter:zStack:znp:SRSP <-- AF - dataRequestExt - {"status":0} 2022-02-25T18:42:27.030Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [] 2022-02-25T18:42:27.034Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,3,68,128,0,242,1,52] 2022-02-25T18:42:27.034Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,3,68,128,0,242,1,52] 2022-02-25T18:42:27.034Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 3 - 2 - 4 - 128 - [0,242,1] - 52 2022-02-25T18:42:27.035Z zigbee-herdsman:adapter:zStack:znp:AREQ <-- AF - dataConfirm - {"status":0,"endpoint":242,"transid":1} 2022-02-25T18:42:27.035Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [] 2022-02-25T18:42:27.234Z zigbee-herdsman:adapter:zStack:znp:SREQ --> ZDO - mgmtPermitJoinReq - {"addrmode":15,"dstaddr":65532,"duration":0,"tcsignificance":0} 2022-02-25T18:42:27.234Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,5,37,54,15,252,255,0,0,26] 2022-02-25T18:42:27.245Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,1,101,54,0,82,254,3,69,182,0,0,0,240,254,10,69,255,0,0,0,54,128,0,60,0,0,0,58] Zigbee2MQTT:info 2022-02-25 18:42:27: Connecting to MQTT server at mqtt://core-mosquitto:1883 Zigbee2MQTT:debug 2022-02-25 18:42:27: Using MQTT login with username: mqqt-user 2022-02-25T18:42:27.246Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,1,101,54,0,82,254,3,69,182,0,0,0,240,254,10,69,255,0,0,0,54,128,0,60,0,0,0,58] 2022-02-25T18:42:27.246Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 1 - 3 - 5 - 54 - [0] - 82 2022-02-25T18:42:27.246Z zigbee-herdsman:adapter:zStack:znp:SRSP <-- ZDO - mgmtPermitJoinReq - {"status":0} 2022-02-25T18:42:27.247Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,3,69,182,0,0,0,240,254,10,69,255,0,0,0,54,128,0,60,0,0,0,58] 2022-02-25T18:42:27.247Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 3 - 2 - 5 - 182 - [0,0,0] - 240 2022-02-25T18:42:27.247Z zigbee-herdsman:adapter:zStack:znp:AREQ <-- ZDO - mgmtPermitJoinRsp - {"srcaddr":0,"status":0} 2022-02-25T18:42:27.247Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,10,69,255,0,0,0,54,128,0,60,0,0,0,58] 2022-02-25T18:42:27.248Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 10 - 2 - 5 - 255 - [0,0,0,54,128,0,60,0,0,0] - 58 2022-02-25T18:42:27.248Z zigbee-herdsman:adapter:zStack:znp:AREQ <-- ZDO - msgCbIncoming - {"srcaddr":0,"wasbroadcast":0,"clusterid":32822,"securityuse":0,"seqnum":60,"macdstaddr":0,"msgdata":{"type":"Buffer","data":[]}} 2022-02-25T18:42:27.248Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [] Zigbee2MQTT:info 2022-02-25 18:42:27: Connected to MQTT server Zigbee2MQTT:info 2022-02-25 18:42:27: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'online' Zigbee2MQTT:debug 2022-02-25 18:42:27: Received MQTT message on 'zigbee2mqtt/bridge/info' with data '{"commit":"unknown","config":{"advanced":{"adapter_concurrent":null,"adapter_delay":null,"availability_blacklist":[],"availability_blocklist":[],"availability_passlist":[],"availability_whitelist":[],"cache_state":true,"cache_state_persistent":true,"cache_state_send_on_startup":true,"channel":11,"elapsed":false,"ext_pan_id":[221,221,221,221,221,221,221,221],"last_seen":"disable","legacy_api":true,"log_directory":"/config/zigbee2mqtt/log/%TIMESTAMP%","log_file":"log.txt","log_level":"warn","log_output":["console","file"],"log_rotation":true,"log_symlink_current":false,"log_syslog":{},"output":"json","pan_id":6754,"report":false,"soft_reset_timeout":0,"timestamp_format":"YYYY-MM-DD HH:mm:ss"},"availability":false,"blocklist":[],"device_options":{},"devices":{"0x00158d0007755b21":{"friendly_name":"motion_sensor_office"}},"experimental":{},"external_converters":[],"frontend":{"host":"0.0.0.0","port":8099},"groups":{},"homeassistant":{"discovery_topic":"homeassistant","legacy_entity_attributes":true,"legacy_triggers":true,"status_topic":"hass/status"},"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://core-mosquitto:1883","user":"mqqt-user"},"ota":{"disable_automatic_update_check":false,"update_check_interval":1440},"passlist":[],"permit_join":false,"queue":{},"serial":{"disable_led":false,"port":"/dev/ttyUSB0"},"zigbee_herdsman_debug":true},"config_schema":{"definitions":{"device":{"properties":{"debounce":{"description":"Debounces messages of this device","title":"Debounce","type":"number"},"debounce_ignore":{"description":"Protects unique payload values of specified payload properties from overriding within debounce time","examples":["action"],"items":{"type":"string"},"title":"Ignore debounce","type":"array"},"filtered_attributes":{"description":"Filter attributes from publish payload.","examples":["temperature","battery","action"],"items":{"type":"string"},"title":"Filtered publish attributes","type":"array"},"filtered_optimistic":{"description":"Filter attributes from optimistic publish payload when calling /set. (This has no effect if optimistic is set to false).","examples":["color_mode","color_temp","color"],"items":{"type":"string"},"title":"Filtered optimistic attributes","type":"array"},"friendly_name":{"description":"Used in the MQTT topic of a device. By default this is the device ID","readOnly":true,"title":"Friendly name","type":"string"},"icon":{"description":"The user-defined device icon for the frontend. It can be a link to an image (not a path to a file) or base64 encoded data URL like: image/svg+xml;base64,PHN2ZyB3aW....R0aD","title":"Icon","type":"string"},"optimistic":{"default":true,"description":"Publish optimistic state after set","title":"Optimistic","type":"boolean"},"qos":{"description":"QoS level for MQTT messages of this device","title":"QoS","type":"number"},"retain":{"description":"Retain MQTT messages of this device","title":"Retain","type":"boolean"},"retention":{"description":"Sets the MQTT Message Expiry in seconds, Make sure to set mqtt.version to 5","title":"Retention","type":"number"}},"required":["friendly_name"],"type":"object"},"group":{"properties":{"devices":{"items":{"type":"string"},"type":"array"},"filtered_attributes":{"items":{"type":"string"},"type":"array"},"friendly_name":{"type":"string"},"optimistic":{"type":"boolean"},"qos":{"type":"number"},"retain":{"type":"boolean"}},"required":["friendly_name"],"type":"object"}},"properties":{"advanced":{"properties":{"adapter_concurrent":{"description":"Adapter concurrency (e.g. 2 for CC2531 or 16 for CC26X2R1) (default: null, uses recommended value)","requiresRestart":true,"title":"Adapter concurrency","type":["number","null"]},"adapter_delay":{"description":"Adapter delay","requiresRestart":true,"title":"Adapter delay","type":["number","null"]},"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"},"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 suppress 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"},"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"},"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"},"timestamp_format":{"description":"Log timestamp format","examples":["YYYY-MM-DD HH:mm:ss"],"requiresRestart":true,"title":"Timestamp format","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":"Advanced","type":"object"},"availability":{"description":"Checks whether devices are online/offline","oneOf":[{"title":"Availability (simple)","type":"boolean"},{"properties":{"active":{"description":"Options for active devices (routers/mains powered)","properties":{"timeout":{"default":10,"description":"Time after which an active device will be marked as offline in minutes","requiresRestart":true,"title":"Timeout","type":"number"}},"requiresRestart":true,"title":"Active","type":"object"},"passive":{"description":"Options for passive devices (mostly battery powered)","properties":{"timeout":{"default":1500,"description":"Time after which an passive device will be marked as offline in minutes","requiresRestart":true,"title":"Timeout","type":"number"}},"requiresRestart":true,"title":"Passive","type":"object"}},"title":"Availability (advanced)","type":"object"}],"requiresRestart":true,"title":"Availability"},"ban":{"items":{"type":"string"},"readOnly":true,"requiresRestart":true,"title":"Ban (deprecated, use blocklist)","type":"array"},"blocklist":{"description":"Block devices from the network (by ieeeAddr)","items":{"type":"string"},"requiresRestart":true,"title":"Blocklist","type":"array"},"device_options":{"title":"Options that are applied to all devices","type":"object"},"devices":{"patternProperties":{"^.$":{"$ref":"#/definitions/device"}},"propertyNames":{"pattern":"^0x[\d\w]{16}$"},"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":{"oneOf":[{"title":"Frontend (simple)","type":"boolean"},{"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"},"url":{"description":"URL on which the frontend can be reached, currently only used for the Home Assistant device configuration page","requiresRestart":true,"title":"URL","type":["string","null"]}},"title":"Frontend (advanced)","type":"object"}],"requiresRestart":true,"title":"Frontend"},"groups":{"patternProperties":{"^.$":{"$ref":"#/definitions/group"}},"propertyNames":{"pattern":"^[\w].$"},"type":"object"},"homeassistant":{"default":false,"description":"Home Assistant integration (MQTT discovery)","oneOf":[{"title":"Home Assistant (simple)","type":"boolean"},{"properties":{"discovery_topic":{"description":"Home Assistant discovery topic","examples":["homeassistant"],"requiresRestart":true,"title":"Homeassistant discovery topic","type":"string"},"legacy_entity_attributes":{"default":true,"description":"Home Assistant legacy entity attributes, when enabled Zigbee2MQTT will add state attributes to each entity, additional to the separate entities and devices it already creates","title":"Home Assistant legacy entity attributes","type":"boolean"},"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"},"status_topic":{"description":"Home Assistant status topic","examples":["homeassistant/status"],"requiresRestart":true,"title":"Home Assistant status topic","type":"string"}},"title":"Home Assistant (advanced)","type":"object"}],"requiresRestart":true,"title":"Home Assistant integration"},"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":{"default":"zigbee2mqtt","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":["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"},"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"},"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"},"zigbee_ota_override_index_location":{"description":"Location of override OTA index file","examples":["index.json"],"requiresRestart":true,"title":"OTA index override file name","type":"string"}},"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"]},"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"},"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"]},"rtscts":{"description":"RTS / CTS Hardware Flow Control for serial port","requiresRestart":true,"title":"RTS / CTS","type":"boolean"}},"title":"Serial","type":"object"},"whitelist":{"items":{"type":"string"},"readOnly":true,"requiresRestart":true,"title":"Whitelist (deprecated, use passlist)","type":"array"}},"required":["mqtt"],"type":"object"},"coordinator":{"ieee_address":"0x00124b0024cae636","meta":{"maintrel":1,"majorrel":2,"minorrel":7,"product":1,"revision":20211217,"transportrev":2},"type":"zStack3x0"},"log_level":"warn","network":{"channel":11,"extended_pan_id":"0x00124b0024cae636","pan_id":6754},"permit_join":false,"restart_required":false,"version":"1.23.0"}' Zigbee2MQTT:debug 2022-02-25 18:42:27: Received MQTT message on 'zigbee2mqtt/bridge/devices' with data '[{"definition":null,"endpoints":{"1":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[],"scenes":[]},"10":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[],"scenes":[]},"11":{"bindings":[],"clusters":{"input":["ssIasAce"],"output":["ssIasZone","ssIasWd"]},"configured_reportings":[],"scenes":[]},"110":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[],"scenes":[]},"12":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[],"scenes":[]},"13":{"bindings":[],"clusters":{"input":["genOta"],"output":[]},"configured_reportings":[],"scenes":[]},"2":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[],"scenes":[]},"242":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[],"scenes":[]},"3":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[],"scenes":[]},"4":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[],"scenes":[]},"47":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[],"scenes":[]},"5":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[],"scenes":[]},"6":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[],"scenes":[]},"8":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[],"scenes":[]}},"friendly_name":"Coordinator","ieee_address":"0x00124b0024cae636","interview_completed":true,"interviewing":false,"network_address":0,"supported":false,"type":"Coordinator"},{"definition":{"description":"Aqara human body movement and illuminance sensor","exposes":[{"access":1,"description":"Remaining battery in %","name":"battery","property":"battery","type":"numeric","unit":"%","value_max":100,"value_min":0},{"access":1,"description":"Indicates whether the device detected occupancy","name":"occupancy","property":"occupancy","type":"binary","value_off":false,"value_on":true},{"access":1,"description":"Measured temperature value","name":"temperature","property":"temperature","type":"numeric","unit":"°C"},{"access":1,"description":"Voltage of the battery in millivolts","name":"voltage","property":"voltage","type":"numeric","unit":"mV"},{"access":1,"description":"Measured illuminance in lux","name":"illuminance_lux","property":"illuminance","type":"numeric","unit":"lx"},{"access":1,"description":"Measured illuminance in lux","name":"illuminance","property":"illuminance","type":"numeric","unit":"lx"},{"access":1,"description":"Link quality (signal strength)","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"RTCGQ11LM","options":[{"access":2,"description":"Time in seconds after which occupancy is cleared after detecting it (default 90 seconds).","name":"occupancy_timeout","property":"occupancy_timeout","type":"numeric","value_min":0},{"access":2,"description":"Sends a message the last time occupancy was detected. When setting this for example to [10, 60] a {\"no_occupancy_since\": 10} will be send after 10 seconds and a {\"no_occupancy_since\": 60} after 60 seconds.","item_type":"number","name":"no_occupancy_since","property":"no_occupancy_since","type":"list"},{"access":2,"description":"Number of digits after decimal point for illuminance, takes into effect on next report of device.","name":"illuminance_precision","property":"illuminance_precision","type":"numeric","value_max":3,"value_min":0},{"access":2,"description":"Calibrates the illuminance value (percentual offset), takes into effect on next report of device.","name":"illuminance_calibration","property":"illuminance_calibration","type":"numeric"},{"access":2,"description":"Number of digits after decimal point for illuminance_lux, takes into effect on next report of device.","name":"illuminance_lux_precision","property":"illuminance_lux_precision","type":"numeric","value_max":3,"value_min":0},{"access":2,"description":"Calibrates the illuminance_lux value (percentual offset), takes into effect on next report of device.","name":"illuminance_lux_calibration","property":"illuminance_lux_calibration","type":"numeric"},{"access":2,"description":"Number of digits after decimal point for temperature, takes into effect on next report of device.","name":"temperature_precision","property":"temperature_precision","type":"numeric","value_max":3,"value_min":0},{"access":2,"description":"Calibrates the temperature value (absolute offset), takes into effect on next report of device.","name":"temperature_calibration","property":"temperature_calibration","type":"numeric"}],"supports_ota":false,"vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":["genBasic","65535","msOccupancySensing","msIlluminanceMeasurement","ssIasZone","genPowerCfg","genIdentify"],"output":["genBasic","genOta"]},"configured_reportings":[],"scenes":[]}},"friendly_name":"motion_sensor_office","ieee_address":"0x00158d0007755b21","interview_completed":true,"interviewing":false,"manufacturer":"LUMI","model_id":"lumi.sensor_motion.aq2","network_address":52233,"power_source":"Battery","supported":true,"type":"EndDevice"}]' Zigbee2MQTT:debug 2022-02-25 18:42:27: Received MQTT message on 'zigbee2mqtt/bridge/groups' with data '[]' Zigbee2MQTT:debug 2022-02-25 18:42:27: Received MQTT message on 'zigbee2mqtt/bridge/extensions' with data '[]' Zigbee2MQTT:debug 2022-02-25 18:42:27: Received MQTT message on 'zigbee2mqtt/bridge/config' with data '{"commit":"unknown","coordinator":{"meta":{"maintrel":1,"majorrel":2,"minorrel":7,"product":1,"revision":20211217,"transportrev":2},"type":"zStack3x0"},"log_level":"warn","network":{"channel":11,"extendedPanID":"0x00124b0024cae636","panID":6754},"permit_join":false,"version":"1.23.0"}' Zigbee2MQTT:info 2022-02-25 18:42:27: Started frontend on port 0.0.0.0:8099 Zigbee2MQTT:info 2022-02-25 18:42:27: MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"commit":"unknown","coordinator":{"meta":{"maintrel":1,"majorrel":2,"minorrel":7,"product":1,"revision":20211217,"transportrev":2},"type":"zStack3x0"},"log_level":"debug","network":{"channel":11,"extendedPanID":"0x00124b0024cae636","panID":6754},"permit_join":false,"version":"1.23.0"}' Zigbee2MQTT:info 2022-02-25 18:42:27: MQTT publish: topic 'homeassistant/sensor/0x00158d0007755b21/battery/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00158d0007755b21"],"manufacturer":"Xiaomi","model":"Aqara human body movement and illuminance sensor (RTCGQ11LM)","name":"motion_sensor_office"},"device_class":"battery","enabled_by_default":true,"entity_category":"diagnostic","json_attributes_topic":"zigbee2mqtt/motion_sensor_office","name":"motion_sensor_office_battery","state_class":"measurement","state_topic":"zigbee2mqtt/motion_sensor_office","unique_id":"0x00158d0007755b21_battery_zigbee2mqtt","unit_of_measurement":"%","value_template":"{{ value_json.battery }}"}' Zigbee2MQTT:info 2022-02-25 18:42:27: MQTT publish: topic 'homeassistant/binary_sensor/0x00158d0007755b21/occupancy/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00158d0007755b21"],"manufacturer":"Xiaomi","model":"Aqara human body movement and illuminance sensor (RTCGQ11LM)","name":"motion_sensor_office"},"device_class":"motion","json_attributes_topic":"zigbee2mqtt/motion_sensor_office","name":"motion_sensor_office_occupancy","payload_off":false,"payload_on":true,"state_topic":"zigbee2mqtt/motion_sensor_office","unique_id":"0x00158d0007755b21_occupancy_zigbee2mqtt","value_template":"{{ value_json.occupancy }}"}' Zigbee2MQTT:info 2022-02-25 18:42:27: MQTT publish: topic 'homeassistant/sensor/0x00158d0007755b21/temperature/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00158d0007755b21"],"manufacturer":"Xiaomi","model":"Aqara human body movement and illuminance sensor (RTCGQ11LM)","name":"motion_sensor_office"},"device_class":"temperature","enabled_by_default":true,"json_attributes_topic":"zigbee2mqtt/motion_sensor_office","name":"motion_sensor_office_temperature","state_class":"measurement","state_topic":"zigbee2mqtt/motion_sensor_office","unique_id":"0x00158d0007755b21_temperature_zigbee2mqtt","unit_of_measurement":"°C","value_template":"{{ value_json.temperature }}"}' Zigbee2MQTT:info 2022-02-25 18:42:27: MQTT publish: topic 'homeassistant/sensor/0x00158d0007755b21/voltage/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00158d0007755b21"],"manufacturer":"Xiaomi","model":"Aqara human body movement and illuminance sensor (RTCGQ11LM)","name":"motion_sensor_office"},"device_class":"voltage","enabled_by_default":false,"entity_category":"diagnostic","json_attributes_topic":"zigbee2mqtt/motion_sensor_office","name":"motion_sensor_office_voltage","state_class":"measurement","state_topic":"zigbee2mqtt/motion_sensor_office","unique_id":"0x00158d0007755b21_voltage_zigbee2mqtt","unit_of_measurement":"mV","value_template":"{{ value_json.voltage }}"}' Zigbee2MQTT:info 2022-02-25 18:42:27: MQTT publish: topic 'homeassistant/sensor/0x00158d0007755b21/illuminance_lux/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00158d0007755b21"],"manufacturer":"Xiaomi","model":"Aqara human body movement and illuminance sensor (RTCGQ11LM)","name":"motion_sensor_office"},"device_class":"illuminance","enabled_by_default":true,"json_attributes_topic":"zigbee2mqtt/motion_sensor_office","name":"motion_sensor_office_illuminance_lux","state_class":"measurement","state_topic":"zigbee2mqtt/motion_sensor_office","unique_id":"0x00158d0007755b21_illuminance_lux_zigbee2mqtt","unit_of_measurement":"lx","value_template":"{{ value_json.illuminance }}"}' Zigbee2MQTT:info 2022-02-25 18:42:27: MQTT publish: topic 'homeassistant/sensor/0x00158d0007755b21/illuminance/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00158d0007755b21"],"manufacturer":"Xiaomi","model":"Aqara human body movement and illuminance sensor (RTCGQ11LM)","name":"motion_sensor_office"},"device_class":"illuminance","enabled_by_default":false,"json_attributes_topic":"zigbee2mqtt/motion_sensor_office","name":"motion_sensor_office_illuminance","state_class":"measurement","state_topic":"zigbee2mqtt/motion_sensor_office","unique_id":"0x00158d0007755b21_illuminance_zigbee2mqtt","unit_of_measurement":"lx","value_template":"{{ value_json.illuminance }}"}' Zigbee2MQTT:info 2022-02-25 18:42:27: MQTT publish: topic 'homeassistant/sensor/0x00158d0007755b21/linkquality/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00158d0007755b21"],"manufacturer":"Xiaomi","model":"Aqara human body movement and illuminance sensor (RTCGQ11LM)","name":"motion_sensor_office"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:signal","json_attributes_topic":"zigbee2mqtt/motion_sensor_office","name":"motion_sensor_office_linkquality","state_class":"measurement","state_topic":"zigbee2mqtt/motion_sensor_office","unique_id":"0x00158d0007755b21_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}' Zigbee2MQTT:info 2022-02-25 18:42:27: MQTT publish: topic 'zigbee2mqtt/motion_sensor_office', payload '{"battery":null,"illuminance":20,"illuminance_lux":20,"linkquality":null,"occupancy":false,"temperature":null,"voltage":null}' Zigbee2MQTT:debug 2022-02-25 18:42:27: Received MQTT message on 'homeassistant/sensor/0x00158d0007755b21/battery/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00158d0007755b21"],"manufacturer":"Xiaomi","model":"Aqara human body movement and illuminance sensor (RTCGQ11LM)","name":"motion_sensor_office"},"device_class":"battery","enabled_by_default":true,"entity_category":"diagnostic","json_attributes_topic":"zigbee2mqtt/motion_sensor_office","name":"motion_sensor_office_battery","state_class":"measurement","state_topic":"zigbee2mqtt/motion_sensor_office","unique_id":"0x00158d0007755b21_battery_zigbee2mqtt","unit_of_measurement":"%","value_template":"{{ value_json.battery }}"}' Zigbee2MQTT:debug 2022-02-25 18:42:27: Received MQTT message on 'homeassistant/sensor/0x00158d0007755b21/temperature/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00158d0007755b21"],"manufacturer":"Xiaomi","model":"Aqara human body movement and illuminance sensor (RTCGQ11LM)","name":"motion_sensor_office"},"device_class":"temperature","enabled_by_default":true,"json_attributes_topic":"zigbee2mqtt/motion_sensor_office","name":"motion_sensor_office_temperature","state_class":"measurement","state_topic":"zigbee2mqtt/motion_sensor_office","unique_id":"0x00158d0007755b21_temperature_zigbee2mqtt","unit_of_measurement":"°C","value_template":"{{ value_json.temperature }}"}' Zigbee2MQTT:debug 2022-02-25 18:42:27: Received MQTT message on 'homeassistant/sensor/0x00158d0007755b21/voltage/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00158d0007755b21"],"manufacturer":"Xiaomi","model":"Aqara human body movement and illuminance sensor (RTCGQ11LM)","name":"motion_sensor_office"},"device_class":"voltage","enabled_by_default":false,"entity_category":"diagnostic","json_attributes_topic":"zigbee2mqtt/motion_sensor_office","name":"motion_sensor_office_voltage","state_class":"measurement","state_topic":"zigbee2mqtt/motion_sensor_office","unique_id":"0x00158d0007755b21_voltage_zigbee2mqtt","unit_of_measurement":"mV","value_template":"{{ value_json.voltage }}"}' Zigbee2MQTT:debug 2022-02-25 18:42:27: Received MQTT message on 'homeassistant/sensor/0x00158d0007755b21/illuminance_lux/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00158d0007755b21"],"manufacturer":"Xiaomi","model":"Aqara human body movement and illuminance sensor (RTCGQ11LM)","name":"motion_sensor_office"},"device_class":"illuminance","enabled_by_default":true,"json_attributes_topic":"zigbee2mqtt/motion_sensor_office","name":"motion_sensor_office_illuminance_lux","state_class":"measurement","state_topic":"zigbee2mqtt/motion_sensor_office","unique_id":"0x00158d0007755b21_illuminance_lux_zigbee2mqtt","unit_of_measurement":"lx","value_template":"{{ value_json.illuminance }}"}' Zigbee2MQTT:debug 2022-02-25 18:42:27: Received MQTT message on 'homeassistant/sensor/0x00158d0007755b21/illuminance/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00158d0007755b21"],"manufacturer":"Xiaomi","model":"Aqara human body movement and illuminance sensor (RTCGQ11LM)","name":"motion_sensor_office"},"device_class":"illuminance","enabled_by_default":false,"json_attributes_topic":"zigbee2mqtt/motion_sensor_office","name":"motion_sensor_office_illuminance","state_class":"measurement","state_topic":"zigbee2mqtt/motion_sensor_office","unique_id":"0x00158d0007755b21_illuminance_zigbee2mqtt","unit_of_measurement":"lx","value_template":"{{ value_json.illuminance }}"}' Zigbee2MQTT:debug 2022-02-25 18:42:27: Received MQTT message on 'homeassistant/sensor/0x00158d0007755b21/linkquality/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00158d0007755b21"],"manufacturer":"Xiaomi","model":"Aqara human body movement and illuminance sensor (RTCGQ11LM)","name":"motion_sensor_office"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:signal","json_attributes_topic":"zigbee2mqtt/motion_sensor_office","name":"motion_sensor_office_linkquality","state_class":"measurement","state_topic":"zigbee2mqtt/motion_sensor_office","unique_id":"0x00158d0007755b21_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}' Zigbee2MQTT:debug 2022-02-25 18:42:27: Received MQTT message on 'homeassistant/binary_sensor/0x00158d0007755b21/occupancy/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00158d0007755b21"],"manufacturer":"Xiaomi","model":"Aqara human body movement and illuminance sensor (RTCGQ11LM)","name":"motion_sensor_office"},"device_class":"motion","json_attributes_topic":"zigbee2mqtt/motion_sensor_office","name":"motion_sensor_office_occupancy","payload_off":false,"payload_on":true,"state_topic":"zigbee2mqtt/motion_sensor_office","unique_id":"0x00158d0007755b21_occupancy_zigbee2mqtt","value_template":"{{ value_json.occupancy }}"}' Zigbee2MQTT:debug 2022-02-25 18:42:27: Received MQTT message on 'homeassistant/sensor/0x00158d0007755b21/battery/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00158d0007755b21"],"manufacturer":"Xiaomi","model":"Aqara human body movement and illuminance sensor (RTCGQ11LM)","name":"motion_sensor_office"},"device_class":"battery","enabled_by_default":true,"entity_category":"diagnostic","json_attributes_topic":"zigbee2mqtt/motion_sensor_office","name":"motion_sensor_office_battery","state_class":"measurement","state_topic":"zigbee2mqtt/motion_sensor_office","unique_id":"0x00158d0007755b21_battery_zigbee2mqtt","unit_of_measurement":"%","value_template":"{{ value_json.battery }}"}' Zigbee2MQTT:debug 2022-02-25 18:42:27: Received MQTT message on 'homeassistant/binary_sensor/0x00158d0007755b21/occupancy/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00158d0007755b21"],"manufacturer":"Xiaomi","model":"Aqara human body movement and illuminance sensor (RTCGQ11LM)","name":"motion_sensor_office"},"device_class":"motion","json_attributes_topic":"zigbee2mqtt/motion_sensor_office","name":"motion_sensor_office_occupancy","payload_off":false,"payload_on":true,"state_topic":"zigbee2mqtt/motion_sensor_office","unique_id":"0x00158d0007755b21_occupancy_zigbee2mqtt","value_template":"{{ value_json.occupancy }}"}' Zigbee2MQTT:debug 2022-02-25 18:42:27: Received MQTT message on 'homeassistant/sensor/0x00158d0007755b21/temperature/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00158d0007755b21"],"manufacturer":"Xiaomi","model":"Aqara human body movement and illuminance sensor (RTCGQ11LM)","name":"motion_sensor_office"},"device_class":"temperature","enabled_by_default":true,"json_attributes_topic":"zigbee2mqtt/motion_sensor_office","name":"motion_sensor_office_temperature","state_class":"measurement","state_topic":"zigbee2mqtt/motion_sensor_office","unique_id":"0x00158d0007755b21_temperature_zigbee2mqtt","unit_of_measurement":"°C","value_template":"{{ value_json.temperature }}"}' Zigbee2MQTT:debug 2022-02-25 18:42:27: Received MQTT message on 'homeassistant/sensor/0x00158d0007755b21/voltage/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00158d0007755b21"],"manufacturer":"Xiaomi","model":"Aqara human body movement and illuminance sensor (RTCGQ11LM)","name":"motion_sensor_office"},"device_class":"voltage","enabled_by_default":false,"entity_category":"diagnostic","json_attributes_topic":"zigbee2mqtt/motion_sensor_office","name":"motion_sensor_office_voltage","state_class":"measurement","state_topic":"zigbee2mqtt/motion_sensor_office","unique_id":"0x00158d0007755b21_voltage_zigbee2mqtt","unit_of_measurement":"mV","value_template":"{{ value_json.voltage }}"}' Zigbee2MQTT:debug 2022-02-25 18:42:27: Received MQTT message on 'homeassistant/sensor/0x00158d0007755b21/illuminance_lux/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00158d0007755b21"],"manufacturer":"Xiaomi","model":"Aqara human body movement and illuminance sensor (RTCGQ11LM)","name":"motion_sensor_office"},"device_class":"illuminance","enabled_by_default":true,"json_attributes_topic":"zigbee2mqtt/motion_sensor_office","name":"motion_sensor_office_illuminance_lux","state_class":"measurement","state_topic":"zigbee2mqtt/motion_sensor_office","unique_id":"0x00158d0007755b21_illuminance_lux_zigbee2mqtt","unit_of_measurement":"lx","value_template":"{{ value_json.illuminance }}"}' Zigbee2MQTT:debug 2022-02-25 18:42:27: Received MQTT message on 'homeassistant/sensor/0x00158d0007755b21/illuminance/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00158d0007755b21"],"manufacturer":"Xiaomi","model":"Aqara human body movement and illuminance sensor (RTCGQ11LM)","name":"motion_sensor_office"},"device_class":"illuminance","enabled_by_default":false,"json_attributes_topic":"zigbee2mqtt/motion_sensor_office","name":"motion_sensor_office_illuminance","state_class":"measurement","state_topic":"zigbee2mqtt/motion_sensor_office","unique_id":"0x00158d0007755b21_illuminance_zigbee2mqtt","unit_of_measurement":"lx","value_template":"{{ value_json.illuminance }}"}' Zigbee2MQTT:debug 2022-02-25 18:42:27: Received MQTT message on 'homeassistant/sensor/0x00158d0007755b21/linkquality/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00158d0007755b21"],"manufacturer":"Xiaomi","model":"Aqara human body movement and illuminance sensor (RTCGQ11LM)","name":"motion_sensor_office"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:signal","json_attributes_topic":"zigbee2mqtt/motion_sensor_office","name":"motion_sensor_office_linkquality","state_class":"measurement","state_topic":"zigbee2mqtt/motion_sensor_office","unique_id":"0x00158d0007755b21_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'

McGiverGim commented 2 years ago

Can you give some hours and check again? In the latest version of z2m it takes some hours to appear in xiaomi devices. I don't know why.

dannykellett commented 2 years ago

Hi @McGiverGim thank you. You were right. I just checked and it's appeared now. I don't know who manages this page RTCGQ11LM but if this is a known issue, I think adding a comment may save your time with posts like mine. Thanks again

McGiverGim commented 2 years ago

This has happened only with latest version, of z2m and with several different Xiaomi devices. This pages can be edited by anybody who wants collaborate. I think there is a link at each page to edit it.

github-actions[bot] commented 2 years ago

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