Use a device paired but not shown as device/entity in HA

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 just checked the status of my IKEA range extender and this is is how it shows up in the Phoscon app:

And this is what I see in HA:

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

I managed to solve the problem!
I write here the solution that can be useful to someone else, also for other similar problems/applications.

At first it’s possible follow instructions on this webpage (deCONZ) to:

  • acquire an API key
  • get list of all lights (so get the number linked to Tradfri Repeater, that is registered as light)
  • get details of the Repeater (just to know)

Note. I used RESTer add-on for Chrome/Firefox

Now, with this data, it’s possible modify configuration.yaml adding a RESTful Sensor:

sensor:
  - platform: rest
    scan_interval: 300
    resource: http://XXX.XXX.X.XXX:YYYY/api/ZZZZZZZZZZ/lights/N
    name: "Tradfri Repeater"
    unique_id: tradfri_repeater
    value_template: "{{ value_json.lastseen }}"

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.

Bye