# Switch connected with phoscon and(!) lamps

**URL:** <https://forum.phoscon.de/t/switch-connected-with-phoscon-and-lamps/4355>\
**Category:** Advice\
**Created:** [December 22, 2023, 10:02pm UTC](https://forum.phoscon.de/t/switch-connected-with-phoscon-and-lamps/4355 "2023-12-22T22:02:19Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pete](https://forum.phoscon.de/letter_avatar_proxy/v4/letter/p/3ab097/32.png) [@Pete](https://forum.phoscon.de/u/Pete)\
**Post date:** [December 22, 2023, 10:02pm UTC](https://forum.phoscon.de/t/switch-connected-with-phoscon-and-lamps/4355/1 "2023-12-22T22:02:19Z")

</div>

Hi,

I wanted to completely redo my Conbee network because of a major remodelling project, and now I can’t get it to look as nice as it did before.

Can someone please tell me how to teach the Ikea Tradfri ON/OFF switch (model E1743) to Phoscon and(!) to the individual Hue lamps so that in the event of a gateway failure (e.g. while I’m away on business trip) the family can at least switch the lamps on and off.  
The question is, what do I have to do differently with the Conbee than is shown here for the Hue Bridge: [https://www.youtube.com/watch?v=XYLDtL7YmZw](https://www.youtube.com/watch?v=XYLDtL7YmZw)

I set everything up like this a few years ago and it worked until the end, but I’ve forgotten what the exact teach-in sequence and reset button presses were. ☹  
Unfortunately, I have now also reset all lamps, switches and buttons (and also updated all Hue lamps to the latest software 1.104.2), so my backups from the Conbee are of no use to me.

Unfortunately, I can’t find anything using the search function or the internet.

Conbee II  
Gateway 2.24.2  
Firmware 26720700  
34 Hue Lights e.g. White and Color Ambiance E27 1600lm Philips\_LCA008  
3 Iluminize High Voltage 230V Dimmer Module iluminize\_511.201  
1 Ikea Tradfri Control Outlet Ikea\_E1603  
1 Hue Dimmer Switch Philips\_RWL021  
11 Ikea Tradfri ON/OFF Switch [IKEA Tradfri ON/OFF Switch E1743 Zigbee compatibility](https://zigbee.blakadder.com/Ikea_E1743.html)  
6 Ikea Symfonisk Sound Controller Ikea\_E1744  
6 Ikea Tradfri Remote Control Ikea\_E1810

---

<div class="post-metadata">

**Author:** ![OMR](https://forum.phoscon.de/user_avatar/forum.phoscon.de/omr/32/1698_2.png) [@OMR](https://forum.phoscon.de/u/OMR)\
**Post date:** [December 23, 2023, 12:50am UTC](https://forum.phoscon.de/t/switch-connected-with-phoscon-and-lamps/4355/2 "2023-12-23T00:50:13Z")

</div>

Just add all lights and switches to Phoscon, head over to Help and open the Old WEB App:

 ![image](https://forum.phoscon.de/uploads/default/original/2X/d/da8d2840cf4ee030332377442b7f3c5ad07ac6ba.png)  
There, under groups you can assign lights to switches.  
 ![image](https://forum.phoscon.de/uploads/default/original/2X/9/95787169d2a87b2f5eab688e9871ffa82b8d32c7.png)

Those associations works even when the gateway is down.

---

<div class="post-metadata">

**Author:** ![jan666](https://forum.phoscon.de/user_avatar/forum.phoscon.de/jan666/32/972_2.png) [@jan666](https://forum.phoscon.de/u/jan666)\
**Post date:** [December 23, 2023, 7:04am UTC](https://forum.phoscon.de/t/switch-connected-with-phoscon-and-lamps/4355/3 "2023-12-23T07:04:56Z")

</div>

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](https://www.zigbee2mqtt.io/devices/E1743.html#binding)). 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.

---

<div class="post-metadata">

**Author:** ![OMR](https://forum.phoscon.de/user_avatar/forum.phoscon.de/omr/32/1698_2.png) [@OMR](https://forum.phoscon.de/u/OMR)\
**Post date:** [December 23, 2023, 11:07am UTC](https://forum.phoscon.de/t/switch-connected-with-phoscon-and-lamps/4355/4 "2023-12-23T11:07:18Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jan666](https://forum.phoscon.de/user_avatar/forum.phoscon.de/jan666/32/972_2.png) [@jan666](https://forum.phoscon.de/u/jan666)\
**Post date:** [December 23, 2023, 11:20am UTC](https://forum.phoscon.de/t/switch-connected-with-phoscon-and-lamps/4355/5 "2023-12-23T11:20:35Z")

</div>

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](https://www.zigbee2mqtt.io/devices/E1524_E1810.html)) - 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](https://forum.phoscon.de/t/ikea-5-button-switch-on-24-4-5-dimmer-on-24-4-6-group-bindings-dont-work-anymore/4195/4) btw

---

<div class="post-metadata">

**Author:** ![Pete](https://forum.phoscon.de/letter_avatar_proxy/v4/letter/p/3ab097/32.png) [@Pete](https://forum.phoscon.de/u/Pete)\
**Post date:** [December 23, 2023, 11:29am UTC](https://forum.phoscon.de/t/switch-connected-with-phoscon-and-lamps/4355/6 "2023-12-23T11:29:22Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Pete](https://forum.phoscon.de/letter_avatar_proxy/v4/letter/p/3ab097/32.png) [@Pete](https://forum.phoscon.de/u/Pete)\
**Post date:** [December 23, 2023, 11:32am UTC](https://forum.phoscon.de/t/switch-connected-with-phoscon-and-lamps/4355/7 "2023-12-23T11:32:11Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![jan666](https://forum.phoscon.de/user_avatar/forum.phoscon.de/jan666/32/972_2.png) [@jan666](https://forum.phoscon.de/u/jan666)\
**Post date:** [December 23, 2023, 11:49am UTC](https://forum.phoscon.de/t/switch-connected-with-phoscon-and-lamps/4355/8 "2023-12-23T11:49:00Z")

</div>

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\_](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](https://forum.phoscon.de/t/tradfri-open-close-switch-with-fw-2-3-079-fails-to-pair-with-blind/3518/5) - 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](https://github.com/dresden-elektronik/phoscon-app-beta/issues/132#issuecomment-590116740) where I was introduced to the procedure

---

<div class="post-metadata">

**Author:** ![Pete](https://forum.phoscon.de/letter_avatar_proxy/v4/letter/p/3ab097/32.png) [@Pete](https://forum.phoscon.de/u/Pete)\
**Post date:** [December 23, 2023, 12:18pm UTC](https://forum.phoscon.de/t/switch-connected-with-phoscon-and-lamps/4355/9 "2023-12-23T12:18:34Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![jan666](https://forum.phoscon.de/user_avatar/forum.phoscon.de/jan666/32/972_2.png) [@jan666](https://forum.phoscon.de/u/jan666)\
**Post date:** [December 23, 2023, 12:22pm UTC](https://forum.phoscon.de/t/switch-connected-with-phoscon-and-lamps/4355/10 "2023-12-23T12:22:13Z")

</div>

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

AFAIK its not possible without GUI

---

<div class="post-metadata">

**Author:** ![OMR](https://forum.phoscon.de/user_avatar/forum.phoscon.de/omr/32/1698_2.png) [@OMR](https://forum.phoscon.de/u/OMR)\
**Post date:** [December 23, 2023, 12:47pm UTC](https://forum.phoscon.de/t/switch-connected-with-phoscon-and-lamps/4355/11 "2023-12-23T12:47:40Z")

</div>

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 🙂

---

<div class="post-metadata">

**Author:** ![Pete](https://forum.phoscon.de/letter_avatar_proxy/v4/letter/p/3ab097/32.png) [@Pete](https://forum.phoscon.de/u/Pete)\
**Post date:** [December 23, 2023, 1:28pm UTC](https://forum.phoscon.de/t/switch-connected-with-phoscon-and-lamps/4355/12 "2023-12-23T13:28:11Z")

</div>

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.

 ![2023-12-23 13_24_04-Wireless Light Control - Group Editor](https://forum.phoscon.de/uploads/default/original/2X/9/90bdea6d6c8419a847e04de7791ebafc5a1a48e7.png)

 ![2023-12-23 14_27_14-Phoscon App](https://forum.phoscon.de/uploads/default/original/2X/a/a66bbc953c318d194722f0aed4eb35bc35ccc8eb.png)

---

<div class="post-metadata">

**Author:** ![Pete](https://forum.phoscon.de/letter_avatar_proxy/v4/letter/p/3ab097/32.png) [@Pete](https://forum.phoscon.de/u/Pete)\
**Post date:** [December 23, 2023, 1:45pm UTC](https://forum.phoscon.de/t/switch-connected-with-phoscon-and-lamps/4355/13 "2023-12-23T13:45:25Z")

</div>

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

```auto
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:

```auto
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:

```auto
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

```

---

<div class="post-metadata">

**Author:** ![jan666](https://forum.phoscon.de/user_avatar/forum.phoscon.de/jan666/32/972_2.png) [@jan666](https://forum.phoscon.de/u/jan666)\
**Post date:** [December 23, 2023, 2:39pm UTC](https://forum.phoscon.de/t/switch-connected-with-phoscon-and-lamps/4355/14 "2023-12-23T14:39:07Z")

</div>

> **[Access deCONZ GUI in headless setups](https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/Access-deCONZ-GUI-in-headless-setups)**
>
> deCONZ REST-API plugin to control ZigBee devices. Contribute to dresden-elektronik/deconz-rest-plugin development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![OMR](https://forum.phoscon.de/user_avatar/forum.phoscon.de/omr/32/1698_2.png) [@OMR](https://forum.phoscon.de/u/OMR)\
**Post date:** [December 23, 2023, 3:10pm UTC](https://forum.phoscon.de/t/switch-connected-with-phoscon-and-lamps/4355/15 "2023-12-23T15:10:15Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Pete](https://forum.phoscon.de/letter_avatar_proxy/v4/letter/p/3ab097/32.png) [@Pete](https://forum.phoscon.de/u/Pete)\
**Post date:** [December 23, 2023, 3:19pm UTC](https://forum.phoscon.de/t/switch-connected-with-phoscon-and-lamps/4355/16 "2023-12-23T15:19:24Z")

</div>

> How do you log into you system?

via the Terminal for the specific LXC Container within Proxmox GUI

---

<div class="post-metadata">

**Author:** ![Pete](https://forum.phoscon.de/letter_avatar_proxy/v4/letter/p/3ab097/32.png) [@Pete](https://forum.phoscon.de/u/Pete)\
**Post date:** [December 23, 2023, 3:20pm UTC](https://forum.phoscon.de/t/switch-connected-with-phoscon-and-lamps/4355/17 "2023-12-23T15:20:23Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![OMR](https://forum.phoscon.de/user_avatar/forum.phoscon.de/omr/32/1698_2.png) [@OMR](https://forum.phoscon.de/u/OMR)\
**Post date:** [December 23, 2023, 3:29pm UTC](https://forum.phoscon.de/t/switch-connected-with-phoscon-and-lamps/4355/18 "2023-12-23T15:29:35Z")

</div>

> [@Pete](#):
>
> via the Terminal for the specific LXC Container within Proxmox GUI

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

---

<div class="post-metadata">

**Author:** ![Pete](https://forum.phoscon.de/letter_avatar_proxy/v4/letter/p/3ab097/32.png) [@Pete](https://forum.phoscon.de/u/Pete)\
**Post date:** [December 23, 2023, 4:06pm UTC](https://forum.phoscon.de/t/switch-connected-with-phoscon-and-lamps/4355/19 "2023-12-23T16:06:47Z")

</div>

Thank you!

I started with the question of how to connect to the Conbee and lamps easily. 🙂  
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).

---

<div class="post-metadata">

**Author:** ![OMR](https://forum.phoscon.de/user_avatar/forum.phoscon.de/omr/32/1698_2.png) [@OMR](https://forum.phoscon.de/u/OMR)\
**Post date:** [December 23, 2023, 4:11pm UTC](https://forum.phoscon.de/t/switch-connected-with-phoscon-and-lamps/4355/20 "2023-12-23T16:11:16Z")

</div>

> [@Pete](#):
>
> they suddenly switch other lamps that they were never coupled with.

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.

[Next page](https://forum.phoscon.de/t/switch-connected-with-phoscon-and-lamps/4355.md?page=2)
