Hi,
I use conbee II with deCONZ as integration on Home Assistant and I have already paired successfully different sensors in these mounths.
Today I tried with two Ikea devices, a Styrbar Remote Control and a Tradfri USB Zigbee Repeater. Both are paired in deCONZ (I can see under Help>API Information>Events), but the repeater doesn’t appear between devices in Home Assistant. I would use this device (repeater) to “discover” blackout, thanks to an automation that check its status (in API Information>Events I read that it fires an event every 63 seconds).
How can I get this device shown in Home Assistant? Thank you
[It seems that sometimes it appears by itself. I already try to re-pair it but still doesn’t appear]
I didn’t have to do anything special for this range extender to appear in HA. The device does not generate any entities in HA, and at least for me it does not appear to produce any events.
No, nothing! It don’t appear between my HA’s devices.
If there aren’t better suggestions, I’ll try to make HA interrogate deCONZ every 5-10 minutes. If I’ve understood correctly, this is possible thank to REST-API (I don’t know how it works but I can study it…)
I’ll return to read other suggestions or evetually to post my solution.
Thank you
where, in resource, XXX.XXX.X.XXX is the gateway IP address (deCONZ) and YYYY its port, ZZZZZZZZZZ is the API key, N the number linked to Tradfri Repeater. Change these with your values (found previously) and restart HA!
Note 1. I choose lastseen as value to get, since I see that deCONZ change it every 63 seconds if Repeater is online (with device offline this value doesn’t change anymore). Note 2. scan_interval works even if not listed here, but here (as far as I can see in “History”)
Time to write an automation, example:
alias: Blackout
trigger:
- platform: state
entity_id:
- sensor.tradfri_repeater
for:
hours: 0
minutes: 6
seconds: 0
condition: []
action:
- service: notify.myphone
data:
message: Power failure
mode: single
Note. I choose 6 minutes (that is higher than 5minutes=300s that I’ve already set as scan_interval) because I don’t care about short blackout. However, if needed will be possible for example decrease scan_interval up to 70s and for to 80s.