Switch connected with phoscon and(!) lamps

This does not work anymore. In some ikea firmware update they stopped sending the commands to the group (see IKEA E1743 control via MQTT | Zigbee2MQTT). With the new DDF for the ikea switches no group binding are created anymore. You have to do your binding in deconz manually (binding Dropbox). Depending on your switch firmware to a group or device.

Yes, but I thought that was only the Windows Covering remotes?
Have they done it with more remotes as well?

AFAIK open/close and on/off are basically the same. And yes, they did it with the on/off (I noticed this after I updated mine to the latest firmware).

Same with the 5 button remote (IKEA E1524/E1810 control via MQTT | Zigbee2MQTT) - tested myself. Not sure about styrbar. I just tested unicast binding and it worked, but did not test group binding

See Ikea 5 Button Switch on 24.4.5; Dimmer on 24.4.6 - group bindings don't work anymore - #4 by Mimiix btw

Thanks OMR for the tip - I’ll give it a go.
It sounds like I’m lucky I haven’t updated the Ikea stuff - the on/off switches are on 2.2.010 as I bought them.

Thanks Jan666. But how can I do this? I don’t understand the abbreviation “DDF” and have no idea, what I have to do by “binding in deconz manually (binding Dropbox)”. Can you please explain it for me?

Create a group in Phoscon, add your Light(s) to that group. Get the ID of the group - lets say its ID 161. Convert 161 (decimal) to HEX: https://coolconversion.com/math/binary-octal-hexa-decimal/Convert_decimal_number_161_in_hexadecimal_ - its 0xA1. Open deCONZ GUI, Open the Bind Dropbox. Drag and Drop your On/Off Remote to SOURCE. Select Group at destication. Enter 0xA1. Press bind and now press a button on the remote to wake it up. The binding should success and it should work.

@OMR described how it works here: Trådfri open/close switch with FW 2.3.079 fails to pair with blind - #5 by OMR - but he used Unicast instead of group binding.

See TRÅDFRI remote control (FW 2.3.014) / TRÅDFRI on/off switch (FW 2.2.008) automatic group is not selectable in phoscon · Issue #132 · dresden-elektronik/phoscon-app-beta · GitHub where I was introduced to the procedure

Thank you Jan666, I understand, My problem is, that I haven’t deCONZ running. It was to difficult for me, to install this an run this in parallel. Is there a way with phoscon only?

Phoscon uses the deCONZ API, you are running deCONZ. Maybe you can Access the GUI via VNC.

AFAIK its not possible without GUI

Just VNC or ssh -X into your deCONZ server and stop the current running process with:
sudo systemctl stop deconz

Restart with:
/usr/bin/deCONZ &
and you’re off in the GUI :slight_smile:

1 Like

I have tried, OMR. But it doesn’t work for me. I have added two lamps (each in an other group Test1 and 2) to two switches. But nothing happend - no reaction at the lamps.
I’m wondering, the names on the old Web App is Switch 12 and 13 and in the new Web App is shown as I changed their name to Taster 1 und 2.

I have tried OMR, but I don’t know what is to do now:

Debian GNU/Linux 12 deconz tty1

deconz login: root (automatic login)

deCONZ LXC provided by https://tteck.github.io/Proxmox/

Last login: Sun Dec 10 23:10:28 CET 2023 on tty1
root@deconz:~# sudo systemctl stop deconz
root@deconz:~# /usr/bin/deCONZ &
[1] 339
root@deconz:~# qt.qpa.xcb: could not connect to display 
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

Tips from google doesn’t help:

root@deconz:~# sudo apt-get install libxcb-xinerama0
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libxcb-xinerama0 is already the newest version (1.15-1).
libxcb-xinerama0 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[1]+  Aborted                 /usr/bin/deCONZ
root@deconz:~# /usr/bin/deCONZ &
[1] 348
root@deconz:~# qt.qpa.xcb: could not connect to display 
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

Other descriptions also not help:

root@deconz:~# sudo systemctl stop deconz
root@deconz:~# sudo systemctl start deconz-gui
root@deconz:~# sudo systemctl status deconz-gui
* deconz-gui.service - deCONZ: ZigBee gateway -- GUI/REST API
     Loaded: loaded (/lib/systemd/system/deconz-gui.service; disabled; preset: enabled)
     Active: activating (auto-restart) (Result: exit-code) since Sat 2023-12-23 14:53:30 CET; 3s ago
    Process: 347 ExecStart=/usr/bin/deCONZ --http-port=80 (code=exited, status=217/USER)
   Main PID: 347 (code=exited, status=217/USER)
        CPU: 1ms

How do you log into you system? (tty1 had me baffled …)

How do you log into you system?

via the Terminal for the specific LXC Container within Proxmox GUI

Sorry, jan666. That is to difficult for my very low linux knowledge. :frowning:

And there you lost me :slight_smile:
Can you run any X applications through that terminal? (xeyes for instance …)

Thank you!

I started with the question of how to connect to the Conbee and lamps easily. :slight_smile:
Since I managed to do it two years ago without all the pull-ups, I’m sure that it can be done without the hassle…

I also suspect that I’m doing something wrong with the coupling, because after I’ve directly coupled switches with different lamps, they suddenly switch other lamps that they were never coupled with. But not all available lamps within the Zigbee network - only some of them.
I don’t understand it because I have reset everything, reseted all lamps and switches and while that never seen unreseted lamps, lamps already been reseted.

Maybe someone has an idea or instructions on how to do it again as easily as I did well two years ago (like in the video I linked in the start post, but for the HueBridge).

Suddenly like during the pairing prosess or when you operate a switch?
I have noticed that sometimes, just after pairing a light or switch whole groups blinks a time or two, but that’s all.

Yes, it worked 2 years ago out of the box. But this is not the case anymore because ikea changed the firmware and deconz now handles every remote like it has the new firmware. No group bindings are created automatically. Just see Ikea 5 Button Switch on 24.4.5; Dimmer on 24.4.6 - group bindings don't work anymore - #4 by Mimiix. You need to get the GUI running to make your bindings

When I operate a switch.
I pair lamp by lamp - all other lamps an switches has no electricity.

Here a longer description was I have sent to the support of dresden electronic - but no answer.

  1. ConBee „Gateway zurücksetzen“ über Phoscon http://192.168.111.179/pwa/settings-gateway2.html
  2. ZigBee Kanal 25 ausgewählt
  3. alle Lampen, Aktoren und Zwischenstecker stromlos gemacht
  4. jede Lampe habe ich mit dem Hue Dimmer Switch (und die iluminize Aktoren) resettet (und anschließend über Bluetooth die letzte SW 1.104.2 draufgespielt) und zwar so, dass zeitgleich kein anderes Zigbee Gerät unter Strom stand – keine Lampe hat eine andere Lampe nach dem Resett „gesehen“
  5. alle 34 resettete Lampen, die drei resetteten iluminize Aktoren und den einen resetteten Ikea Zwischenstecker in Phoscon eingebunden (siehe Anhang: raspbee_gateway_config_2023-12-07 alle_Aktoren_angelernt.dat)
  6. alle 23 Schalter mit neuen Batterien ausgestattet und an Phoscon angelernt (siehe Anhang: raspbee_gateway_config_2023-12-08 komplett.dat)
  7. dann lernte ich die 11 Ikea Tradfri OnOff Taster wieder direkt (falls das Gateway mal ausfällt, will ich wenigstens alle Lampen noch an/aus schalten können (die teilweise an keinem mechanischen Schalter hängen)) an nur die Lampen im jeweiligen Zimmer an. Wobei dabei wieder alle Lampen und Aktoren in der gesamten Wohnung stromlos waren und immer nur die eine Lampe unter Strom stand, die ich mit dem Taster koppelte. Als ich damit fertig war und alle Lampen und Aktoren an den Strom brachte stellte ich fest, dass die Schalter nahezu alle Lampen steuerten – auch die, an die sie nie angelernt wurden.
  8. Ich habe dann alle Schalter aus Phoscon wieder gelöscht
  9. die 11 Ikea Tradfri OnOff Taster resettet und dabei waren wieder die Lampen und Aktoren stromlos, allerdings nicht die anderen Schalter.
  10. Ich habe sie dann nacheinander an Phoscon angemeldet (weiterhin: alle Lampen und Aktoren stromlos) und nacheinander an die Lampen in den Räumen angelernt (siehe Anhang: raspbee_gateway_config_2023-12-09.dat). Leider mit dem gleichen Ergebnis: die Schalter steuern Lampen, an die sie nicht angelernt wurden.
  11. daraufhin habe ich neben den Lampen und den Aktoren auch alle Schalter stromlos gemacht und nun immer nur einen davon zur gleichen Zeit unter Strom gehabt
  12. ich habe zwei 11 Ikea Tradfri OnOff Taster nochmals resettet und nacheinander (ohne dass zwei Lampen oder zwei Ikea Tradfri OnOff Taster gleichzeitig Strom hatten) an zwei Lampen angelernt – jeden Taster an eine andere Lampe, aber auch hier steuerten nach wieder Strom für beide Lampen und beide Taster, beide Taster beide Lampen.
    Wenn ich auf dem Handy mit der App Hue Essentials in die Detailansicht dieser beiden Taster gehe, zeigt es mir auch unterschiedliche IDs an (siehe die Screenshots im Anhang).