You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What does/doesn't work with the external definition?
So this device is already "supported" and mostly works, except for a few issues:
Issue 1
I am unable to adjust motion sensitivity. This is a critical parameter, without it I am unable to tweak the sensor to work for my situation. When I try to do that, I get this error in the logs: error 2025-03-06 18:23:57z2m: Publish 'set' 'motion_sensitivity_value' to '0xa4c1380b136e2bee' failed: 'Error: No datapoint defined for 'motion_sensitivity_value''
I read that if you have a Tuya hub you might be able to use it to get the datapoint, but I don't have one so hopefully there is some other way?
Issue 2
When I set Work Mode to 'Manual' it still behaves like it's in 'Auto' mode. Meaning the output turns on when presence is detected and off when presence is no longer detected. I am unsure if this is just a limitation of the device or an issue with Z2M. The logs show it's in manual mode but the output is still controlled by presence.
The text was updated successfully, but these errors were encountered:
Thanks for the suggestions!! I have no experience with coding or external converters. I've spent the last few hours with chatgpt and claude trying to make a working external converter from the neo.ts file you linked, with the changes you suggested, but it keeps failing to load for one reason or another and I'm way out of my element. If somebody can provide me with the external converter I can try it and see if that fixes my issues. Appreciate any assistance!
Link
https://www.amazon.com/dp/B0DNF4KK5G
Database entry
{"id":27,"type":"Router","ieeeAddr":"0xa4c1380b136e2bee","nwkAddr":17551,"manufId":4417,"manufName":"_TZE204_1youk3hj","powerSource":"Mains (single phase)","modelId":"TS0601","epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":81,"inClusterList":[4,5,61184,0],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"65534":0,"stackVersion":0,"dateCode":"","manufacturerName":"_TZE204_1youk3hj","zclVersion":3,"appVersion":74,"modelId":"TS0601","powerSource":1}}},"binds":[],"configuredReportings":[],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":74,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":1946894323},"lastSeen":1741303363887}
Zigbee2MQTT version
2.1.3
Comments
Pairing Logs
info 2025-03-06 18:22:11z2m: Zigbee: allowing new devices to join. info 2025-03-06 18:22:11z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/response/permit_join', payload '{"data":{"time":254},"status":"ok","transaction":"lk1la-18"}' info 2025-03-06 18:22:42zh:controller: Interview for '0xa4c1380b136e2bee' started info 2025-03-06 18:22:42z2m: Device '0xa4c1380b136e2bee' joined info 2025-03-06 18:22:42z2m: Starting interview of '0xa4c1380b136e2bee' info 2025-03-06 18:22:42z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0xa4c1380b136e2bee","ieee_address":"0xa4c1380b136e2bee"},"type":"device_joined"}' info 2025-03-06 18:22:42z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0xa4c1380b136e2bee","ieee_address":"0xa4c1380b136e2bee","status":"started"},"type":"device_interview"}' info 2025-03-06 18:22:43zh:controller: Succesfully interviewed '0xa4c1380b136e2bee' info 2025-03-06 18:22:43z2m: Successfully interviewed '0xa4c1380b136e2bee', device has successfully been paired info 2025-03-06 18:22:43z2m: Device '0xa4c1380b136e2bee' is supported, identified as: NEO Human presence sensor (NAS-PS10B2) info 2025-03-06 18:22:43z2m: Configuring '0xa4c1380b136e2bee' info 2025-03-06 18:22:43z2m:mqtt: MQTT publish: topic 'homeassistant/binary_sensor/0xa4c1380b136e2bee/presence/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"hw_version":1,"identifiers":["zigbee2mqtt_0xa4c1380b136e2bee"],"manufacturer":"NEO","model":"Human presence sensor","model_id":"NAS-PS10B2","name":"0xa4c1380b136e2bee","via_device":"zigbee2mqtt_bridge_0x048727fffe1bfc06"},"device_class":"presence","object_id":"0xa4c1380b136e2bee_presence","origin":{"name":"Zigbee2MQTT","sw":"2.1.3","url":"https://www.zigbee2mqtt.io"},"payload_off":false,"payload_on":true,"state_topic":"zigbee2mqtt/0xa4c1380b136e2bee","unique_id":"0xa4c1380b136e2bee_presence_zigbee2mqtt","value_template":"{{ value_json.presence }}"}' info 2025-03-06 18:22:43z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":{"description":"Human presence sensor","exposes":[{"access":1,"description":"Indicates whether the device detected presence","label":"Presence","name":"presence","property":"presence","type":"binary","value_off":false,"value_on":true},{"access":1,"description":"Human Motion State","label":"Human motion state","name":"human_motion_state","property":"human_motion_state","type":"enum","values":["none","small","large"]},{"access":1,"description":"Current distance of detected motion","label":"Current distance","name":"dis_current","property":"dis_current","type":"numeric","unit":"cm","value_max":600,"value_min":0,"value_step":1},{"access":3,"description":"Presence Time","label":"Presence time","name":"presence_time","property":"presence_time","type":"numeric","unit":"s","value_max":600,"value_min":3,"value_step":1},{"access":3,"description":"Motion Range Detection","label":"Motion far detection","name":"motion_far_detection","property":"motion_far_detection","type":"numeric","unit":"cm","value_max":600,"value_min":150,"value_step":75},{"access":3,"description":"Motion Detection Sensitivity","label":"Motion sensitivity value","name":"motion_sensitivity_value","property":"motion_sensitivity_value","type":"numeric","value_max":7,"value_min":0,"value_step":1},{"access":3,"description":"Motionless Detection Sensitivity","label":"Motionless sensitivity","name":"motionless_sensitivity","property":"motionless_sensitivity","type":"numeric","value_max":7,"value_min":0,"value_step":1},{"access":3,"description":"Work Mode","label":"Work mode","name":"work_mode","property":"work_mode","type":"enum","values":["manual","auto"]},{"access":3,"description":"Output Switch","label":"Output switch","name":"output_switch","property":"output_switch","type":"binary","value_off":"OFF","value_on":"ON"},{"access":3,"description":"Output Times","label":"Output time","name":"output_time","property":"output_time","type":"numeric","unit":"s","value_max":1800,"value_min":10},{"access":3,"description":"Led Switch","label":"Led switch","name":"led_switch","property":"led_switch","type":"binary","value_off":"OFF","value_on":"ON"},{"access":3,"description":"Lux Value","label":"Lux value","name":"lux_value","property":"lux_value","type":"enum","values":["10 lux","20 lux","50 lux","24h"]},{"access":1,"category":"diagnostic","description":"Link quality (signal strength)","label":"Linkquality","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"NAS-PS10B2","options":[],"supports_ota":false,"vendor":"NEO"},"friendly_name":"0xa4c1380b136e2bee","ieee_address":"0xa4c1380b136e2bee","status":"successful","supported":true},"type":"device_interview"}' info 2025-03-06 18:22:43z2m:mqtt: MQTT publish: topic 'homeassistant/sensor/0xa4c1380b136e2bee/human_motion_state/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"hw_version":1,"identifiers":["zigbee2mqtt_0xa4c1380b136e2bee"],"manufacturer":"NEO","model":"Human presence sensor","model_id":"NAS-PS10B2","name":"0xa4c1380b136e2bee","via_device":"zigbee2mqtt_bridge_0x048727fffe1bfc06"},"name":"Human motion state","object_id":"0xa4c1380b136e2bee_human_motion_state","origin":{"name":"Zigbee2MQTT","sw":"2.1.3","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/0xa4c1380b136e2bee","unique_id":"0xa4c1380b136e2bee_human_motion_state_zigbee2mqtt","value_template":"{{ value_json.human_motion_state }}"}' info 2025-03-06 18:22:43z2m:mqtt: MQTT publish: topic 'homeassistant/sensor/0xa4c1380b136e2bee/dis_current/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"hw_version":1,"identifiers":["zigbee2mqtt_0xa4c1380b136e2bee"],"manufacturer":"NEO","model":"Human presence sensor","model_id":"NAS-PS10B2","name":"0xa4c1380b136e2bee","via_device":"zigbee2mqtt_bridge_0x048727fffe1bfc06"},"enabled_by_default":true,"name":"Current distance","object_id":"0xa4c1380b136e2bee_dis_current","origin":{"name":"Zigbee2MQTT","sw":"2.1.3","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/0xa4c1380b136e2bee","unique_id":"0xa4c1380b136e2bee_dis_current_zigbee2mqtt","unit_of_measurement":"cm","value_template":"{{ value_json.dis_current }}"}' info 2025-03-06 18:22:43z2m:mqtt: MQTT publish: topic 'homeassistant/number/0xa4c1380b136e2bee/presence_time/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"command_topic":"zigbee2mqtt/0xa4c1380b136e2bee/set/presence_time","device":{"hw_version":1,"identifiers":["zigbee2mqtt_0xa4c1380b136e2bee"],"manufacturer":"NEO","model":"Human presence sensor","model_id":"NAS-PS10B2","name":"0xa4c1380b136e2bee","via_device":"zigbee2mqtt_bridge_0x048727fffe1bfc06"},"max":600,"min":3,"name":"Presence time","object_id":"0xa4c1380b136e2bee_presence_time","origin":{"name":"Zigbee2MQTT","sw":"2.1.3","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/0xa4c1380b136e2bee","step":1,"unique_id":"0xa4c1380b136e2bee_presence_time_zigbee2mqtt","unit_of_measurement":"s","value_template":"{{ value_json.presence_time }}"}' info 2025-03-06 18:22:43z2m:mqtt: MQTT publish: topic 'homeassistant/number/0xa4c1380b136e2bee/motion_far_detection/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"command_topic":"zigbee2mqtt/0xa4c1380b136e2bee/set/motion_far_detection","device":{"hw_version":1,"identifiers":["zigbee2mqtt_0xa4c1380b136e2bee"],"manufacturer":"NEO","model":"Human presence sensor","model_id":"NAS-PS10B2","name":"0xa4c1380b136e2bee","via_device":"zigbee2mqtt_bridge_0x048727fffe1bfc06"},"max":600,"min":150,"name":"Motion far detection","object_id":"0xa4c1380b136e2bee_motion_far_detection","origin":{"name":"Zigbee2MQTT","sw":"2.1.3","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/0xa4c1380b136e2bee","step":75,"unique_id":"0xa4c1380b136e2bee_motion_far_detection_zigbee2mqtt","unit_of_measurement":"cm","value_template":"{{ value_json.motion_far_detection }}"}' info 2025-03-06 18:22:43z2m: Successfully configured '0xa4c1380b136e2bee' info 2025-03-06 18:22:43z2m:mqtt: MQTT publish: topic 'homeassistant/number/0xa4c1380b136e2bee/motion_sensitivity_value/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"command_topic":"zigbee2mqtt/0xa4c1380b136e2bee/set/motion_sensitivity_value","device":{"hw_version":1,"identifiers":["zigbee2mqtt_0xa4c1380b136e2bee"],"manufacturer":"NEO","model":"Human presence sensor","model_id":"NAS-PS10B2","name":"0xa4c1380b136e2bee","via_device":"zigbee2mqtt_bridge_0x048727fffe1bfc06"},"max":7,"min":0,"name":"Motion sensitivity value","object_id":"0xa4c1380b136e2bee_motion_sensitivity_value","origin":{"name":"Zigbee2MQTT","sw":"2.1.3","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/0xa4c1380b136e2bee","step":1,"unique_id":"0xa4c1380b136e2bee_motion_sensitivity_value_zigbee2mqtt","value_template":"{{ value_json.motion_sensitivity_value }}"}' info 2025-03-06 18:22:44z2m:mqtt: MQTT publish: topic 'homeassistant/number/0xa4c1380b136e2bee/motionless_sensitivity/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"command_topic":"zigbee2mqtt/0xa4c1380b136e2bee/set/motionless_sensitivity","device":{"hw_version":1,"identifiers":["zigbee2mqtt_0xa4c1380b136e2bee"],"manufacturer":"NEO","model":"Human presence sensor","model_id":"NAS-PS10B2","name":"0xa4c1380b136e2bee","via_device":"zigbee2mqtt_bridge_0x048727fffe1bfc06"},"max":7,"min":0,"name":"Motionless sensitivity","object_id":"0xa4c1380b136e2bee_motionless_sensitivity","origin":{"name":"Zigbee2MQTT","sw":"2.1.3","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/0xa4c1380b136e2bee","step":1,"unique_id":"0xa4c1380b136e2bee_motionless_sensitivity_zigbee2mqtt","value_template":"{{ value_json.motionless_sensitivity }}"}' info 2025-03-06 18:22:44z2m:mqtt: MQTT publish: topic 'homeassistant/select/0xa4c1380b136e2bee/work_mode/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"command_topic":"zigbee2mqtt/0xa4c1380b136e2bee/set/work_mode","device":{"hw_version":1,"identifiers":["zigbee2mqtt_0xa4c1380b136e2bee"],"manufacturer":"NEO","model":"Human presence sensor","model_id":"NAS-PS10B2","name":"0xa4c1380b136e2bee","via_device":"zigbee2mqtt_bridge_0x048727fffe1bfc06"},"name":"Work mode","object_id":"0xa4c1380b136e2bee_work_mode","options":["manual","auto"],"origin":{"name":"Zigbee2MQTT","sw":"2.1.3","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/0xa4c1380b136e2bee","unique_id":"0xa4c1380b136e2bee_work_mode_zigbee2mqtt","value_template":"{{ value_json.work_mode }}"}' info 2025-03-06 18:22:44z2m:mqtt: MQTT publish: topic 'homeassistant/switch/0xa4c1380b136e2bee/switch_output_switch/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"command_topic":"zigbee2mqtt/0xa4c1380b136e2bee/set/output_switch","device":{"hw_version":1,"identifiers":["zigbee2mqtt_0xa4c1380b136e2bee"],"manufacturer":"NEO","model":"Human presence sensor","model_id":"NAS-PS10B2","name":"0xa4c1380b136e2bee","via_device":"zigbee2mqtt_bridge_0x048727fffe1bfc06"},"name":"Output switch","object_id":"0xa4c1380b136e2bee_output_switch","origin":{"name":"Zigbee2MQTT","sw":"2.1.3","url":"https://www.zigbee2mqtt.io"},"payload_off":"OFF","payload_on":"ON","state_topic":"zigbee2mqtt/0xa4c1380b136e2bee","unique_id":"0xa4c1380b136e2bee_switch_output_switch_zigbee2mqtt","value_template":"{{ value_json.output_switch }}"}' info 2025-03-06 18:22:44z2m:mqtt: MQTT publish: topic 'homeassistant/number/0xa4c1380b136e2bee/output_time/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"command_topic":"zigbee2mqtt/0xa4c1380b136e2bee/set/output_time","device":{"hw_version":1,"identifiers":["zigbee2mqtt_0xa4c1380b136e2bee"],"manufacturer":"NEO","model":"Human presence sensor","model_id":"NAS-PS10B2","name":"0xa4c1380b136e2bee","via_device":"zigbee2mqtt_bridge_0x048727fffe1bfc06"},"max":1800,"min":10,"name":"Output time","object_id":"0xa4c1380b136e2bee_output_time","origin":{"name":"Zigbee2MQTT","sw":"2.1.3","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/0xa4c1380b136e2bee","unique_id":"0xa4c1380b136e2bee_output_time_zigbee2mqtt","unit_of_measurement":"s","value_template":"{{ value_json.output_time }}"}' info 2025-03-06 18:22:44z2m:mqtt: MQTT publish: topic 'homeassistant/switch/0xa4c1380b136e2bee/switch_led_switch/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"command_topic":"zigbee2mqtt/0xa4c1380b136e2bee/set/led_switch","device":{"hw_version":1,"identifiers":["zigbee2mqtt_0xa4c1380b136e2bee"],"manufacturer":"NEO","model":"Human presence sensor","model_id":"NAS-PS10B2","name":"0xa4c1380b136e2bee","via_device":"zigbee2mqtt_bridge_0x048727fffe1bfc06"},"name":"Led switch","object_id":"0xa4c1380b136e2bee_led_switch","origin":{"name":"Zigbee2MQTT","sw":"2.1.3","url":"https://www.zigbee2mqtt.io"},"payload_off":"OFF","payload_on":"ON","state_topic":"zigbee2mqtt/0xa4c1380b136e2bee","unique_id":"0xa4c1380b136e2bee_switch_led_switch_zigbee2mqtt","value_template":"{{ value_json.led_switch }}"}' info 2025-03-06 18:22:44z2m:mqtt: MQTT publish: topic 'homeassistant/select/0xa4c1380b136e2bee/lux_value/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"command_topic":"zigbee2mqtt/0xa4c1380b136e2bee/set/lux_value","device":{"hw_version":1,"identifiers":["zigbee2mqtt_0xa4c1380b136e2bee"],"manufacturer":"NEO","model":"Human presence sensor","model_id":"NAS-PS10B2","name":"0xa4c1380b136e2bee","via_device":"zigbee2mqtt_bridge_0x048727fffe1bfc06"},"name":"Lux value","object_id":"0xa4c1380b136e2bee_lux_value","options":["10 lux","20 lux","50 lux","24h"],"origin":{"name":"Zigbee2MQTT","sw":"2.1.3","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/0xa4c1380b136e2bee","unique_id":"0xa4c1380b136e2bee_lux_value_zigbee2mqtt","value_template":"{{ value_json.lux_value }}"}' info 2025-03-06 18:22:44z2m:mqtt: MQTT publish: topic 'homeassistant/sensor/0xa4c1380b136e2bee/linkquality/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"hw_version":1,"identifiers":["zigbee2mqtt_0xa4c1380b136e2bee"],"manufacturer":"NEO","model":"Human presence sensor","model_id":"NAS-PS10B2","name":"0xa4c1380b136e2bee","via_device":"zigbee2mqtt_bridge_0x048727fffe1bfc06"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:signal","name":"Linkquality","object_id":"0xa4c1380b136e2bee_linkquality","origin":{"name":"Zigbee2MQTT","sw":"2.1.3","url":"https://www.zigbee2mqtt.io"},"state_class":"measurement","state_topic":"zigbee2mqtt/0xa4c1380b136e2bee","unique_id":"0xa4c1380b136e2bee_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}' info 2025-03-06 18:22:49z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0xa4c1380b136e2bee', payload '{"dis_current":null,"human_motion_state":null,"led_switch":null,"linkquality":200,"lux_value":null,"motion_far_detection":null,"motion_sensitivity_value":null,"motionless_sensitivity":null,"output_switch":null,"output_time":null,"presence":true,"presence_time":null,"work_mode":null}' info 2025-03-06 18:22:49z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0xa4c1380b136e2bee', payload '{"dis_current":null,"human_motion_state":"small","led_switch":null,"linkquality":196,"lux_value":null,"motion_far_detection":null,"motion_sensitivity_value":null,"motionless_sensitivity":null,"output_switch":null,"output_time":null,"presence":true,"presence_time":null,"work_mode":null}' info 2025-03-06 18:22:49z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0xa4c1380b136e2bee', payload '{"dis_current":54,"human_motion_state":"small","led_switch":null,"linkquality":196,"lux_value":null,"motion_far_detection":null,"motion_sensitivity_value":null,"motionless_sensitivity":null,"output_switch":null,"output_time":null,"presence":true,"presence_time":null,"work_mode":null}' info 2025-03-06 18:22:49z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0xa4c1380b136e2bee', payload '{"dis_current":54,"human_motion_state":"small","led_switch":null,"linkquality":200,"lux_value":null,"motion_far_detection":null,"motion_sensitivity_value":null,"motionless_sensitivity":null,"output_switch":"ON","output_time":null,"presence":true,"presence_time":null,"work_mode":null}' info 2025-03-06 18:22:49z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0xa4c1380b136e2bee', payload '{"dis_current":54,"human_motion_state":"small","led_switch":null,"linkquality":196,"lux_value":null,"motion_far_detection":null,"motion_sensitivity_value":null,"motionless_sensitivity":null,"output_switch":"ON","output_time":null,"presence":true,"presence_time":5,"work_mode":null}' info 2025-03-06 18:22:49z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0xa4c1380b136e2bee', payload '{"dis_current":54,"human_motion_state":"small","led_switch":null,"linkquality":196,"lux_value":null,"motion_far_detection":600,"motion_sensitivity_value":null,"motionless_sensitivity":null,"output_switch":"ON","output_time":null,"presence":true,"presence_time":5,"work_mode":null}' info 2025-03-06 18:22:50z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0xa4c1380b136e2bee', payload '{"dis_current":54,"human_motion_state":"small","led_switch":null,"linkquality":196,"lux_value":null,"motion_far_detection":600,"motion_sensitivity":3,"motion_sensitivity_value":null,"motionless_sensitivity":null,"output_switch":"ON","output_time":null,"presence":true,"presence_time":5,"work_mode":null}' info 2025-03-06 18:22:50z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0xa4c1380b136e2bee', payload '{"dis_current":54,"human_motion_state":"small","led_switch":null,"linkquality":196,"lux_value":null,"motion_far_detection":600,"motion_sensitivity":3,"motion_sensitivity_value":null,"motionless_sensitivity":3,"output_switch":"ON","output_time":null,"presence":true,"presence_time":5,"work_mode":null}' info 2025-03-06 18:22:50z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0xa4c1380b136e2bee', payload '{"dis_current":71,"human_motion_state":"small","led_switch":null,"linkquality":196,"lux_value":null,"motion_far_detection":600,"motion_sensitivity":3,"motion_sensitivity_value":null,"motionless_sensitivity":3,"output_switch":"ON","output_time":null,"presence":true,"presence_time":5,"work_mode":null}' info 2025-03-06 18:22:50z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0xa4c1380b136e2bee', payload '{"dis_current":71,"human_motion_state":"small","led_switch":null,"linkquality":200,"lux_value":null,"motion_far_detection":600,"motion_sensitivity":3,"motion_sensitivity_value":null,"motionless_sensitivity":3,"output_switch":"ON","output_time":null,"presence":true,"presence_time":5,"work_mode":"auto"}' info 2025-03-06 18:22:50z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0xa4c1380b136e2bee', payload '{"dis_current":71,"human_motion_state":"small","led_switch":null,"linkquality":200,"lux_value":"24h","motion_far_detection":600,"motion_sensitivity":3,"motion_sensitivity_value":null,"motionless_sensitivity":3,"output_switch":"ON","output_time":null,"presence":true,"presence_time":5,"work_mode":"auto"}' info 2025-03-06 18:22:50z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0xa4c1380b136e2bee', payload '{"dis_current":71,"human_motion_state":"small","led_switch":null,"linkquality":200,"lux_value":"24h","motion_far_detection":600,"motion_sensitivity":3,"motion_sensitivity_value":null,"motionless_sensitivity":3,"output_switch":"ON","output_time":10,"presence":true,"presence_time":5,"work_mode":"auto"}' info 2025-03-06 18:22:50z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0xa4c1380b136e2bee', payload '{"dis_current":71,"human_motion_state":"small","led_switch":null,"linkquality":196,"lux_value":"24h","motion_far_detection":600,"motion_sensitivity":3,"motion_sensitivity_value":null,"motionless_sensitivity":3,"output_switch":"ON","output_time":10,"presence":true,"presence_time":5,"work_mode":"auto"}' info 2025-03-06 18:22:50z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0xa4c1380b136e2bee', payload '{"dis_current":71,"human_motion_state":"small","led_switch":"ON","linkquality":200,"lux_value":"24h","motion_far_detection":600,"motion_sensitivity":3,"motion_sensitivity_value":null,"motionless_sensitivity":3,"output_switch":"ON","output_time":10,"presence":true,"presence_time":5,"work_mode":"auto"}' info 2025-03-06 18:22:50z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0xa4c1380b136e2bee', payload '{"dis_current":71,"human_motion_state":"large","led_switch":"ON","linkquality":196,"lux_value":"24h","motion_far_detection":600,"motion_sensitivity":3,"motion_sensitivity_value":null,"motionless_sensitivity":3,"output_switch":"ON","output_time":10,"presence":true,"presence_time":5,"work_mode":"auto"}' info 2025-03-06 18:22:50z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0xa4c1380b136e2bee', payload '{"dis_current":109,"human_motion_state":"large","led_switch":"ON","linkquality":196,"lux_value":"24h","motion_far_detection":600,"motion_sensitivity":3,"motion_sensitivity_value":null,"motionless_sensitivity":3,"output_switch":"ON","output_time":10,"presence":true,"presence_time":5,"work_mode":"auto"}' info 2025-03-06 18:22:51z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0xa4c1380b136e2bee', payload '{"dis_current":176,"human_motion_state":"large","led_switch":"ON","linkquality":196,"lux_value":"24h","motion_far_detection":600,"motion_sensitivity":3,"motion_sensitivity_value":null,"motionless_sensitivity":3,"output_switch":"ON","output_time":10,"presence":true,"presence_time":5,"work_mode":"auto"}' info 2025-03-06 18:22:52z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0xa4c1380b136e2bee', payload '{"dis_current":196,"human_motion_state":"large","led_switch":"ON","linkquality":196,"lux_value":"24h","motion_far_detection":600,"motion_sensitivity":3,"motion_sensitivity_value":null,"motionless_sensitivity":3,"output_switch":"ON","output_time":10,"presence":true,"presence_time":5,"work_mode":"auto"}' info 2025-03-06 18:22:53z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0xa4c1380b136e2bee', payload '{"dis_current":196,"human_motion_state":"small","led_switch":"ON","linkquality":200,"lux_value":"24h","motion_far_detection":600,"motion_sensitivity":3,"motion_sensitivity_value":null,"motionless_sensitivity":3,"output_switch":"ON","output_time":10,"presence":true,"presence_time":5,"work_mode":"auto"}'
External definition
What does/doesn't work with the external definition?
So this device is already "supported" and mostly works, except for a few issues:
Issue 1
I am unable to adjust motion sensitivity. This is a critical parameter, without it I am unable to tweak the sensor to work for my situation. When I try to do that, I get this error in the logs:
error 2025-03-06 18:23:57z2m: Publish 'set' 'motion_sensitivity_value' to '0xa4c1380b136e2bee' failed: 'Error: No datapoint defined for 'motion_sensitivity_value''
I read that if you have a Tuya hub you might be able to use it to get the datapoint, but I don't have one so hopefully there is some other way?
Issue 2
When I set Work Mode to 'Manual' it still behaves like it's in 'Auto' mode. Meaning the output turns on when presence is detected and off when presence is no longer detected. I am unsure if this is just a limitation of the device or an issue with Z2M. The logs show it's in manual mode but the output is still controlled by presence.
The text was updated successfully, but these errors were encountered: