zigate Ikea Tradfri remote

Xiaomi, Ikea TRÅDFRI, Philips Hue and more.

Moderator: leecollings

Post Reply
marktn
Posts: 232
Joined: Tuesday 21 April 2015 21:39
Target OS: Windows
Domoticz version:
Contact:

zigate Ikea Tradfri remote

Post by marktn »

Hello,

Is it possible to add the remote to domoticz, and control it in/with domoticz?
I have a 433mhz switch, and is also connect to domoticz and not to the light with the switch.

Adding in zigate doesn't work, or is that not the right way?

Mark
Domoticz latest stable, Intel NUC, Proxmox, Zigate, RFLink, Kaku switches, Ikea lights, Xiaomi sensors, Honeywell smoke detectors, Yeelight, Shelly, Slave Domoticz PI 3B+, Node-Red, Espeasy.
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: zigate Ikea Tradfri remote

Post by pipiche »

In order to do so, you need the Ikea Remote and also an Ikea Bulb.

Then you have to:
(1) Pair the Ikea Bulb with Zigate -> Will create a switch
(2) Pair the Ikea Remote with Zigate -> Will create a switch
(3) Pair the Remote with the Bulb
(4) Enable Group
(5) Restart the plugin in order to get the group scan
(6) At a point of time, a Widget corresponding to the group will be created
(7) Using the Plugin Web Admin, you will have to add the Zigate to the group created.
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
marktn
Posts: 232
Joined: Tuesday 21 April 2015 21:39
Target OS: Windows
Domoticz version:
Contact:

Re: zigate Ikea Tradfri remote

Post by marktn »

pipiche wrote: Friday 06 December 2019 22:09 In order to do so, you need the Ikea Remote and also an Ikea Bulb.

Then you have to:
(1) Pair the Ikea Bulb with Zigate -> Will create a switch
(2) Pair the Ikea Remote with Zigate -> Will create a switch
(3) Pair the Remote with the Bulb
(4) Enable Group
(5) Restart the plugin in order to get the group scan
(6) At a point of time, a Widget corresponding to the group will be created
(7) Using the Plugin Web Admin, you will have to add the Zigate to the group created.
at (6) nothing happens...
Where should is see the widget? Under Group there is nothing to see.

In zigate i do see the switch.
in domoticz switch is visible.

The bulb was working in domoticz, now not any more

In domoticz i see this:

Code: Select all

 2019-12-07 21:16:32.714 Error: (Zigate) ----> Line 797 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onMessage
2019-12-07 21:16:32.714 Error: (Zigate) ----> Line 475 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onMessage
2019-12-07 21:16:32.714 Error: (Zigate) ----> Line 223 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/WebServer.py', function onMessage
2019-12-07 21:16:32.714 Error: (Zigate) ----> Line 434 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/WebServer.py', function do_rest
2019-12-07 21:16:32.714 Error: (Zigate) ----> Line 589 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/WebServer.py', function rest_rescan_group
Last edited by marktn on Saturday 07 December 2019 21:34, edited 1 time in total.
Domoticz latest stable, Intel NUC, Proxmox, Zigate, RFLink, Kaku switches, Ikea lights, Xiaomi sensors, Honeywell smoke detectors, Yeelight, Shelly, Slave Domoticz PI 3B+, Node-Red, Espeasy.
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: zigate Ikea Tradfri remote

Post by pipiche »

Do you have Group enable ?
Screenshot 2019-12-07 at 21.26.36.png
Screenshot 2019-12-07 at 21.26.36.png (63.14 KiB) Viewed 1708 times
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
marktn
Posts: 232
Joined: Tuesday 21 April 2015 21:39
Target OS: Windows
Domoticz version:
Contact:

Re: zigate Ikea Tradfri remote

Post by marktn »

pipiche wrote: Saturday 07 December 2019 21:29 Do you have Group enable ?Screenshot 2019-12-07 at 21.26.36.png
Yes.

The bulb was working in domoticz, now not any more
Rescan of a group nothing happens.


2019-12-07 21:29:03.696 Error: (Zigate) Command: 0x0081:Move to Level w/o on/off failed on Ikea 1
2019-12-07 21:29:03.696 Error: (Zigate) - Device: TRADFRI bulb NwkID: 368c IEEE: xxx
2019-12-07 21:29:03.696 Error: (Zigate) - Code: d4 Status: Unicast frame does not have a route available but it is buffered for automatic resend
Domoticz latest stable, Intel NUC, Proxmox, Zigate, RFLink, Kaku switches, Ikea lights, Xiaomi sensors, Honeywell smoke detectors, Yeelight, Shelly, Slave Domoticz PI 3B+, Node-Red, Espeasy.
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: zigate Ikea Tradfri remote

Post by pipiche »

marktn wrote: Saturday 07 December 2019 21:24

Code: Select all

In domoticz i see this:
[code] 2019-12-07 21:16:32.714 Error: (Zigate) ----> Line 797 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onMessage
2019-12-07 21:16:32.714 Error: (Zigate) ----> Line 475 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onMessage
2019-12-07 21:16:32.714 Error: (Zigate) ----> Line 223 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/WebServer.py', function onMessage
2019-12-07 21:16:32.714 Error: (Zigate) ----> Line 434 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/WebServer.py', function do_rest
2019-12-07 21:16:32.714 Error: (Zigate) ----> Line 589 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/WebServer.py', function rest_rescan_group
This is fixed in latest beta version of the plugin.
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: zigate Ikea Tradfri remote

Post by pipiche »

marktn wrote: Saturday 07 December 2019 21:35
pipiche wrote: Saturday 07 December 2019 21:29 Do you have Group enable ?Screenshot 2019-12-07 at 21.26.36.png
Yes.

The bulb was working in domoticz, now not any more
Rescan of a group nothing happens.


2019-12-07 21:29:03.696 Error: (Zigate) Command: 0x0081:Move to Level w/o on/off failed on Ikea 1
2019-12-07 21:29:03.696 Error: (Zigate) - Device: TRADFRI bulb NwkID: 368c IEEE: xxx
2019-12-07 21:29:03.696 Error: (Zigate) - Code: d4 Status: Unicast frame does not have a route available but it is buffered for automatic resend
Seems that you bulb is not on the Zigate network anymore. You should put the Zigate in pairing mode and then repaire the Bulb with it (by reseting it).
As you will reset it, you'll have to redo the pairing between the Bulb and the Ikea remote.


Just for memo:

- Reset of the Bulb 6 times off/on --> This will allow the Ikea bulb to be paired with the Zigate
- Reset of the Ikea remote 4 times on the pairing button --> This will allow the Ikea remote to be paired with the Zigate
- Long press on the pairing button of the Ikea remote ( >10s until you get a high intensity light) will pair the Remote with the Bulb
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
marktn
Posts: 232
Joined: Tuesday 21 April 2015 21:39
Target OS: Windows
Domoticz version:
Contact:

Re: zigate Ikea Tradfri remote

Post by marktn »

Seems that you bulb is not on the Zigate network anymore. You should put the Zigate in pairing mode and then repaire the Bulb with it (by reseting it).
As you will reset it, you'll have to redo the pairing between the Bulb and the Ikea remote.


Just for memo:

- Reset of the Bulb 6 times off/on --> This will allow the Ikea bulb to be paired with the Zigate
- Reset of the Ikea remote 4 times on the pairing button --> This will allow the Ikea remote to be paired with the Zigate
- Long press on the pairing button of the Ikea remote ( >10s until you get a high intensity light) will pair the Remote with the Bulb
It is getting better :D
Domoticz is working, Remote on/off and dimming is working.
Only the colour setting on the remote is not working anymore. In domoticz no problem.

Should is see a group in group management?
Domoticz latest stable, Intel NUC, Proxmox, Zigate, RFLink, Kaku switches, Ikea lights, Xiaomi sensors, Honeywell smoke detectors, Yeelight, Shelly, Slave Domoticz PI 3B+, Node-Red, Espeasy.
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: zigate Ikea Tradfri remote

Post by pipiche »

To manage the Scene, you have 2 options, either you do it your self by dzVents or LUA script on the received command from the Ikea Remote,
or in the group you add the Ikea Remote via the Web Admin frontend, after that you'll have the remote left/right button working
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
marktn
Posts: 232
Joined: Tuesday 21 April 2015 21:39
Target OS: Windows
Domoticz version:
Contact:

Re: zigate Ikea Tradfri remote

Post by marktn »

Thanks for your support!
Domoticz latest stable, Intel NUC, Proxmox, Zigate, RFLink, Kaku switches, Ikea lights, Xiaomi sensors, Honeywell smoke detectors, Yeelight, Shelly, Slave Domoticz PI 3B+, Node-Red, Espeasy.
marktn
Posts: 232
Joined: Tuesday 21 April 2015 21:39
Target OS: Windows
Domoticz version:
Contact:

Re: zigate Ikea Tradfri remote

Post by marktn »

Hi,

Is it also possible to use the switch without groups in zigate.

What i want is make a script (blocky), when pushing a button, it will switch a group/scene or light.
So that domoticz controls the switch.
The switch is visible in devices, only when clicking on a button i don't see anything in the log.

Mark
Attachments
firefox_2020-02-04_22-25-15.jpg
firefox_2020-02-04_22-25-15.jpg (50.67 KiB) Viewed 1482 times
Domoticz latest stable, Intel NUC, Proxmox, Zigate, RFLink, Kaku switches, Ikea lights, Xiaomi sensors, Honeywell smoke detectors, Yeelight, Shelly, Slave Domoticz PI 3B+, Node-Red, Espeasy.
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: zigate Ikea Tradfri remote

Post by pipiche »

You can do what you want, but there is one step in the middle to be done in order to retreive the message send by the remote.

You need to pair the remote with a Bulb, pressing around 10s the pairing button until you get a big flash from the bulb.
then you will request the plugin to scan and to detect the group created by the pairing between the remote with the bulb.

Then with the Web Admin interface, you will edit the group and add Zigate to that group

You will restart the plugin and after a while the zigate will be added to the group.

From that point, every time an action will be done on the remote, you'll the Domoticz widget updated.

Finally with the web admin, you will remove the bulb from that group, so only the Zigate will be attached

Hope my indications are clear enought
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
marktn
Posts: 232
Joined: Tuesday 21 April 2015 21:39
Target OS: Windows
Domoticz version:
Contact:

Re: zigate Ikea Tradfri remote

Post by marktn »

pipiche wrote: Wednesday 05 February 2020 17:38 Then with the Web Admin interface, you will edit the group and add Zigate to that group
When i add zigate to the group, i can't confirm that. After refresh of the group page the check mark is gone.
Any idea?

Mark
Domoticz latest stable, Intel NUC, Proxmox, Zigate, RFLink, Kaku switches, Ikea lights, Xiaomi sensors, Honeywell smoke detectors, Yeelight, Shelly, Slave Domoticz PI 3B+, Node-Red, Espeasy.
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: zigate Ikea Tradfri remote

Post by pipiche »

marktn wrote:
pipiche wrote: Wednesday 05 February 2020 17:38 Then with the Web Admin interface, you will edit the group and add Zigate to that group
When i add zigate to the group, i can't confirm that. After refresh of the group page the check mark is gone.
Any idea?

Mark
The group processing is not done immediately, so it could take 5 or 10 minutes.
In case after a while it is still not ok, you should check the logs


Envoyé de mon iPhone en utilisant Tapatalk
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
marktn
Posts: 232
Joined: Tuesday 21 April 2015 21:39
Target OS: Windows
Domoticz version:
Contact:

Re: zigate Ikea Tradfri remote

Post by marktn »

pipiche wrote: Wednesday 05 February 2020 22:54
marktn wrote:
pipiche wrote: Wednesday 05 February 2020 17:38 Then with the Web Admin interface, you will edit the group and add Zigate to that group
When i add zigate to the group, i can't confirm that. After refresh of the group page the check mark is gone.
Any idea?

Mark
The group processing is not done immediately, so it could take 5 or 10 minutes.
In case after a while it is still not ok, you should check the logs


Envoyé de mon iPhone en utilisant Tapatalk
This is wat i see the group? Is this what you mean?

Adding zigate to the group doesn't work. I can't confirm it.

Code: Select all

0 : Object {"GroupName":"","_GroupId":"0002","Devices":[]}
1 : Object {"GroupName":"groep1","_GroupId":"0001","Devices":[{"Ep":"01","_NwkId":"3802"}]}
Attachments
firefox_2020-02-06_21-37-15.jpg
firefox_2020-02-06_21-37-15.jpg (106.83 KiB) Viewed 1442 times
Domoticz latest stable, Intel NUC, Proxmox, Zigate, RFLink, Kaku switches, Ikea lights, Xiaomi sensors, Honeywell smoke detectors, Yeelight, Shelly, Slave Domoticz PI 3B+, Node-Red, Espeasy.
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: zigate Ikea Tradfri remote

Post by pipiche »

You have to add ZIgate to the group as well
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest