Page 1 of 1

zigate Ikea Tradfri remote

Posted: Friday 06 December 2019 22:05
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

Re: zigate Ikea Tradfri remote

Posted: Friday 06 December 2019 22:09
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.

Re: zigate Ikea Tradfri remote

Posted: Saturday 07 December 2019 21:24
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

Re: zigate Ikea Tradfri remote

Posted: Saturday 07 December 2019 21:29
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 1909 times

Re: zigate Ikea Tradfri remote

Posted: Saturday 07 December 2019 21:35
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

Re: zigate Ikea Tradfri remote

Posted: Saturday 07 December 2019 21:58
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.

Re: zigate Ikea Tradfri remote

Posted: Saturday 07 December 2019 22:01
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

Re: zigate Ikea Tradfri remote

Posted: Saturday 07 December 2019 22:42
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?

Re: zigate Ikea Tradfri remote

Posted: Tuesday 10 December 2019 18:48
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

Re: zigate Ikea Tradfri remote

Posted: Thursday 12 December 2019 20:07
by marktn
Thanks for your support!

Re: zigate Ikea Tradfri remote

Posted: Tuesday 04 February 2020 22:31
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

Re: zigate Ikea Tradfri remote

Posted: Wednesday 05 February 2020 17:38
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

Re: zigate Ikea Tradfri remote

Posted: Wednesday 05 February 2020 21:41
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

Re: zigate Ikea Tradfri remote

Posted: Wednesday 05 February 2020 22:54
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

Re: zigate Ikea Tradfri remote

Posted: Thursday 06 February 2020 21:41
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"}]}

Re: zigate Ikea Tradfri remote

Posted: Wednesday 12 February 2020 22:38
by pipiche
You have to add ZIgate to the group as well