Adding IKEA TRÅDFRI On/Off switch to deconz

I have managed to add the switch to deconz, but it only gets listed under “switches” and not in the main interface. What am I doing wrong?

This is an issue with deCONZ and not with home assistant, so it’s better to ask the developers of the deCONZ software. I don’t know why it is not showing there, but why do you need this?

i dont see it there either in the main interface? but why do you care? they dont need to there visible to actually use them in HA

Please refer to this thread by KennethLavrsen:

It describes how to easily configure on/off switch to dim/brighten lights. Works like a charm, just tested it in my installation.

Sharing my instructions to pair Ikea devices to Deconz…

It almost brought me to tears on how much it woudn’t work. Lightbulbs were the worst but pairing the on/off buttons were also a nightmare. What I found that has been working so far:
(Using Hassio)

  1. Open the Deconz pairing page (I open it from Home Assistant but in not: https://www.dresden-elektronik.de/pwa/)
  2. Click on the Hamburger menu top left - then choose what you need (ex: lights)
  3. Add new light or whatever
  4. At that point… Start with light ON - then turn off and on six times (video here) , If successful he light with give a very small flash (and when I say small, I noticed it for the first time after pairing several lights. It’s a little flash of intensity on the bulb)
  5. Wait 10-15 secs to see if anything happens. If not:
  6. Turn on and off other deconz devices on your network. I open a second tab with Home Assistant and ask it to turn on my kitchen switch for example. Just to "get the juice flowing"…
  7. (Of course, if it’s your first one on your deconz network … you’ll have to be patient and redo the pairing for as long as you need. It took up to 20 times for me once)
  8. It pairs…

Note: on the sensor page, you get a weird and stressfull page telling you to set device in pairing more (hold pariing button for 5 secs) with a greyed “next” button. Relax. You are on the good page. This IS the pairing page… The next is only once pairing is successful.

Hi @Ikeays
thanks for that nice little walkthrough. For bulbs it did work out for me (i was close to punch through my laptop…), but it will not recognize my Tradfri remotes. I tried it with 10 s button pressing, with 5 times pressing. Nothing.No reaction. The “Next” Button on the pairing page stays greyed out. There is no progress bar or anything similar to the bulb pairing page. Is this normal?

I paired 2 of them last week and it was exactly like you said… Greyed and nothing happened. But guess what, once I left that page (refresh or else), the switch did showed up in it - it had paired.
This being said…
In Home Assistant, it doesn’t create an “entity”. It’s weird. But it works in automation is you use “device”.

It only creates a battery entity. The rest is handled through events. Whenever you press a button there will be an event fired of the type “deconz_event”, which will contain the code for the pressed button and the id of the remote.

3 Likes

Hello to all,

just bought a IKEA on/off switch but Deconz 2.5.81 cannot recognize it and so neither does phoscon.
Does anyone else has this issue?

In Deconz I see a node which is the switch but not fully recognized…

I use both the 2 button and 5 button switches in Deconz. They pair fine

Remember that remote controls with buttons only appear in Home Assistant as battery entities which are imported with the default name from Phoscon before you had the chance to rename it in Phoscon

And the button presses are events! Buttons are stateless. They cannot be on or off. They create events. Events for press, long press release, short release for each button. You can see the events in the event viewer.

It can happen that a device only gets half paired in Deconz. I only see it with motion sensors from Philips. They either repair them selves after some hours or you just keep on pairing them until all sensors work.

But I have never seen a problem with an Ikea Remote control (switch). They pair like a couple of rabbits.

1 Like

I have exactly the same issue. I see the node in VNC, but it’s not appearing to Phoscon.

There have always been problems with pairing devices to DeConz and I’m now slowly moving away from it. At one point I had over 100 devices connected via DeConz but enough is enough… too many devices dropping out and not pairing.

When the battery of the switch ran out (after 18 months or so) it didn’t reappear in DeConz. I solved it by going to the Switches section in Phoscon and pressing “Add new switch” > “Other”. Then keep holding down the reset button until the red light in the switch starts pulsing. Within a few second DeConz then recognizes it and the switch starts working again.

1 Like