2gang Girier dimmer switch problem in Zigbee4Domoticz Topic is solved

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

Moderator: leecollings

olleman
Posts: 107
Joined: Thursday 01 January 2015 18:56
Target OS: Linux
Domoticz version:
Contact:

2gang Girier dimmer switch problem in Zigbee4Domoticz

Post by olleman »

Hello!

I have a possible bug for a girier (tuya)dimmer switch 2 gang.
https://www.aliexpress.com/item/1005003 ... 7RyiPFROAW

I'm running plugin version: 6.4.413 [2.40] under Win10 and Python 3.8.

When turning off "gang 1 OR 2" in Domoticz it turns off and the status in Domoticz indicates "off" but after about 10 seconds it seems to get a status update from the dimmer switch and indicates that both gang 1 and gang 2 (regardless of witch one was turned off) are turned on at dimmer level 100%. But the lights remain off.

When turning off "gang 1 OR 2" on the physical switch the correct status is immidietly reported in Domoticz.

This also happens when I for example change the dimming level from Domoticz. The dimming level will change but Domoticz will report 100% dimmer level and "ON" after about 10 seconds.

I'm not sure if the log file is helpful but I'm attaching it anyway.
Attachments
PluginZigbee_15.log
(45.41 KiB) Downloaded 39 times
Last edited by olleman on Wednesday 09 August 2023 11:47, edited 1 time in total.
User avatar
waltervl
Posts: 5149
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: 2gang Girier dimmer switch problem

Post by waltervl »

What plugin do you use?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
olleman
Posts: 107
Joined: Thursday 01 January 2015 18:56
Target OS: Linux
Domoticz version:
Contact:

Re: 2gang Girier dimmer switch problem

Post by olleman »

waltervl wrote: Tuesday 08 August 2023 9:12 What plugin do you use?
zigbee for Domoticz
User avatar
waltervl
Posts: 5149
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: 2gang Girier dimmer switch problem

Post by waltervl »

Waiting for @pipiche to arrive in this topic (perhaps change the title as does not mention Zigbee4Domoticz)
If you go to the Z4D User interface is it mentioned as an optimized device? See also https://zigbeefordomoticz.github.io/wik ... evice.html
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
pipiche
Posts: 1977
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: 2gang Girier dimmer switch problem

Post by pipiche »

sorry I was not watching that one.

The question from @waltervl is the good one. How does this device show in the Device Management view ? Is that optimized or not ?

Can you provide an export.json -> From WebUI > Tools > Plugin Raw Devices

Eventually you could also add debug Tuya so we can find more information from the logs


Last, the plugin version you are on, is out-dated, and it is advised to move to stable7 .
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
olleman
Posts: 107
Joined: Thursday 01 January 2015 18:56
Target OS: Linux
Domoticz version:
Contact:

Re: 2gang Girier dimmer switch problem

Post by olleman »

pipiche wrote: Tuesday 08 August 2023 15:22 sorry I was not watching that one.

The question from @waltervl is the good one. How does this device show in the Device Management view ? Is that optimized or not ?

Can you provide an export.json -> From WebUI > Tools > Plugin Raw Devices

Eventually you could also add debug Tuya so we can find more information from the logs


Last, the plugin version you are on, is out-dated, and it is advised to move to stable7 .
Hi, thanks for quick answers as usual!

The device shows as not optimized.
With this information:

Code: Select all

{"PluginInfos":{"HardwareID":15,"HomeFolder":"C:\\Program Files (x86)\\Domoticz\\plugins\\Domoticz-Zigbee\\","StartupFolder":"C:\\Program Files (x86)\\Domoticz\\","UserDataFolder":"C:\\Program Files (x86)\\Domoticz\\","WebRoot":"","Database":"C:\\Program Files (x86)\\Domoticz\\domoticz.db","Language":"en","Version":"6.4","Author":"pipiche38","Name":"Zigbee","Address":"0.0.0.0","Port":"9999","SerialPort":"COM4","Key":"Zigate","Mode1":"ZigpyZNP","Mode2":"USB","Mode3":"False","Mode4":"9440","Mode6":"2","DomoticzVersion":"2022.2","DomoticzHash":"eea9db734","DomoticzBuildTime":"2022-11-05 13:05:35","PluginBranch":"beta6","PluginVersion":"6.4.413","CertifiedDbVersion":"2.40","TimeStamp":1691573497,"available":0,"available-firmMajor":0,"available-firmMinor":0,"FirmwareVersion":"Z-Stack 3.30+ (build 20221226)","FirmwareUpdate":false,"PluginUpdate":false,"LogLevel":7,"Zigpy":true,"CoordinatorModel":"CC1352/CC2652, Z-Stack 3.30+ (znp)","CoordinatorFirmwareVersion":"Z-Stack 3.30+ (build 20221226)","DisplayFirmwareVersion":"Znp - Z-Stack 3.30+ (build 20221226)","CoordinatorIEEE":"00124b0025e14d52","NetworkSize":"Total: 15 | Routers: 15 | End Devices: 0","NetworkDevices":{"1002":{"_TZE200_e3oitdyu":["TS0601-2Gangs-dimmer"],"_TZ3000_pmz6mjyu":["TS011F-2Gang-switches"],"_TZE200_w4cryh2i":["TS0601-dimmer"]},"1141":{"_TZ3000_ltt60asa":["TS0004-relay_switch"],"_TZ3000_zmy4lslw":["TS0002_relay_switch"],"_TZ3210_3mpwqzuu":["TS110E"]},"117c":{"IKEA of Sweden":["TRADFRIbulbE27WSglobeopal1055lm"]}}},"Analytics":1,"Device":{"Version":"3","ZDeviceName":"Allrum uppe","Status":"inDB","SQN":"ee","Ep":{"01":{"0000":{"0004":"_TZ3210_3mpwqzuu","0000":3,"0001":64,"0005":"TS110E","0007":1,"fffe":0,"ffe2":54,"ffe4":0,"ffdf":"N+\u0013"},"0006":{"4001":0,"8002":"2","0000":"01","f000":0},"0008":{"0000":255,"f000":"000b","fc03":"11","fc04":"1000","fc02":"0"},"ClusterType":{"22609":"LvlControl"}},"02":{"0004":{},"0005":{},"0003":{},"0006":{"4001":0,"8002":"2","0000":"01","f000":0},"0008":{"0000":255,"f000":"03e8","fc03":"11","fc04":"1000","fc02":"0"},"ef00":{},"ClusterType":{"22610":"LvlControl"}},"f2":{}},"Heartbeat":"4470","RIA":"4","LQI":21,"Battery":{},"Model":"TS110E","ForceAckCommands":[],"MacCapa":"8e","IEEE":"a4c1386cf130c733","Type":"Switch/LvlControl","ProfileID":"0104","ZDeviceID":"0101","App Version":64,"Attributes List":{"Request":{"01":{"0000":1691426328.0985582,"0006":1691426328.0985582,"0008":1691426328.0985582},"02":{"0004":1691426328.0985582,"0005":1691426328.0985582,"0003":1691426328.0985582,"0006":1691426328.0985582,"0008":1691426328.0985582,"ef00":1691426328.0985582},"f2":{}}},"DeviceType":"FFD","HW Version":"","Last Cmds":[],"LogicalType":"Router","Manufacturer":"1141","Manufacturer Name":"_TZ3210_3mpwqzuu","NbEp":"3","PowerSource":"Main","ReadAttributes":{"Ep":{"01":{"0000":{"TimeStamp":1691421323,"iSQN":{"0004":"0b","0000":"0b","0001":"0b","0005":"0b","0007":"0b","fffe":"0b"},"Attributes":{},"ZigateRequest":{}},"0006":{"TimeStamp":1691551151,"iSQN":{"4000":"05","4001":"05","4002":"05","4003":"05","fffd":"05","fffe":"06","0000":"19"},"Attributes":{"8002":"00","f000":"00"},"ZigateRequest":{}},"0008":{"TimeStamp":1691551151,"iSQN":{"0000":"1b"},"Attributes":{"f000":"00","fc03":"00","fc04":"00","fc02":"00"},"ZigateRequest":{}}},"02":{"0006":{"TimeStamp":1691551151,"iSQN":{"4000":"07","4001":"07","4002":"07","4003":"07","fffd":"07","fffe":"08","0000":"1a"},"Attributes":{"8002":"00","f000":"00"},"ZigateRequest":{}},"0008":{"TimeStamp":1691551151,"iSQN":{"0000":"1c"},"Attributes":{"f000":"00","fc03":"00","fc04":"00","fc02":"00"},"ZigateRequest":{}}}}},"ReceiveOnIdle":"On","Stack Version":"","Stamp":{"time":1691573465.1388676,"Time":"2023-08-09 11:31:05","MsgType":"8102","LastSeen":1691573465},"ZCL Version":3,"Health":"Live","descriptor_capability":"00","GroupMemberShip":{"02":{}},"Max Tx":"0042","Epv2":{"01":{"ClusterIn":{},"ClusterOut":{},"ProfileID":{},"ZDeviceID":{}},"02":{"ClusterIn":{"0004":{},"0005":{},"0003":{},"0006":{},"0008":{},"ef00":{}},"ClusterOut":{},"ProfileID":"0104","ZDeviceID":"0101"},"f2":{"ClusterIn":{},"ClusterOut":{},"ProfileID":{},"ZDeviceID":{}}},"_rawNodeDescriptor":"1141004200422a00008e424001","ConfigSource":"8043","ConfigureReporting":{"Ep":{"01":{"0006":{"TimeStamp":1691421323.0992076,"iSQN":{"0000":"01"},"Attributes":{"0000":"00"},"ZigateRequest":{}},"0008":{"TimeStamp":1691421323.0992076,"iSQN":{"0000":"02"},"Attributes":{"0000":"00"},"ZigateRequest":{}}},"02":{"0006":{"TimeStamp":1691421323.0992076,"iSQN":{"0000":"03"},"Attributes":{"0000":"00"},"ZigateRequest":{}},"0008":{"TimeStamp":1691421323.0992076,"iSQN":{"0000":"04"},"Attributes":{"0000":"00"},"ZigateRequest":{}}}}},"Param":{},"ReadConfigureReporting":{"Ep":{"01":{"0006":{"0000":{"TimeStamp":1691421325.1335366,"Status":"00","DataType":"10","MinInterval":"0001","MaxInterval":"012c"}},"0008":{"0000":{"TimeStamp":1691421325.3345437,"Status":"00","DataType":"20","MinInterval":"0005","MaxInterval":"012c","Change":"05"}}},"02":{"0006":{"0000":{"TimeStamp":1691421325.4190514,"Status":"00","DataType":"10","MinInterval":"0001","MaxInterval":"012c"}},"0008":{"0000":{"TimeStamp":1691421325.4527287,"Status":"00","DataType":"20","MinInterval":"0005","MaxInterval":"012c","Change":"05"}}}},"TimeStamp":1691421325.4527287},"server_mask":"2a00","WriteAttributes":{"Ep":{"01":{"0000":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"0006":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"0008":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}}},"02":{"0004":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"0005":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"0003":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"0006":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"0008":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"ef00":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}}}}},"Capability":["Full-Function Device","Main Powered","Receiver during Idle","Standard security","NwkAddr should be allocated"],"bitfield":"4001","Max Rx":"0042","CertifiedDevice":false,"Max Buffer Size":"42","macapa":"8e","BindingTable":{"SQN":0,"Status":"Success","TimeStamp":1691421325.6355054,"BindingTableSize":6,"Devices":[{"a4c1386cf130c733":{"sourceEp":"02","Cluster":"0004","targetIEEE":"00124b0025e14d52","targetNickName":"Zigbee Coordinator","targetEp":"01"}},{"a4c1386cf130c733":{"sourceEp":"02","Cluster":"0005","targetIEEE":"00124b0025e14d52","targetNickName":"Zigbee Coordinator","targetEp":"01"}},{"a4c1386cf130c733":{"sourceEp":"02","Cluster":"0004","targetIEEE":"00124b0025e14d52","targetNickName":"Zigbee Coordinator","targetEp":"01"}},{"a4c1386cf130c733":{"sourceEp":"02","Cluster":"0005","targetIEEE":"00124b0025e14d52","targetNickName":"Zigbee Coordinator","targetEp":"01"}},{"a4c1386cf130c733":{"sourceEp":"02","Cluster":"0003","targetIEEE":"00124b0025e14d52","targetNickName":"Zigbee Coordinator","targetEp":"01"}},{"a4c1386cf130c733":{"sourceEp":"02","Cluster":"0006","targetIEEE":"00124b0025e14d52","targetNickName":"Zigbee Coordinator","targetEp":"01"}},{"a4c1386cf130c733":{"sourceEp":"02","Cluster":"0003","targetIEEE":"00124b0025e14d52","targetNickName":"Zigbee Coordinator","targetEp":"01"}},{"a4c1386cf130c733":{"sourceEp":"02","Cluster":"0006","targetIEEE":"00124b0025e14d52","targetNickName":"Zigbee Coordinator","targetEp":"01"}},{"a4c1386cf130c733":{"sourceEp":"02","Cluster":"0008","targetIEEE":"00124b0025e14d52","targetNickName":"Zigbee Coordinator","targetEp":"01"}},{"a4c1386cf130c733":{"sourceEp":"02","Cluster":"ef00","targetIEEE":"00124b0025e14d52","targetNickName":"Zigbee Coordinator","targetEp":"01"}},{"a4c1386cf130c733":{"sourceEp":"02","Cluster":"0008","targetIEEE":"00124b0025e14d52","targetNickName":"Zigbee Coordinator","targetEp":"01"}},{"a4c1386cf130c733":{"sourceEp":"02","Cluster":"ef00","targetIEEE":"00124b0025e14d52","targetNickName":"Zigbee Coordinator","targetEp":"01"}}]},"Bind":{"02":{"0004":{"Target":"0000","Stamp":1691421323,"Phase":"binded","Status":"00","i_sqn":"04"},"0005":{"Target":"0000","Stamp":1691421323,"Phase":"binded","Status":"00","i_sqn":"05"},"0003":{"Target":"0000","Stamp":1691421323,"Phase":"binded","Status":"00","i_sqn":"06"},"0006":{"Target":"0000","Stamp":1691421323,"Phase":"binded","Status":"00","i_sqn":"07"},"0008":{"Target":"0000","Stamp":1691421323,"Phase":"binded","Status":"00","i_sqn":"08"},"ef00":{"Target":"0000","Stamp":1691421324,"Phase":"binded","Status":"00","i_sqn":"09"}}},"ConsistencyCheck":"ok","ZCL-IN-SQN":{"0000":"ee","000a":"e3","0006":"ca","0008":"c9"},"RollingLQI":[18,7,10,14,10,10,14,32,14,21,21],"Log_UnknowDeviceFlag":1691494791.9629533,"SQN_000a":"e3","Neighbours":[{"SQN":0,"Status":"","TimeStamp":1691498457,"Time":1691498457,"Devices":[{"d973":{"_relationshp":"Parent","_devicetype":"Router","_depth":1,"_lnkqty":60,"_rxonwhenidl":"Rx-On","_IEEE":"187a3efffe6d9b2d","_permitjnt":"??"}},{"0000":{"_relationshp":"Sibling","_devicetype":"Coordinator","_depth":0,"_lnkqty":69,"_rxonwhenidl":"Rx-On","_IEEE":"00124b0025e14d52","_permitjnt":"??"}},{"e948":{"_relationshp":"Sibling","_devicetype":"Router","_depth":1,"_lnkqty":51,"_rxonwhenidl":"Rx-On","_IEEE":"dc8e95fffeaff9c6","_permitjnt":"??"}},{"afd5":{"_relationshp":"Sibling","_devicetype":"Router","_depth":1,"_lnkqty":45,"_rxonwhenidl":"Rx-On","_IEEE":"dc8e95fffe5f105a","_permitjnt":"??"}},{"9fd2":{"_relationshp":"Sibling","_devicetype":"Router","_depth":1,"_lnkqty":45,"_rxonwhenidl":"Rx-On","_IEEE":"60a423fffefc83eb","_permitjnt":"??"}},{"3242":{"_relationshp":"Sibling","_devicetype":"Router","_depth":2,"_lnkqty":21,"_rxonwhenidl":"Rx-On","_IEEE":"a4c1383c5e16c9ba","_permitjnt":"??"}},{"ac62":{"_relationshp":"Sibling","_devicetype":"Router","_depth":0,"_lnkqty":39,"_rxonwhenidl":"Rx-On","_IEEE":"dc8e95fffeb01ff3","_permitjnt":"??"}},{"9ad5":{"_relationshp":"Sibling","_devicetype":"Router","_depth":0,"_lnkqty":21,"_rxonwhenidl":"Rx-On","_IEEE":"dc8e95fffeaff4dd","_permitjnt":"??"}},{"e50c":{"_relationshp":"Sibling","_devicetype":"Router","_depth":0,"_lnkqty":33,"_rxonwhenidl":"Rx-On","_IEEE":"dc8e95fffeb02012","_permitjnt":"??"}}]},{"SQN":0,"Status":"","TimeStamp":1691500470,"Time":1691500470,"Devices":[{"d973":{"_relationshp":"Parent","_devicetype":"Router","_depth":1,"_lnkqty":60,"_rxonwhenidl":"Rx-On","_IEEE":"187a3efffe6d9b2d","_permitjnt":"??"}},{"0000":{"_relationshp":"Sibling","_devicetype":"Coordinator","_depth":0,"_lnkqty":63,"_rxonwhenidl":"Rx-On","_IEEE":"00124b0025e14d52","_permitjnt":"??"}},{"e948":{"_relationshp":"Sibling","_devicetype":"Router","_depth":1,"_lnkqty":48,"_rxonwhenidl":"Rx-On","_IEEE":"dc8e95fffeaff9c6","_permitjnt":"??"}},{"afd5":{"_relationshp":"Sibling","_devicetype":"Router","_depth":1,"_lnkqty":45,"_rxonwhenidl":"Rx-On","_IEEE":"dc8e95fffe5f105a","_permitjnt":"??"}},{"9fd2":{"_relationshp":"Sibling","_devicetype":"Router","_depth":1,"_lnkqty":45,"_rxonwhenidl":"Rx-On","_IEEE":"60a423fffefc83eb","_permitjnt":"??"}},{"3242":{"_relationshp":"Sibling","_devicetype":"Router","_depth":2,"_lnkqty":30,"_rxonwhenidl":"Rx-On","_IEEE":"a4c1383c5e16c9ba","_permitjnt":"??"}},{"ac62":{"_relationshp":"Sibling","_devicetype":"Router","_depth":0,"_lnkqty":39,"_rxonwhenidl":"Rx-On","_IEEE":"dc8e95fffeb01ff3","_permitjnt":"??"}},{"9ad5":{"_relationshp":"Sibling","_devicetype":"Router","_depth":0,"_lnkqty":24,"_rxonwhenidl":"Rx-On","_IEEE":"dc8e95fffeaff4dd","_permitjnt":"??"}},{"e50c":{"_relationshp":"Sibling","_devicetype":"Router","_depth":0,"_lnkqty":33,"_rxonwhenidl":"Rx-On","_IEEE":"dc8e95fffeb02012","_permitjnt":"??"}}]}],"RoutingTable":[{"Devices":[],"SQN":0,"Status":"","TimeStamp":1691498457,"Time":1691498457},{"Devices":[],"SQN":0,"Status":"","TimeStamp":1691500470,"Time":1691500470}],"ZDPSQN":"0f","NeighbourTableSize":9,"MapLQI":{"3242":39,"9264":52,"0000":30,"afd5":87,"e50c":74,"9fd2":115,"9ad5":42,"e948":96,"ac62":84,"d973":135},"ZCLSQN":"1c"}}
I added Tuya under Tools > Debug > advanced settings > Tuya
Pushed the physical switch on/off and dimmer action. This should be the relevant part from the log.

Code: Select all

2023-08-09 11:45:07,103 INFO    : [  MainThread 6136] Ping Tuya Devices - Key: ef38
2023-08-09 11:46:06,515 DEBUG   : [ZigpyForwarder_15 8484] send_timesynchronisation - 9264/01 
2023-08-09 11:46:06,515 DEBUG   : [ZigpyForwarder_15 8484] send_timesynchronisation - 9264/01 UTC: 1691574366 Local: 1691581566
2023-08-09 11:46:06,515 DEBUG   : [ZigpyForwarder_15 8484] tuyaReadRawAPS - 9264/01 fcf: 19 sqn: 05 cmd: 24 Payload: 1905241022
2023-08-09 11:46:07,134 INFO    : [  MainThread 6136] Ping Tuya Devices - Key: 3242
2023-08-09 11:47:07,156 INFO    : [  MainThread 6136] Ping Tuya Devices - Key: ef38
2023-08-09 11:48:07,125 INFO    : [  MainThread 6136] Ping Tuya Devices - Key: 3242
2023-08-09 11:48:10,314 DEBUG   : [ZigpyForwarder_15 8484] send_timesynchronisation - ac62/01 
2023-08-09 11:48:10,314 DEBUG   : [ZigpyForwarder_15 8484] send_timesynchronisation - ac62/01 UTC: 1691574490 Local: 1691581690
2023-08-09 11:48:10,314 DEBUG   : [ZigpyForwarder_15 8484] tuyaReadRawAPS - ac62/01 fcf: 19 sqn: 72 cmd: 24 Payload: 197224003c
2023-08-09 11:48:48,193 DEBUG   : [ZigpyForwarder_15 8484] send_timesynchronisation - e948/01 
2023-08-09 11:48:48,193 DEBUG   : [ZigpyForwarder_15 8484] send_timesynchronisation - e948/01 UTC: 1691574528 Local: 1691581728
2023-08-09 11:48:48,193 DEBUG   : [ZigpyForwarder_15 8484] tuyaReadRawAPS - e948/01 fcf: 19 sqn: 6e cmd: 24 Payload: 196e24003d
2023-08-09 11:49:07,170 INFO    : [  MainThread 6136] Ping Tuya Devices - Key: ef38
Regarding the update, it's always been a bit of a hazzle doing upgrades for me since I'm running under win10. Do you have any special pointers for the upgrade other than following the wiki?
Attachments
export (4).zip
json export
(12.72 KiB) Downloaded 23 times
pipiche
Posts: 1977
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: 2gang Girier dimmer switch problem in Zigbee4Domoticz

Post by pipiche »

indeed that is a 2 gangs dimer which was not supported.

I have pushed an updated configuration for that module, this would required a full re-pairing ( removing all widgets, removing device from plugin, and then re-pairing)

You would need [2.85] of the device configuration package

Here is the generic procedure to upgrade to 7
https://github.com/zigbeefordomoticz/wi ... ase_7.1.md

I don't see much issue with Windows except in regards to some python3 modules which might not be so easy. And make sure that you run ALL commands with Administrator privileges
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
olleman
Posts: 107
Joined: Thursday 01 January 2015 18:56
Target OS: Linux
Domoticz version:
Contact:

Re: 2gang Girier dimmer switch problem in Zigbee4Domoticz

Post by olleman »

pipiche wrote: Wednesday 09 August 2023 12:14 indeed that is a 2 gangs dimer which was not supported.

I have pushed an updated configuration for that module, this would required a full re-pairing ( removing all widgets, removing device from plugin, and then re-pairing)

You would need [2.85] of the device configuration package

Here is the generic procedure to upgrade to 7
https://github.com/zigbeefordomoticz/wi ... ase_7.1.md

I don't see much issue with Windows except in regards to some python3 modules which might not be so easy. And make sure that you run ALL commands with Administrator privileges
Update went super smooth.

I just tried a new git pull but no new changes were found. Redid the pairing but the device behave the same, how do I get the 2.85 package? Currently I'm on 2.84.
pipiche
Posts: 1977
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: 2gang Girier dimmer switch problem in Zigbee4Domoticz

Post by pipiche »

You need to do the python module update

Python3 -m pip install -r requirements.txt —upgrade from an Administrative account


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
olleman
Posts: 107
Joined: Thursday 01 January 2015 18:56
Target OS: Linux
Domoticz version:
Contact:

Re: 2gang Girier dimmer switch problem in Zigbee4Domoticz

Post by olleman »

pipiche wrote: Wednesday 09 August 2023 12:54 You need to do the python module update

Python3 -m pip install -r requirements.txt —upgrade from an Administrative account


Envoyé de mon iPhone en utilisant Tapatalk
Ok, I'm on 2.85 now and the device shows as optimized. It behaves the same though so no improvement in the actual use of the dimmer switch.
pipiche
Posts: 1977
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: 2gang Girier dimmer switch problem in Zigbee4Domoticz

Post by pipiche »

olleman wrote:
pipiche wrote: Wednesday 09 August 2023 12:54 You need to do the python module update

Python3 -m pip install -r requirements.txt —upgrade from an Administrative account


Envoyé de mon iPhone en utilisant Tapatalk
Ok, I'm on 2.85 now and the device shows as optimized. It behaves the same though so no improvement in the actual use of the dimmer switch.
Did you redo the pairing from scratch ?


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
olleman
Posts: 107
Joined: Thursday 01 January 2015 18:56
Target OS: Linux
Domoticz version:
Contact:

Re: 2gang Girier dimmer switch problem in Zigbee4Domoticz

Post by olleman »

pipiche wrote: Wednesday 09 August 2023 14:17
olleman wrote:
pipiche wrote: Wednesday 09 August 2023 12:54 You need to do the python module update

Python3 -m pip install -r requirements.txt —upgrade from an Administrative account


Envoyé de mon iPhone en utilisant Tapatalk
Ok, I'm on 2.85 now and the device shows as optimized. It behaves the same though so no improvement in the actual use of the dimmer switch.
Did you redo the pairing from scratch ?


Envoyé de mon iPhone en utilisant Tapatalk
hm..I thought I did but apparently something happened when I tried it again.

Now if I turn on Gang 1 in domoticz and set for instance 50% dimming level. The lihgt turns on and set the correct dimming level. In Domoticz, however, the light is indicated to be "off" but it remembers the dimming level. Before it always indicated "on" and 100% dimming level.

If I do the same for gang 2 it reports "off" but 100% dimming level (this gang is not connected to any light at the moment so I cannot confirm wheter it's turned on or off in reality.
pipiche
Posts: 1977
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: 2gang Girier dimmer switch problem in Zigbee4Domoticz

Post by pipiche »

I'm not sure I'm following you.
When you say, I turn Gang 1 in domoticz and set for instance 50% dimming level. How can Domoticz reports Off as you have just set it up ?

I just saw in Z2M that the firmware of this device seems to be buggy and we need to do some hack. I'll see what I can do

looks like we have to switch on and then do the dim

can you try that ?

You switch it On, and then you dim ?
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
olleman
Posts: 107
Joined: Thursday 01 January 2015 18:56
Target OS: Linux
Domoticz version:
Contact:

Re: 2gang Girier dimmer switch problem in Zigbee4Domoticz

Post by olleman »

pipiche wrote: Wednesday 09 August 2023 15:10 I'm not sure I'm following you.
When you say, I turn Gang 1 in domoticz and set for instance 50% dimming level. How can Domoticz reports Off as you have just set it up ?

I just saw in Z2M that the firmware of this device seems to be buggy and we need to do some hack. I'll see what I can do

looks like we have to switch on and then do the dim

can you try that ?

You switch it On, and then you dim ?
In Domoticz: I turn the light "on". It first shows as on but after about 10 seconds it reports back as off, I assume that it get's a status update from the device. The Dimming level set in Domoticz is NOT rememberd it's rather remebering the last diming level set with the actual switch on the wall. So if I change the dimming level in Domoticz, the same thing happens: The slider first indicates the new dimming level but after about 10 seoncs it moves back to the previous position.

As before, doing changes in the physical button gives the correct status in Domoticz

Turning on and then dimming from Domoticz doesn't solve it.
pipiche
Posts: 1977
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: 2gang Girier dimmer switch problem in Zigbee4Domoticz

Post by pipiche »

can you switch to branch: hotfix-stable7-7.1.003

Code: Select all

git pull
git checkout hotfix-stable7-7.1.003
sudo python3 -m pip install -r requirements.txt --upgrade
instead of sudo - you must use Administrator Command

restart the plugin,and let see how it behaves ...
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
olleman
Posts: 107
Joined: Thursday 01 January 2015 18:56
Target OS: Linux
Domoticz version:
Contact:

Re: 2gang Girier dimmer switch problem in Zigbee4Domoticz

Post by olleman »

pipiche wrote: Wednesday 09 August 2023 15:59 can you switch to branch: hotfix-stable7-7.1.003

Code: Select all

git pull
git checkout hotfix-stable7-7.1.003
sudo python3 -m pip install -r requirements.txt --upgrade
instead of sudo - you must use Administrator Command

restart the plugin,and let see how it behaves ...
ok, now running 2.87 hotfix. It's behaving the opposite now.

Turning on from Domoticz turns the light on, Domoticz still indicates on after 10 seconds but with the wrong dimming level. When turning of from Domoticz the light turns off but after 10 seconds it reports as "on" in Domoticz again. (This is för Gang 1).
pipiche
Posts: 1977
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: 2gang Girier dimmer switch problem in Zigbee4Domoticz

Post by pipiche »

I have some remaining funds, I'll purchase one.
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
olleman
Posts: 107
Joined: Thursday 01 January 2015 18:56
Target OS: Linux
Domoticz version:
Contact:

Re: 2gang Girier dimmer switch problem in Zigbee4Domoticz

Post by olleman »

wow, thankyou :) Looking forward to hear from you again!
olleman
Posts: 107
Joined: Thursday 01 January 2015 18:56
Target OS: Linux
Domoticz version:
Contact:

Re: 2gang Girier dimmer switch problem in Zigbee4Domoticz

Post by olleman »

Just a quick question. It says on Aliexpress that this device should be Zigbee 3.0 compatible but as I read from the notes of version 7 of the plugin all zigbee 3.0 devices are compatible with the plugin. Does this mean that the device really isn't Zigbee 3.0?
pipiche
Posts: 1977
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: 2gang Girier dimmer switch problem in Zigbee4Domoticz

Post by pipiche »

With Tuya , you never know.
ZIgbee 3.0 compatible could means a lot.
- Compliant with Pairing could be enought to get the ZB3.0 tag ;-)
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: Google [Bot] and 0 guests