2 IKEA motion sensor stopped event logging -help with debug please

I have 20 motion IKEA sensors all works great but from today 2 of them in same time stop giving state log to HA.

They detect motion because lights go ON and OFF after 5 minutes but in LOG don’t show any event + last event was few hours ago.

I tried to reboot HA and they show last even when HA started and after no more events in logging.

Don’t know what to do and how to debug and fix this, and why this even happend .

From zigbee z2m LOG I only see this event when motion sensor detect motion:

2025-03-16 19:13:46z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Stepenice glavno svijetlo', payload '{"brightness":127,"color_options":null,"effect":null,"identify":null,"level_config":{"on_level":"previous"},"linkquality":148,"power_on_behavior":null,"state":"OFF","update":{"installed_version":587814449,"latest_version":587814449,"state":"idle"}}'

and LIGHT TURN on normaly like everything working. After 5 minutes LIGHT go OFF light it need to go off but from Motion sensor logs nothing show. Look image bellow.

and this is image from open device log:

Same thing is with another Sensor, rest 10 normaly works…

HA - Newest firmware update
Ikea motion sensor - Newest firmware update
Ikea bulb - Newest firmware update

UPDATE…

I tried to RECONFIGURE sensor - Sucesfully
I tried interview sesnor - Sucesfully

and same thing I don’t see state in HA from that 2 sensors.

One more thing is strane, light turn on and off normaly but I don’t see this log on light too … so light is on but light think its off in HA.

When I trigger light via HA application mobile or on computer it normaly go on and off.

Same with Ikea remote automation, when i trigger light it sucesfully go on and off and this is normaly logged on LIGHT log , but when light is triggered with that motion sensor log not show its on and I see in HA application that is still off even its on.

UPDATE 3…

One more strange thing happens on this 2 devices…

When that motion sensor turn on light what is not detected and logged in HA light turn ON but only with about 20% brightness, but when i turn same light with ikea remote or directly in HA , light goes as need to be on 100% brightness .

Please help , I really need to know why this happend if everytihng works normal for days from when I start using HA.

Why this is problem, because 2 my motion sensor no giving motion detection in HA so my whole alarm is useless and lights too. So if this going like this too often what will happend when I go to holiday, 50% my sensor will not work ?

I probably would fix this if I remove device and pair again but I want to know why this happend and what to do to this not happend again.

NOTE:

What is even triggering that light on if I don’t record that event nowhere in HA and if that motion sensor is connected only to HA not to light directly. I checked binding , sensor and light is binded only to coordinator.

UPDATE 4…

I tried to repair 1 of this device to see will everything work and now everything works… but still my question is why 2 of my motion senzor dropped from network same time and what was triggering light on if senzor wasn’t anymore on network :slight_smile:

I didint repair another on to i can test and debug why this happend and what to do to prevent this because my alarm system is based on motion sensors if I am not home and I am on holiday my house is unsecure.

Here is LOG of repairing:

2025-03-17 02:58:53z2m: Zigbee: allowing new devices to join.
info 2025-03-17 02:58:53zh:ember: [STACK STATUS] Network opened.
info 2025-03-17 02:58:53z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/response/permit_join', payload '{"data":{"time":254},"status":"ok","transaction":"nh73u-1"}'
warning 2025-03-17 02:59:06z2m: Device 'Hodnik senzor pokreta' left the network
info 2025-03-17 02:59:07z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"Hodnik senzor pokreta","ieee_address":"0xec1bbdfffe42d753"},"type":"device_leave"}'
info 2025-03-17 02:59:18zh:controller: Interview for '0xec1bbdfffe42d753' started
info 2025-03-17 02:59:18z2m: Device 'Hodnik senzor pokreta' joined
info 2025-03-17 02:59:19z2m: Starting interview of 'Hodnik senzor pokreta'
info 2025-03-17 02:59:19z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"Hodnik senzor pokreta","ieee_address":"0xec1bbdfffe42d753"},"type":"device_joined"}'
info 2025-03-17 02:59:19z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"Hodnik senzor pokreta","ieee_address":"0xec1bbdfffe42d753","status":"started"},"type":"device_interview"}'
error 2025-03-17 02:59:29zh:controller: Interview failed for '0xec1bbdfffe42d753 with error 'Error: Interview failed because can not get active endpoints ('0xec1bbdfffe42d753')'
error 2025-03-17 02:59:29z2m: Failed to interview 'Hodnik senzor pokreta', device has not successfully been paired
info 2025-03-17 02:59:29z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"Hodnik senzor pokreta","ieee_address":"0xec1bbdfffe42d753","status":"failed"},"type":"device_interview"}'
info 2025-03-17 02:59:33zh:controller: Interview for '0xec1bbdfffe42d753' started
info 2025-03-17 02:59:33z2m: Starting interview of 'Hodnik senzor pokreta'
info 2025-03-17 02:59:33z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"Hodnik senzor pokreta","ieee_address":"0xec1bbdfffe42d753","status":"started"},"type":"device_interview"}'
info 2025-03-17 02:59:34z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"Hodnik senzor pokreta","ieee_address":"0xec1bbdfffe42d753"},"type":"device_announce"}'
info 2025-03-17 02:59:36zh:controller: Succesfully interviewed '0xec1bbdfffe42d753'
info 2025-03-17 02:59:36z2m: Successfully interviewed 'Hodnik senzor pokreta', device has successfully been paired
info 2025-03-17 02:59:36z2m: Device 'Hodnik senzor pokreta' is supported, identified as: IKEA TRADFRI motion sensor (E1525/E1745)
info 2025-03-17 02:59:37z2m: Configuring 'Hodnik senzor pokreta'
info 2025-03-17 02:59:37z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":{"description":"TRADFRI motion sensor","exposes":[{"access":1,"description":"Indicates whether the device detected occupancy","label":"Occupancy","name":"occupancy","property":"occupancy","type":"binary","value_off":false,"value_on":true},{"access":1,"category":"diagnostic","description":"Indicates whether the device detected bright light (works only in night mode)","label":"Illuminance above threshold","name":"illuminance_above_threshold","property":"illuminance_above_threshold","type":"binary","value_off":false,"value_on":true},{"access":1,"category":"diagnostic","label":"Requested brightness level","name":"requested_brightness_level","property":"requested_brightness_level","type":"numeric","value_max":254,"value_min":76},{"access":1,"category":"diagnostic","label":"Requested brightness percent","name":"requested_brightness_percent","property":"requested_brightness_percent","type":"numeric","value_max":100,"value_min":30},{"access":2,"category":"config","description":"Initiate device identification. This device is asleep by default.You may need to wake it up first before sending the identify command.","label":"Identify","name":"identify","property":"identify","type":"enum","values":["identify"]},{"access":5,"category":"diagnostic","description":"Remaining battery in %","label":"Battery","name":"battery","property":"battery","type":"numeric","unit":"%","value_max":100,"value_min":0},{"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":"E1525/E1745","options":[{"access":2,"description":"Sets the duration of the identification procedure in seconds (i.e., how long the device would flash).The value ranges from 1 to 30 seconds (default: 3).","label":"Identify timeout","name":"identify_timeout","property":"identify_timeout","type":"numeric","value_max":30,"value_min":1},{"access":2,"description":"Time in seconds after which occupancy is cleared after detecting it (default 90 seconds).","label":"Occupancy timeout","name":"occupancy_timeout","property":"occupancy_timeout","type":"numeric","value_min":0},{"access":2,"description":"Set to false to also send messages when illuminance is above threshold in night mode (default true).","label":"Illuminance below threshold check","name":"illuminance_below_threshold_check","property":"illuminance_below_threshold_check","type":"binary","value_off":false,"value_on":true}],"supports_ota":true,"vendor":"IKEA"},"friendly_name":"Hodnik senzor pokreta","ieee_address":"0xec1bbdfffe42d753","status":"successful","supported":true},"type":"device_interview"}'
info 2025-03-17 02:59:40z2m: Successfully configured 'Hodnik senzor pokreta'
info 2025-03-17 03:03:05zh:ember: [STACK STATUS] Network closed.
info 2025-03-17 03:04:31z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Daljinski radna soba', payload '{"action":"toggle","battery":40,"identify":null,"linkquality":184,"update":{"installed_version":604241925,"latest_version":604241925,"state":"idle"}}'
info 2025-03-17 03:04:31z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Daljinski radna soba/action', payload 'toggle'
info 2025-03-17 03:04:31z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Radna soba glavno svijetlo 2', payload '{"brightness":127,"color_mode":"color_temp","color_options":null,"color_temp":250,"effect":null,"identify":null,"level_config":{"on_level":"previous"},"linkquality":188,"power_on_behavior":null,"state":"ON","update":{"installed_version":587814449,"latest_version":587814449,"state":"idle"}}'
info 2025-03-17 03:04:31z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Radna soba glavno svijetlo 1', payload '{"brightness":127,"color_mode":"color_temp","color_options":null,"color_temp":250,"effect":null,"identify":null,"level_config":{"on_level":"previous"},"linkquality":255,"power_on_behavior":null,"state":"ON","update":{"installed_version":587814449,"latest_version":587814449,"state":"idle"}}'
info 2025-03-17 03:04:35z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Daljinski radna soba', payload '{"battery":30,"identify":null,"linkquality":200,"update":{"installed_version":604241925,"latest_version":604241925,"state":"idle"}}'
info 2025-03-17 03:09:09z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Hodnik senzor pokreta', payload '{"battery":40,"identify":null,"illuminance_above_threshold":false,"linkquality":164,"occupancy":true,"requested_brightness_level":null,"requested_brightness_percent":null,"update":{"installed_version":604241925,"latest_version":604241925,"state":"idle"}}'
info 2025-03-17 03:09:10z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Hodnik glavno svijetlo', payload '{"brightness":254,"color_mode":"color_temp","color_options":null,"color_temp":250,"effect":null,"identify":null,"level_config":{"on_level":"previous"},"linkquality":164,"power_on_behavior":null,"state":"ON","update":{"installed_version":587814449,"latest_version":587814449,"state":"idle"}}'
info 2025-03-17 03:09:44z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Hodnik daljinski glavno svijetlo', payload '{"action":"toggle","battery":20,"identify":null,"linkquality":212,"update":{"installed_version":604241925,"latest_version":604241925,"state":"idle"}}'
info 2025-03-17 03:09:44z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Hodnik daljinski glavno svijetlo/action', payload 'toggle'
info 2025-03-17 03:09:44z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Hodnik glavno svijetlo', payload '{"brightness":254,"color_mode":"color_temp","color_options":null,"color_temp":250,"effect":null,"identify":null,"level_config":{"on_level":"previous"},"linkquality":172,"power_on_behavior":null,"state":"OFF","update":{"installed_version":587814449,"latest_version":587814449,"state":"idle"}}'
info 2025-03-17 03:09:44z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Stepenice senzor pokreta donji', payload '{"battery":50,"identify":null,"illuminance_above_threshold":false,"linkquality":212,"occupancy":true,"requested_brightness_level":null,"requested_brightness_percent":null,"update":{"installed_version":604241925,"latest_version":604241925,"state":"idle"}}'
info 2025-03-17 03:09:44z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Stepenice glavno svijetlo', payload '{"brightness":127,"color_options":null,"effect":null,"identify":null,"level_config":{"on_level":"previous"},"linkquality":152,"power_on_behavior":null,"state":"ON","update":{"installed_version":587814449,"latest_version":587814449,"state":"idle"}}'