Page 1 of 2

Zigate and Tradfri ON/OFF E1743

Posted: Tuesday 05 November 2019 20:27
by gerbenvanasselt
I bought two on/off buttons with two bulbs. In my setup I allready have one e1743 button to control a light. The button works somehow on the same 0000 as the xiaomi in wall switch. It made a group with the xiaomi switch. After deleting the xiaomi switch and adding the bulb, the tradfri e1743 is working as on/off button and dim the light.

When adding the other tradfri e1743 remotes to Zigate and pair them with two seperate bulbs my groupmanagement started failing. When restarting the plugin It started deleting other groups and devices from groupmanagement. After deleting the e1743 remote from domoticz and a few rescans of the groups my basic groups are back again.

The question now is. Is it possible to use the tradfri e1743 remotes without making them member of a group. Without adding them to a group they both control the light which is connected to the first e1743 remote.

Would it be possible to use the remotes without putting them in a group? The actions do not show in the log only the light of the first group goes on/off. So triggering the selector levels with a script won't work.

Next thing I am already using the Zigate in 5 groups which is the max.

Would it be possible to pair the light and the remote with Zigate and then pairing them together and without adding them to group.

Will you guys help me finding a solution.

thanks

Re: Zigate and Tradfri ON/OFF E1743

Posted: Tuesday 05 November 2019 23:04
by pipiche
What I suspect is when you started the plugin after having added the 2nd On/off you probably ask the plugin to rescan the group, however the file ZigateGroupConfig was still there (I think there is an issue on that matter on stable branche, and I thought it was fixed on beta but can be wrong).

Did you try to do a pairing between the On/off and a Bulb, somehow like with a Ikea Remote ( 5 buttons ) ?

Re: Zigate and Tradfri ON/OFF E1743

Posted: Thursday 05 March 2020 9:33
by abroeders
Is this the reason the Tradfri ON/OFF E1743 can't be added to a Zigate group anymore?

Re: Zigate and Tradfri ON/OFF E1743

Posted: Thursday 05 March 2020 11:35
by pipiche
I don't know what you mean by adding the ON/Off to a Zigate groupe, but it has never been possible to do it directly from the plugin, you need to pair the ON/OFF button directly with the Bulb you want to

Re: Zigate and Tradfri ON/OFF E1743

Posted: Thursday 05 March 2020 11:48
by abroeders
I did pair with zigate and the bulbs.. I want to include them in the groups too, just like i can with the 5 button remote. Reason is that the plugin detects activity and the devices dissapear in this view:
health.PNG
health.PNG (11.61 KiB) Viewed 2371 times
I did this with the five button remotes (see image down 'Remote woonkamer') and after adding them to the groups, they don't appear as unseeen anymore:
group.PNG
group.PNG (12.89 KiB) Viewed 2371 times
And in case someone wants just to use the remote for controlling something else beside zigbee bulbs, it would be handy to have the remote together with zigate in the group to receive the button events in domoticz.

Re: Zigate and Tradfri ON/OFF E1743

Posted: Thursday 05 March 2020 14:49
by pipiche
It is the same as the 5 buttons, you had to pair it with one bulb to start with.

You have first to create a group via the direct pairing between Bulb and Remote (switch, motion sensor and 5 buttons).

The fact that you can add the Ikea 5 button into the group is just to allow the management of the left/righ button to manage color.

It has always been like that

Re: Zigate and Tradfri ON/OFF E1743

Posted: Thursday 05 March 2020 20:17
by abroeders
I know the 5-button remote can be added to the group. You can put it in a group together with ZiGate to just catch the push-events.

My question actualy is: Why this can be done with the 5-button remote and not with the 2 button remote. Is there a reason not to allow this? (This thread gave me the idea that this kind of remote messed things up when added to a group)

This is the 2 button remote device in domoticz:
Switch.PNG
Switch.PNG (30.74 KiB) Viewed 2351 times
There are these 5 different events available that can be catched if the remote is allowed with ZiGate in a group. At least i would think so, because with the 5-button this could be accomplished.

Re: Zigate and Tradfri ON/OFF E1743

Posted: Monday 09 March 2020 0:41
by pipiche
As explained already , the fact that the Remote 5 Buttons can be added to the group (is just to enable the Left/right button to control the Color, in reallity the Remote is added to the group when you are pairing it with the Bulb.

So there is no reason at that stage to have the switch available in the Group management.

Re: Zigate and Tradfri ON/OFF E1743

Posted: Tuesday 10 March 2020 11:55
by microchip1974
Hello ! im finding the use of the square switch very tricky . its a very beaytiful piece of hardweare and should be used to control any device in Domoticz . Am i wrong or there is no way to let DOmoticz use it as a standard control ?

Re: Zigate and Tradfri ON/OFF E1743

Posted: Tuesday 10 March 2020 12:02
by pipiche
What do you mean as a domoticz standard control ?


Envoyé de mon iPhone en utilisant Tapatalk

Re: Zigate and Tradfri ON/OFF E1743

Posted: Tuesday 10 March 2020 12:14
by microchip1974
Its listed in the switches after pairing with zigate but domoticz dont receive any commands so i can use it for any commands (switching on or off any devices)
Pizigate
Plugin version: 4.8.004
Firmware version: 031c

Re: Zigate and Tradfri ON/OFF E1743

Posted: Tuesday 10 March 2020 12:18
by pipiche
With a zigate it does, you have to make Zigate as part of the same group created during the pairing of the switch and a bulb


Envoyé de mon iPhone en utilisant Tapatalk

Re: Zigate and Tradfri ON/OFF E1743

Posted: Tuesday 10 March 2020 12:22
by microchip1974
so the problem its me i dont know how to do that. i will try again to understand . I have to manually edit the grouplist file you mention ?( i dont see ii under Data folder) ? in this case its tricky. any web interface for doing that? sorry im quite noob.

Re: Zigate and Tradfri ON/OFF E1743

Posted: Tuesday 10 March 2020 12:30
by pipiche
microchip1974 wrote: Tuesday 10 March 2020 12:22 so the problem its me i dont know how to do that. i will try again to understand . I have to manually edit the grouplist file you mention ?( i dont see ii under Data folder) ? in this case its tricky. any web interface for doing that? sorry im quite noob.
Not sure it is you, it is for sure lack of documentation.

If the current status is, Switch and Bulb paired together and paired to Zigate.
What you need to do are :

(1) make sure Group is enable. You will see in the Web Admin page -> Settings
(2) In Web Admin page go to Admin -> Group -> Rescan Group
(3) Restart the plugin

after a while, you can check on the Web Admin page go to Group Management where you should see a group id where the Bulb is part of it.
(4) Add Zigate to the group by tick the box

Restart the plugin

After that, you should be able to see the event

Re: Zigate and Tradfri ON/OFF E1743

Posted: Tuesday 10 March 2020 15:33
by microchip1974
Thank you for your quick reply
After succesfully paired the sqared button and the led driver to Zigate via Domoticz i tried to pair the the devices with touchlink (is the right way?) and now the switch is controlling the led driver but domoticz cannot control the led driver anymore , no group under the web admin so im stuck.

Re: Zigate and Tradfri ON/OFF E1743

Posted: Friday 13 March 2020 8:29
by microchip1974
im following the Wiki but i found many problems:

paired the bulb with zigate and working
i cannot get on/off events after succesfully pairing the e1743 with zigate and create the switch widget in domoticz
i dont have any group 0000 and if i create one is marked 0001. i dont have any grouplist in the Data folders but a lot of confusing device list txts

so no way tu use squared switch with zigate.
ANy help?

Re: Zigate and Tradfri ON/OFF E1743

Posted: Sunday 15 March 2020 12:21
by pipiche
Was not able to gho to ikea and pruchase , but can you do a test

(1) switch to plugin beta branche if not yet done ( git checkout beta )
(2) get the latest version of the plugin beta ( git pull)

(3) Start the plugin, wait for 1 minute and then go to the WebAdmin -> Settings -> Advanced and enable zigatePartOfGroup0000 like here after
Screenshot 2020-03-15 at 12.19.04.png
Screenshot 2020-03-15 at 12.19.04.png (208.23 KiB) Viewed 2231 times
(4) Restart the Plugin
(5) Pair the Remote Switch with Zigate

and try to use it , in order to see if the widget is updated ?
Would appreciate to get any logs ( for that enable debugInputs )

Re: Zigate and Tradfri ON/OFF E1743

Posted: Tuesday 17 March 2020 13:02
by twoenter
Have the same issue.

Switched to beta on synology.

Now I have this errors, never seen it before:

Code: Select all

2020-03-17 12:55:12.491 Error: (Zigate) Error while loading /usr/local/domoticz/var/plugins/Zigate/Conf/ in line : {"":"Aqara / Xiaomi devices", "lumi.ctrl_86plug":{"Ep":{"01":{"0019":"","0002":"","000a":"","0000":"","0006":"","0010":"","0003":"","0005":"","0004":"","0001":"","Type":"Voltage/Plug"},"02":{"000c":"","0004":"","Type":"Power/meter"},"03":{"000c":"", "Type":""}},"Type":""}, "lumi.ctrl_86plug.aq1":{"Ep":{"01":{"0019":"","0002":"","000a":"","0000":"","0006":"","0010":"","0003":"","0005":"","0004":"","0001":"","Type":"Voltage/Plug"},"02":{"000c":"","0004":"","Type":"Power/meter"},"03":{"000c":"","Type":""}},"Type":""},"":"Bitron Home", "902010/21A":{"Ep":{"01":{"0000":"","0003":"","0500":"","Type":"Door"}, "04":{"0019":"","Type":""}},"Type":"","NickName":"Bitron door"}, "902010/22":{"Ep":{"01":{"0000":"","0003":"","0500":"","Type":"Motion"}},"Type":"","NickName":"Bitron Motion"}, "902010/28":{"Ep":{"01":{"0000":"","0001":"","0003":"","0004":"","0005":"","0006":"","Type":"Plug"}, "04":{"0019":"","Type":""}},"Type":"","NickName":"Bitron plug"},<<<<<<< HEAD"":"GLEDOPTOP", "GL-C-008":{"Ep":{"0b":{"0006": "","0004":"","0300":"","0000":"","0005":"","0008":"","0003":"","Type":"ColorControlFull"}, "0d": {"1000":"","Type":""}},"Type":""}, "GL-C-009":{"Ep":{"0b":{"0006": "","0004":"","0300":"","0000":"","0005":"","0008":"","0003":"","Type":"LvlControl"}, "0d": {"1000":"","Type":""}},"Type":""},"":"Konke", "3AFE130104020015":{"Ep":{"01":{"0000":"","0001":"","0003":"","0500":"","Type":"Door"}},"Type":"","NickName":"Konke_Door"}, "3AFE14010402000D":{"Ep":{"01":{"0000":"","0001":"","0003":"","0500":"","Type":"Motion"}},"Type":"","NickName":"Konke_Motion"},======="":"Konke", "3AFE130104020015":{"Ep":{"01":{"0000":"","0001":"","0003":"","0500":"","Type":"Door"}},"Type":"","NickName":"Konke_Door"},>>>>>>> ec71b5467608cc48b59ad5a5a006d87657e27b50"":"Philips Hue", "LCT001":{"Ep":{"0b":{"0000":"","0003":"","0004":"","0005":"","0006":"","0008":"","0300":"","fc01":"","1000":"","Type":"ColorControlRGBWW","ColorMode":"2"}},"Type":"","ProfileID":"c05e","ZDeviceID":"0210"}, "LTW013":{"Ep":{"0b":{"0000":"","0003":"","0004":"","0005":"","0006":"","0008":"","0300":"","1000":"","0019":"","Type":"ColorControlWW"}},"Type":"","ProfileID":"c05e","ZDeviceID":"0220"}, "":"INNR", "RC 110":{"Ep":{"01":{"0000":"","0003":"","0004":"","0005":"","0006":"","0008":"","0019":"","Type":"INNR_RC110_SCENE"}, "02":{"1000":"","Type":""}, "03":{"0003":"","0004":"","0005":"","0006":"","0008":"","Type":"INNR_RC110_LIGHT"}, "04":{"0003":"","0004":"","0005":"","0006":"","0008":"","Type":"INNR_RC110_LIGHT"}, "05":{"0003":"","0004":"","0005":"","0006":"","0008":"","Type":"INNR_RC110_LIGHT"}, "06":{"0003":"","0004":"","0005":"","0006":"","0008":"","Type":"INNR_RC110_LIGHT"}, "07":{"0003":"","0004":"","0005":"","0006":"","0008":"","Type":"INNR_RC110_LIGHT"}, "08":{"0003":"","0004":"","0005":"","0006":"","0008":"","Type":"INNR_RC110_LIGHT"}},"Type":""},"":"IKEA / TRADFRI", "TRADFRI bulb E27 opal 1000lm":{"Ep":{"01":{"0000":"","0003":"","0004":"","0005":"","0006":"","0008":"","0b05":"","0019":"","1000":"","Type":"LvlControl"}},"Type":"","ProfileID":"c05e","ZDeviceID":"0100","NickName":"LED1623G12"}, "TRADFRI bulb E27 W opal 1000lm":{"Ep":{"01":{"0000":"","0003":"","0004":"","0005":"","0006":"","0008":"","0b05":"","0019":"","1000":"","Type":"LvlControl"}},"Type":"","ProfileID":"c05e","ZDeviceID":"0100","NickName":"LED1623G12"}, "TRADFRI bulb E27 WW clear 250lm":{"Ep":{"01":{"0000":"","0003":"","0004":"","0005":"","0006":"","0008":"","0019":"","0020":"","1000":"","Type":"LvlControl"}},"Type":""}, "TRADFRI bulb GU10 W 400lm":{"Ep":{"01":{"0000":"","0003":"","0004":"","0005":"","0006":"","0008":"","0b05":"","0019":"","1000":"","Type":"LvlControl"}},"Type":"","ProfileID":"c05e","ZDeviceID":"0100","NickName":"LED1536G5"},<<<<<<< HEAD "TRADFRI bulb GU10 WS 400lm":{"Ep":{"01":{"0300":"","0008":"","0000":"","0019":"","0003":"","fc7c":"","0020":"","0006":"","0004":"","1000":"","0005":"","Type":"ColorControlWW"},"f2":{"0021":"","Type":""}},"Type":""}, "TRADFRI bulb E14 W op/ch 400lm":{"Ep":{"01":{"0000":"","0003":"","0004":"","0005":"","0006":"","0008":"","0019":"","0b05":"","1000":"","Type":"LvlControl"}},"Type":"","ProfileID":"c05e","ZDeviceID":"0100","NickName":"LED1649C5"}, "TRADFRI bulb E27 CWS opal 600lm":{"Ep":{"01":{"0000":"","0003":"","0004":"","0005":"","0006":"","0008":"","0019":"","0300":"","0b05":"","1000":"","Type":"ColorControlRGB"}},"Type":"","ProfileID":"c05e","ZDeviceID":"0200","NickName":"LED1624G9"}, "TRADFRI bulb E27 WS opal 980lm":{"Ep":{"01":{"0b05":"","0008":"","0300":"","0003":"","0000":"","0005":"","0020":"","0019":"","0004":"","0006":"","1000":"","Type":"ColorControlWW"}},"Type":""}, "TRADFRI bulb E27 WS opal 950lm":{"Ep":{"01":{"0000":"","0003":"","0004":"","0005":"","0006":"","0008":"","0019":"","0300":"","0b05":"","1000":"","Type":"ColorControlWW","ColorMode":"2"}},"Type":"","ProfileID":"c05e","ZDeviceID":"0220","NickName":"LED1545G12"}, "TRADFRI on/off switch":{"Ep":{"01":{"0000":"","0001":"","0003":"","0004":"","0006":"","0008":"","0019":"","Type":"SwitchIKEA"}},"Type":""}, "TRADFRI signal repeater":{"Ep":{"01":{"fc7c":"","0b05":"","0000":"","0020":"","0009":"","0003":"","1000":"","0019":"","Type":"Voltage"}, "f2":{"0021":"","Type":""}},"Type":""}, "TRADFRI Signal Repeater":{"Ep":{"01":{"0b05":"","0000":"","0020":"","0009":"","0003":"","1000":"","0019":"","Type":"Voltage"}, "f2":{"0021":"","Type":""}},"Type":""},======= "TRADFRI bulb E14 W op/ch 400lm":{"Ep":{"01":{"0000":"","0003":"","0004":"","0005":"","0006":"","0008":"","0019":"","0b05":"","1000":"","Type":"LvlControl"}},"Type":"","ProfileID":"c05e","ZDeviceID":"0100","NickName":"LED1649C5"}, "TRADFRI bulb E27 CWS opal 600lm":{"Ep":{"01":{"0000":"","0003":"","0004":"","0005":"","0006":"","0008":"","0019":"","0300":"","0b05":"","1000":"","Type":"ColorControlRGB"}},"Type":"","ProfileID":"c05e","ZDeviceID":"0200","NickName":"LED1624G9"}, "TRADFRI on/off switch":{"Ep":{"01":{"0000":"","0001":"","0003":"","0004":"","0006":"","0008":"","0019":"","Type":"Swi
and

Code: Select all

 2020-03-17 12:58:44.802 Error: (Zigate) failed to load 'plugin.py', Python Path used was '/usr/local/domoticz/var/plugins/Zigate/:/volume1/@appstore/py3k/usr/local/lib/python35.zip:/volume1/@appstore/py3k/usr/local/lib/python3.5/:/volume1/@appstore/py3k/usr/local/lib/python3.5/plat-linux:/volume1/@appstore/py3k/usr/local/lib/python3.5/lib-dynload:/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages'.
2020-03-17 12:59:28.337 Error: Zigate hardware (27) thread seems to have ended unexpectedly
2020-03-17 12:59:42.340 Error: Zigate hardware (27) thread seems to have ended unexpectedly
2020-03-17 12:59:58.627 Error: Zigate hardware (27) thread seems to have ended unexpectedly
2020-03-17 13:01:10.487 Error: Zigate hardware (27) thread seems to have ended unexpectedly 
and

Code: Select all

 2020-03-17 12:58:48.281 Error: (Zigate) Module Import failed, exception: 'IndentationError'
2020-03-17 12:58:48.281 Error: (Zigate) Import detail: File: /usr/local/domoticz/var/plugins/Zigate/Modules/pairingProcess.py, Line: 296, offset: 41
2020-03-17 12:58:48.281 Error: (Zigate) Error Line ' profalux_fake_deviceModel( self, NWKID) 
stable is working OK


I have domoticz with python installed.

Re: Zigate and Tradfri ON/OFF E1743

Posted: Tuesday 17 March 2020 13:22
by pipiche
For the 2nd and 3rd issue, please do a

Code: Select all

git pull
and make sure that youy have the latest version of the plugin beta branch. This issue has been fixed.

For the 1st, you might have updated/changed the file

Code: Select all

/usr/local/domoticz/var/plugins/Zigate/Conf/DeviceConf.txt
and there is an issue on it.
If the issue persist after the git pull, do a

Code: Select all

git reset --hard

Re: Zigate and Tradfri ON/OFF E1743

Posted: Tuesday 17 March 2020 13:34
by twoenter
Thank you for quick respond!

It looks like the deviceconf file was damaged:

Code: Select all


<<<<<<< HEAD
"":"GLEDOPTOP",
    "GL-C-008":{"Ep":{"0b":{"0006": "","0004":"","0300":"","0000":"","0005":"","0008":"","0003":"","Type":"ColorControlFull"}, "0d": {"1000":"","Type":""}},"Type":""},
    "GL-C-009":{"Ep":{"0b":{"0006": "","0004":"","0300":"","0000":"","0005":"","0008":"","0003":"","Type":"LvlControl"}, "0d": {"1000":"","Type":""}},"Type":""},

"":"Konke",
    "3AFE130104020015":{"Ep":{"01":{"0000":"","0001":"","0003":"","0500":"","Type":"Door"}},"Type":"","NickName":"Konke_Door"},
    "3AFE14010402000D":{"Ep":{"01":{"0000":"","0001":"","0003":"","0500":"","Type":"Motion"}},"Type":"","NickName":"Konke_Motion"},
=======
"":"Konke",
    "3AFE130104020015":{"Ep":{"01":{"0000":"","0001":"","0003":"","0500":"","Type":"Door"}},"Type":"","NickName":"Konke_Door"},
>>>>>>> ec71b5467608cc48b59ad5a5a006d87657e27b50
This part is different from the original file.


Fixed the other issues also, thanks.

Now I'm going to try to add the ikea dimmer to a group.