I am sure there is already a thread or 5 about this…but anyway…
Any way of observing the state of an Ikea Tradfri motion sensor? I have one set up with my landing light to come on at 10% brightness when my son gets up in the night but I want to configure it in HA to only come on at night.
Hi!
I’ve read that the Trådfri sensor talks directly to the lights and not through the hub. The same goes for the switches. I would really like this to work as well.
I ended up ordering a Xiaomi kit instead. I have only integrated the button yet but the motion sensor is the next thing. So far it works great and I use the Xiaomi button to turn on the Trådfri lights. It’s still way more cost effective to run sensors/buttons through Xiaomi and the bulbs through Trådfri compared to other alternatives.
I use a IKEA Trådfri motion sensor together with a light bulb (duh). I have set the motion detector to trigger both when it’s day and night.
But, to use the motion sensor with my home alarm as well, I simply watch the state of the connected light. This works for my use case I think.
If the motion detector has been triggered, the associated lamp will change state from off to on. If the state of the alarm is armed_away, I can trigger the alarm.
Does this work? In my configuration (newbie here…) the state of the light does not change when the light is turned on by the motion sensor…? If it does work in your config, would you be so kind to share the trigger part of your configuration?
It works very good! Just expanded my setup now to also have a motion sensor in my garage. Was 1/10 of the cost to set a motion detector directly connected to my home alarm. Great success
Make sure you have the motion detector set as default = trigger even when it’s bright outside.
The trigger part is as simple as can be:
trigger:
platform: state
entity_id: light.garage_lampa
from: 'off'
to: 'on'