Ikea Tradfri PIR Sensor Experience

@bigbemme, @MrBramme, @yelti_be Can the IKEA Trådfri PIR sensor (if i have a gateway) be used in HASS as a normal senor for instance for my security system ?

As far as I know this is not implemented yet or maybe even impossible at all.

That would be nice to have confirmed whether it is possible but not implemented or it’s not possible at all.

@donib

Sorry, I don’t have the gateway. Also I’m very disappointed from the Ikea PIR blind time. You may want to check out the Xiomi PIR and gateway. I think this supports your idea. I can double check with a friend of mine.

Just got the confirmation that you can use the Xiamoi gateway and PIR to trigger any other HA event. So you should check this component out.

I can confirm that, at this point, you CANNOT use the Tradfri PIR sensor as a regular PIR sensor in HASS (or anywhere else as far as I know). Just the “normal” use of turning on the light linked to it by the Ikea software.
sadly :frowning:

I have got the remote and PIR sensor to work in HASS by developing a component however i am not satisfied with the remote from IKEA, it seems to be erratic

1 Like

@donnib Can you share how you got the PIR working in HA?

I think you have to set up a single group with only the PIR in it. HA is discovering the groups and show the state of the sensor as the state of the group. I didn´t tried it myself, but i read it earlier somewhere.

1 Like

I have developed a component for RaspBee Zigbee module from Dresden Component so i can pair ikea trådfri to it and have access to events from these devices.

Hello. Can you share more details regarding your component?

@Lapatoc Yes, it’s a component that supports deConz REST API together with a RaspBee or Conbee. I support at the moment, IKEA ligts (E27 both with color and without, E14 and GU10), IKEA Motion Sensor, IKEA 5 button remote, Philips Dim Switch, Philips Hue Motion sensor and OSRAM Lightify Gardenpole (all devices that i have). The component works by using the deConz REST API for initial detection and changing light parameters. The component is NOT using polling but using Websockets to relay changes back to HASS. I support the lights and the groups created in deConz. In HASS i create entities for lights, groups, and the sensors. For the remote and motion sensors i also fire events in HASS which one can use in automations. All battery levels from the battery driven devices are created in HASS as sensors. Hope this answers your question. Will i share it ? Most likely yes but it’s way to ugly now.

6 Likes

Any update on this @donnib ? I know many of us would love to use the Tradfri PIR as a HA sensor! Thanks :slight_smile:

There is a PR for supporting deCONZ gateway for conbee and raspbee. @donnib has been instrumental in getting it to current level.

https://github.com/home-assistant/home-assistant/pull/10321

Thanks @Robban. Although if I’m understanding correctly, we’ll need to purchase further hardware (on top of the current Tradfri bridge) such as a RaspBee ZigBee shield or a ConBee USB radio stick to make this work? :frowning:

Once you have the Conbee or RaspBee you’ll be able to pair your Tradfri lights/remotes/motion detectors to it directly and get rid of the Tradfri bridge.

1 Like

That’s a pity and a waste of money. Hopefully Ikea will update their bridge API to support PIR detection.

Send them an email! Their public API is supposedly in the works. Hearing from disgruntled users can help move things along.

Good suggestion :slight_smile: The tradfri team seem quite good, even reaching out to HA directly https://twitter.com/home_assistant/status/925373865802502144?lang=en

1 Like

I have good experiences with Xiaomi body sensors (cheap, very small and reliable) in combination with Ikea Tradfri. I use the sensors to switch the Ikea lights via a HASS automation and surprisingly there is almost no lag at all. This also enables you to add a bit more logic, such as only swichting on lights at certain times, LUX values, etc.