zigbeefordomoticz / Domoticz-Zigbee

Zigbee plugin for Domoticz. Allow to connect various zigbee controllers like Zigate but also Texas Instrument CC2531, CC13x2, CC26x2 ; Silicon-Labs; deConz based chipset to be connected to Domoticz
GNU General Public License v3.0
100 stars 43 forks source link

[Model Certification] - Siren r7051 to optimized #1598

Closed olive6707 closed 1 year ago

olive6707 commented 1 year ago

The device is paired correctly and identify as a TS0129 zigbee device, a selector device is created in domoticz and all seems to work armed, disarmed...) . The only thing is the device is not optimised and in the plugin web interface (and the domoticz widget is yellow)

pipiche38 commented 1 year ago

please switch to develop branch ( you need to be on bullseye - buster is not supported anymore )

git checkout develop
git pull
sudo python3 -m pip install -r requirements.txt --upgrade
olive6707 commented 1 year ago

initialy no change I deleated the device and try to pair again but paring doesnt't work even if the SIREN go out of pairing mode after 5 sec _PluginZigbee_28 (12).log

pipiche38 commented 1 year ago

from the logs it looks like the device was not properly removed. Make sure that you don't have any widget left on Domoticz and the device is not listed in the plugin. Then restart the plugin and do the pairing

olive6707 commented 1 year ago

My mistake I forgot to enable new device in domoticz Device is green in web plugin but still yellow in domoticz

pipiche38 commented 1 year ago

What do you mean yellow in domoticz ? Is that related to battery ?

can you give me again the Device Information -as you did in the initial post - ?

olive6707 commented 1 year ago

{"PluginInfos":{"HardwareID":28,"HomeFolder":"/home/pi/domoticz/plugins/Domoticz-Zigbee/","StartupFolder":"/home/pi/domoticz/","UserDataFolder":"/home/pi/domoticz/","WebRoot":"","Database":"/home/pi/domoticz/domoticz.db","Language":"fr","Version":"6.4","Author":"pipiche38","Name":"Zigbee","Address":"0.0.0.0","Port":"9999","SerialPort":"/dev/ttyAMA0","Key":"Zigate","Mode1":"ZigpyEZSP","Mode2":"PI","Mode3":"False","Mode4":"9440","Mode6":"2","DomoticzVersion":"2023.1","DomoticzHash":"f9b9ac774","DomoticzBuildTime":"2023-02-14 15:06:40","PluginBranch":"beta6","PluginVersion":"6.4.431","CertifiedDbVersion":"2.56","TimeStamp":1683394110,"available":0,"available-firmMajor":0,"available-firmMinor":0,"FirmwareVersion":"6.10.0.0 build 169","FirmwareUpdate":false,"PluginUpdate":false,"LogLevel":7,"Zigpy":true,"CoordinatorModel":"Elelabs, ELR02x","CoordinatorFirmwareVersion":"6.10.0.0 build 169","DisplayFirmwareVersion":"Ezsp - 6.10.0.0 build 169","CoordinatorIEEE":"8cf681fffec7d318","NetworkSize":"Total: 15 | Routers: 4 | End Devices: 11","NetworkDevices":{"1002":{"_TZ3000_wamqdr3f":["TS011F"],"_TZ3000_49qchf10":["TS0502A"],"_TZ3000_lbtpiody":["TS0201"]},"1037":{"unknown":["lumi.sensor_motion.aq2"],"LUMI":["lumi.sensor_motion.aq2"]},"1141":{"_TZ3000_0zrccfgx":["TS0215A-secure-remote"],"_TZE200_nlrfgpny":["TS0601-Solar-Siren"]},"0000":{"eWeLink":["DS01"]}}},"Analytics":-1,"Device":{"Version":"3","ZDeviceName":"","Status":"inDB","SQN":"01","Heartbeat":"2925","RIA":"0","LQI":80,"Battery":200,"Model":"TS0219","ForceAckCommands":[],"MacCapa":"8e","IEEE":"847127fffe096c12","Type":"AlarmWD","ProfileID":"0104","ZDeviceID":"0403","App Version":80,"Attributes List":{},"DeviceType":"FFD","HW Version":"","Last Cmds":[],"LogicalType":"Router","Manufacturer":"0000","Manufacturer Name":"_TYZB01_ynsiasng","NbEp":"1","PowerSource":"Main","ReadAttributes":{"Ep":{"01":{"0000":{"TimeStamp":1683379370,"iSQN":{"0004":"08","0000":"08","0001":"08","0005":"08","0007":"08","fffe":"08"},"Attributes":{},"ZigateRequest":{}},"0502":{"TimeStamp":1683386373,"iSQN":{"0000":"07"},"Attributes":{"0001":"00","0002":"00","0003":"00","0000":"00"},"ZigateRequest":{}},"0500":{"TimeStamp":1683386554,"iSQN":{},"Attributes":{"0010":"00","0000":"00","0001":"00","0002":"00"},"ZigateRequest":{}},"0001":{"TimeStamp":1683379370,"iSQN":{"0020":"06","0021":"06"},"Attributes":{},"ZigateRequest":{}}}}},"ReceiveOnIdle":"","Stack Version":"","Stamp":{"time":1683386654.8376231,"Time":"2023-05-06 17:24:14","MsgType":"8102","LastSeen":1683386654},"ZCL Version":3,"Health":"Not Reachable","Capability":["Full-Function Device","Main Powered","Receiver during Idle","Standard security","NwkAddr should be allocated"],"ZCLSQN":"fd","ZDPSQN":"f7","RollingLQI":[80,80,80,80,80,80,80,80,80,80,80],"Param":{"BatteryDevice":1,"VoltageConverter":10,"BatteryPercentageConverter":2},"ConfigSource":"DeviceConf","Ep":{"01":{"0000":{"0004":"_TYZB01_ynsiasng","0000":3,"0001":80,"0005":"TS0219","0007":2},"0003":{},"0004":{},"0009":{},"0019":{},"0500":{"0010":"8cf681fffec7d318","0000":"01","0001":"0225","0002":"alarm1: 0, alarm2: 0, tamper: 0, batter: 0, srepor: 1, rrepor: 0, troubl: 0, acmain: 0, test: 0, batdef: 0, doorbell: 0"},"0502":{"0000":"240","0001":"50","0002":"50","0003":"00"},"Type":"AlarmWD","0001":{"0020":50,"0021":200},"ClusterType":{"314":"AlarmWD"}}},"WriteAttributes":{"Ep":{"01":{"0000":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"0003":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"0004":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"0009":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"0019":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"0500":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"0502":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"0001":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}}}}},"Epv2":{"01":{"ProfileID":"0104","ZDeviceID":"0403","ClusterIn":{"0000":{},"0001":{},"0003":{},"0004":{},"0005":{},"0500":{},"0502":{},"eeff":{}},"ClusterOut":{"0003":{},"0019":{}}}},"ZDeviceVersion":"0000","BatteryUpdateTime":1683386654,"IAS":{"Auto-Enrollment":{"Status":"Enrolled","Ep":{"01":{"Status":"Enrolled","ZoneId":"00"}}},"01":{"EnrolledStatus":1,"ZoneType":549,"ZoneTypeName":"standard_warning","ZoneStatus":{"alarm1":0,"alarm2":0,"tamper":0,"battery":0,"Support Reporting":1,"Restore Reporting":0,"trouble":0,"acmain":0,"test":0,"battdef":0,"doorbell":0,"GlobalInfos":"0;0;0;0;1;0;0;0;0;0;0","TimeStamp":1683386554}}},"IAS WD":{"MaxDuration":"240"},"PairingInProgress":false,"PairingTime":1683379370.0937493,"BindingTable":{"SQN":0,"Status":"Success","TimeStamp":1683379370.3586962,"BindingTableSize":1,"Devices":[{"847127fffe096c12":{"sourceEp":"01","Cluster":"0500","targetIEEE":"8cf681fffec7d318","targetNickName":"Zigbee Coordinator","targetEp":"01"}}]},"ConfigureReporting":{"Ep":{"01":{"0001":{"TimeStamp":1683379370.0966551,"iSQN":{"0020":"fd","0021":"fd"},"Attributes":{"0021":"8d"},"ZigateRequest":{}}}}},"CheckParam":false,"CertifiedDevice":true,"_rawNodeDescriptor":"0000005200522c00008e524001","Max Buffer Size":"52","Max Rx":"0052","Max Tx":"0052","macapa":"8e","bitfield":"4001","server_mask":"2c00","descriptor_capability":"00","ReadConfigureReporting":{"Ep":{"01":{"0001":{"0021":{"TimeStamp":1683379430.3039024,"Status":"8b"}}}},"TimeStamp":1683379430.303883},"Bind":{"01":{"0001":{"Target":"0000","Stamp":1683386685,"Phase":"requested","Status":"","i_sqn":"f7"}}},"pingDeviceRetry":{"Retry":0,"TimeStamp":1683390255}}}

the widget was yellow but now it is ok

olive6707 commented 1 year ago

on my side all is fine could be close

pipiche38 commented 1 year ago

Thanks for your help and tests.