Page 1 sur 4

[Résolu] PB inter sans fils Legrand-Netatmo

Publié : 30 oct. 2023, 20:12
par Jihem
Bonsoir

J'avance dans ma nouvelle installation installation Legrand-Netamo.
Les prises et inter filaires sont bien reconnus et fonctionnels.
Par contre je bute sur l'intégration des inters sans fils.
Ils sont bien reconnus au moment de l'apairage.

Code : Tout sélectionner

023-10-30 18:56:30.553 Status: Zigbee: [-] NEW OBJECT: 1e8c Cluster Out 1: 0003 (Identify)
2023-10-30 18:56:30.554 Status: Zigbee: [-] NEW OBJECT: 1e8c Cluster Out 2: 0006 (On/Off)
2023-10-30 18:56:30.555 Status: Zigbee: [-] NEW OBJECT: 1e8c Cluster Out 3: 0008 (Level Control)
2023-10-30 18:56:30.556 Status: Zigbee: [-] NEW OBJECT: 1e8c Cluster Out 4: 0000 (Basic)
2023-10-30 18:56:30.556 Status: Zigbee: [-] NEW OBJECT: 1e8c Cluster Out 5: fc01
2023-10-30 18:56:30.557 Status: Zigbee: [-] NEW OBJECT: 1e8c Cluster Out 6: 0019 (Over-the-Air Upgrade)
2023-10-30 18:56:32.083 Status: Zigbee: [0] NEW OBJECT: 1e8c Model Name: Remote switch
2023-10-30 18:56:32.089 Status: Zigbee: [0] NEW OBJECT: 1e8c Manufacturer Name: Legrand
2023-10-30 18:56:32.095 Status: Zigbee: [None] NEW OBJECT: 1e8c Request Node Descriptor
2023-10-30 18:56:35.808 Status: Zigbee: (1e8c/0004740000c49c1b) sent a Leave indication and will be outside of the network. LQI: 0
2023-10-30 18:56:35.808 Status: Zigbee: (1e8c/0004740000c49c1b) cleanup key plugin data informations
2023-10-30 18:56:38.337 Status: Zigbee: reconnectNWkDevice - Update Status from inDB to 'inDB' for Network
Le dispositif est bien créé dans Domoticz: "selector switch"?
Sur la page web du plugin il est noté comme optimisé et renvoi ces informations que je ne suis pas capable d'interpréter.

Code : Tout sélectionner

{"PluginInfos":{"HardwareID":3,"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":"7.1","Author":"pipiche38","Name":"Zigbee","Address":"0.0.0.0","Port":"9999","SerialPort":"/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230829140200-if00","Key":"Zigate","Mode1":"ZigpyEZSP","Mode2":"USB","Mode3":"False","Mode4":"9440","Mode6":"0","DomoticzVersion":"2023.2","DomoticzHash":"19efd039c","DomoticzBuildTime":"2023-07-21 17:23:44","PluginBranch":"stable7","PluginVersion":"7.1.004","CertifiedDbVersion":"2.118","TimeStamp":1698689937,"available":0,"available-firmMajor":0,"available-firmMinor":0,"FirmwareVersion":"6.10.3.0 build 297","FirmwareUpdate":false,"PluginUpdate":false,"LogLevel":7,"Zigpy":true,"CoordinatorModel":"Unknown Silicon Labs","DisplayFirmwareVersion":"UNK - 6.10.3.0 build 297","CoordinatorIEEE":"e0798dfffe9ef5a4","NetworkSize":"Total: 20 | Routers: 17 | End Devices: 3","NetworkDevices":{"1021":{"Legrand":["Shutter switch with neutral","Dimmer switch wo neutral","Teleruptor","Connected outlet","NLIS - Double light switch","Remote switch"]}}},"Analytics":1,"Device":{"Version":"3","ZDeviceName":"","Status":"inDB","SQN":"11","Heartbeat":"268","RIA":"0","LQI":160,"Battery":60,"Model":"Remote switch","ForceAckCommands":[],"MacCapa":"80","IEEE":"0004740000c49c1b","Type":"LegrandSelector","ProfileID":"0104","ZDeviceID":"0104","App Version":"","Attributes List":{},"DeviceType":"RFD","HW Version":"","Last Cmds":[],"LogicalType":"End Device","Manufacturer":"1021","Manufacturer Name":"Legrand","NbEp":"1","PowerSource":"Battery","ReceiveOnIdle":"","Stack Version":"","Stamp":{"time":1698689091.876211,"Time":"2023-10-30 19:04:51","MsgType":"8011","LastSeen":1698689091},"ZCL Version":2,"Health":"Live","Capability":["Reduced-Function Device","Standard security","NwkAddr should be allocated"],"ZDPSQN":"19","RollingLQI":[164,164,164,164,164,160,160,156,156,160,160],"Epv2":{"01":{"ProfileID":"0104","ZDeviceID":"0104","ClusterIn":{"0000":{},"0003":{},"000f":{},"0020":{},"0001":{},"fc01":{}},"ClusterOut":{"0003":{},"0006":{},"0008":{},"0000":{},"fc01":{},"0019":{}}}},"ZCLSQN":"11","Param":{"netatmoReleaseButton":0},"ConfigSource":"DeviceConf","Ep":{"01":{"0000":{"4000":"003f","0004":"Legrand","0005":"Remote switch","0000":2,"f000":0},"0001":{"0020":28},"0003":{},"0006":{},"0008":{},"000f":{},"0019":{},"0020":{},"fc01":{},"Type":"LegrandSelector","ClusterType":{"52":"LegrandSelector"}}},"ZDeviceVersion":"0001","PairingInProgress":false,"PairingTime":1698688592.0785275,"CheckParam":false,"CertifiedDevice":true,"_rawNodeDescriptor":"1021003f003f2c000080594012","Max Buffer Size":"59","Max Rx":"003f","Max Tx":"003f","macapa":"80","bitfield":"4012","server_mask":"2c00","descriptor_capability":"00","PreviousStatus":"Leave","BindingTable":{"SQN":0,"Status":"Success","TimeStamp":1698689091.5363169,"BindingTableSize":4,"Devices":[{"0004740000c49c1b":{"sourceEp":"01","Cluster":"0001","targetIEEE":"e0798dfffe9ef5a4","targetNickName":"Zigbee Coordinator","targetEp":"01"}},{"0004740000c49c1b":{"sourceEp":"01","Cluster":"000f","targetIEEE":"e0798dfffe9ef5a4","targetNickName":"Zigbee Coordinator","targetEp":"01"}},{"0004740000c49c1b":{"sourceEp":"01","Cluster":"0003","targetIEEE":"e0798dfffe9ef5a4","targetNickName":"Zigbee Coordinator","targetEp":"01"}},{"0004740000c49c1b":{"sourceEp":"01","Cluster":"0008","targetIEEE":"e0798dfffe9ef5a4","targetNickName":"Zigbee Coordinator","targetEp":"01"}}]},"ZCL-IN-SQN":{"fc01":"00"},"Legrand":{"RemoteGroup":{"Single":null,"01":null},"OperatingTime":"00h 00m 00s"},"ReadAttributes":{"Ep":{"01":{"0001":{"TimeStamp":1698689089,"iSQN":{"0020":"0e"},"Attributes":{"0020":"00"},"ZigateRequest":{}},"0000":{"TimeStamp":1698689090,"iSQN":{"4000":"10","0000":"0f","0004":"0f","0005":"0f","f000":"10"},"Attributes":{"4000":"00","0000":"00","0004":"00","0005":"00","f000":"00"},"ZigateRequest":{}},"fc01":{"TimeStamp":1698689090,"iSQN":{"0000":"11","0001":"11"},"Attributes":{"0000":"86"},"ZigateRequest":{}}}}},"Bind":{"01":{"0001":{"Target":"0000","Stamp":1698689086,"Phase":"binded","Status":"00","i_sqn":"12"},"000f":{"Target":"0000","Stamp":1698689086,"Phase":"binded","Status":"00","i_sqn":"13"},"0003":{"Target":"0000","Stamp":1698689087,"Phase":"binded","Status":"00","i_sqn":"14"},"0008":{"Target":"0000","Stamp":1698689087,"Phase":"binded","Status":"00","i_sqn":"15"}}},"BatteryUpdateTime":1698689089,"WriteAttributes":{"Ep":{"01":{"0000":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"0001":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"0003":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"0006":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"0008":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"000f":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"0019":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"0020":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"fc01":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}}}}},"SWBUILD":"003f"}}
Quand j'actionne l'inter, il n’y a pas de changement d'état dans Domoticz; par contre la date et l'heure de l'action sont enregistrés.
si je fais un seul appui sur On ou Off il ne se passe rien mais en cas un double appui rapide sur On ou Off Le script lua renvoie

Code : Tout sélectionner

commandArray = {}
if devicechanged['Remote_1'] then
print('Remote_1 change '..otherdevices['Remote_1'])
end
return commandArray
2023-10-30 19:44:53.511 Status: LUA: Remote_1 change Off. et ce dans les 2 cas

Il ne doit pas manquer grand chose mais j'avoue ne pas maitriser le sujet.

Merci de votre aide

jihem
Pi4
Pi Os Bullseye
Domoticz 2023/2
Plugin: 7.1.004 [2.117]
SONOFF ZigBee 3.0 USB Dongle Plus, EFR32MG21
Commande sans fils dooxie with Netatmo pour éclairage ou prise connectée ou micromodule - blanc
Ref. 6 000 83 LEGRAND

Re: PB inter sans fils Legrand-Netatmo

Publié : 31 oct. 2023, 19:11
par pipiche
ce que je vois dans les logs c'est que l'objet s'appaire puis se retire du réseau

Code : Tout sélectionner

2023-10-30 18:56:35.808 Status: Zigbee: (1e8c/0004740000c49c1b) sent a Leave indication and will be outside of the network. LQI: 0
2023-10-30 18:56:35.808 Status: Zigbee: (1e8c/0004740000c49c1b) cleanup key plugin data informations
As-tu activé l'option 'Legrand'
Screenshot 2023-10-31 at 19.09.02.png
Screenshot 2023-10-31 at 19.09.02.png (111.59 Kio) Consulté 1193 fois
je te recommande de supprimer le Selector switch qui a été cré, pour repartir d'une config vide
puis de relancer le plugin (avec l'option Legrand activé préalablement

puis refaire l'appairage

Coté Remote switch il faut appuyer longtemps sur le boutton pour declancher le reset, puis re-appuyer plusieurs fois de façon successive en faisant des clicks

Re: PB inter sans fils Legrand-Netatmo

Publié : 01 nov. 2023, 15:38
par Jihem
J'ai cocher cette option.
je n'ai pas trouvé autre chose.
Capture d’écran 2023-11-01 145142.png
Capture d’écran 2023-11-01 145142.png (34.89 Kio) Consulté 1166 fois
j'ai suivi ta procédure et appairé à nouveau l'inter sans fil:
pas d'info qu'il ait quitter le réseau

Code : Tout sélectionner

 2023-11-01 14:41:49.802 Status: Zigbee: [-] NEW OBJECT: 7ac3 Request Simple Descriptor for Ep: 01
2023-11-01 14:41:51.060 Status: Zigbee: [-] NEW OBJECT: 7ac3 Simple Descriptor Response EP: 0x01 LQI: 164
2023-11-01 14:41:51.061 Status: Zigbee: [-] NEW OBJECT: 7ac3 ProfileID 0104
2023-11-01 14:41:51.061 Status: Zigbee: [-] NEW OBJECT: 7ac3 ZDeviceID 0104
2023-11-01 14:41:51.062 Status: Zigbee: [-] NEW OBJECT: 7ac3 Application Version 0001
2023-11-01 14:41:51.062 Status: Zigbee: [-] NEW OBJECT: 7ac3 Cluster IN Count: 06
2023-11-01 14:41:51.063 Status: Zigbee: [-] NEW OBJECT: 7ac3 Cluster In 1: 0000 (Basic)
2023-11-01 14:41:51.064 Status: Zigbee: [-] NEW OBJECT: 7ac3 Cluster In 2: 0003 (Identify)
2023-11-01 14:41:51.065 Status: Zigbee: [-] NEW OBJECT: 7ac3 Cluster In 3: 000f (Binary Input (Basic))
2023-11-01 14:41:51.065 Status: Zigbee: [-] NEW OBJECT: 7ac3 Cluster In 4: 0020 (Poll Control)
2023-11-01 14:41:51.066 Status: Zigbee: [-] NEW OBJECT: 7ac3 Cluster In 5: 0001 (Power Configuration)
2023-11-01 14:41:51.067 Status: Zigbee: [-] NEW OBJECT: 7ac3 Cluster In 6: fc01
2023-11-01 14:41:51.067 Status: Zigbee: [-] NEW OBJECT: 7ac3 Cluster OUT Count: 06
2023-11-01 14:41:51.068 Status: Zigbee: [-] NEW OBJECT: 7ac3 Cluster Out 1: 0003 (Identify)
2023-11-01 14:41:51.069 Status: Zigbee: [-] NEW OBJECT: 7ac3 Cluster Out 2: 0006 (On/Off)
2023-11-01 14:41:51.069 Status: Zigbee: [-] NEW OBJECT: 7ac3 Cluster Out 3: 0008 (Level Control)
2023-11-01 14:41:51.070 Status: Zigbee: [-] NEW OBJECT: 7ac3 Cluster Out 4: 0000 (Basic)
2023-11-01 14:41:51.071 Status: Zigbee: [-] NEW OBJECT: 7ac3 Cluster Out 5: fc01
2023-11-01 14:41:51.071 Status: Zigbee: [-] NEW OBJECT: 7ac3 Cluster Out 6: 0019 (Over-the-Air Upgrade)
2023-11-01 14:41:51.122 Status: Zigbee: [0] NEW OBJECT: 7ac3 Model Name: Remote switch
2023-11-01 14:41:51.128 Status: Zigbee: [0] NEW OBJECT: 7ac3 Manufacturer Name: Legrand
2023-11-01 14:41:51.134 Status: Zigbee: [None] NEW OBJECT: 7ac3 Request Node Descriptor
mais toujours le même résultat.
création d'un switch selector
un appui sur "On" ou "Off" : pas de détection par un script, seulement détecté au niveau lastupdate dans Domoticz
un double appui sur "On ou "Off" est détecté par un script par Domoticz; toujours en "Off".
Aucun changement d'état au niveau du widget, il reste toujours à l'état "Off" même en cliquant desssus.
Merci de ton aide

Re: PB inter sans fils Legrand-Netatmo

Publié : 01 nov. 2023, 21:34
par pipiche
peux-tu activer les paramètres de debug Input et Legrand
Screenshot 2023-11-01 at 21.33.19.png
Screenshot 2023-11-01 at 21.33.19.png (490.8 Kio) Consulté 1161 fois
puis refais des essais d'action sur le switch et dropes ici le log du plugin Los/PluginZigbee_xx.log

peux-tu également regarder du coté des logs Domoticz pour voir si il n'y a pas d'erreur

Re: PB inter sans fils Legrand-Netatmo

Publié : 02 nov. 2023, 17:38
par Jihem
Bonsoir
voila les logs de PluginZigbee_03.log
le device concerné est 7ac3

Code : Tout sélectionner

root@raspberrypi:/home/pi/domoticz/plugins/Domoticz-Zigbee/Logs# cat PluginZigbee_03.log
2023-11-02 16:58:54,687 INFO    :b'Zigbee for Domoticz (z4d) plugin stable7-7.1.004 started'
2023-11-02 16:58:54,702 INFO    :b'Plugin Database: DeviceList-3.txt'
2023-11-02 16:58:54,702 INFO    :b'Pathname to z4d_certified_devices /usr/local/lib/python3.9/dist-packages/z4d_certified_devices/'
2023-11-02 16:58:54,703 INFO    :b'Loading ZCL Cluster definitions'
2023-11-02 16:58:54,705 INFO    :b' - ZCL Cluster 0000 - (V1) Basic loaded'
2023-11-02 16:58:54,706 INFO    :b' - ZCL Cluster 0001 - (V1) Power loaded'
2023-11-02 16:58:54,707 INFO    :b' - ZCL Cluster 0002 - (V1) Device Temperature Configuration loaded'
2023-11-02 16:58:54,708 INFO    :b' - ZCL Cluster 0003 - (V1) Identify loaded'
2023-11-02 16:58:54,709 INFO    :b' - ZCL Cluster 0004 - (V1) Groups loaded'
2023-11-02 16:58:54,709 INFO    :b' - ZCL Cluster 0005 - (V1) Scenes loaded'
2023-11-02 16:58:54,710 INFO    :b' - ZCL Cluster 0006 - (V1) On/Off loaded'
2023-11-02 16:58:54,711 INFO    :b' - ZCL Cluster 0007 - (V1) On/Off Switch Configuration loaded'
2023-11-02 16:58:54,713 INFO    :b' - ZCL Cluster 0008 - (V1) Level loaded'
2023-11-02 16:58:54,714 INFO    :b' - ZCL Cluster 0009 - (V1) Alarms loaded'
2023-11-02 16:58:54,715 INFO    :b' - ZCL Cluster 000a - (V1) Time loaded'
2023-11-02 16:58:54,715 INFO    :b' - ZCL Cluster 000d - (V1) Analog Output loaded'
2023-11-02 16:58:54,716 INFO    :b' - ZCL Cluster 000f - (V1) Binary Input loaded'
2023-11-02 16:58:54,717 INFO    :b' - ZCL Cluster 0013 - (V1) Multistate Output loaded'
2023-11-02 16:58:54,718 INFO    :b' - ZCL Cluster 0019 - (V1) OTA Upgrade loaded'
2023-11-02 16:58:54,719 INFO    :b' - ZCL Cluster 0020 - (V1) Poll Control loaded'
2023-11-02 16:58:54,720 INFO    :b' - ZCL Cluster 0102 - (V1) Window Covering loaded'
2023-11-02 16:58:54,721 INFO    :b' - ZCL Cluster 0202 - (V1) Fan Control loaded'
2023-11-02 16:58:54,722 INFO    :b' - ZCL Cluster 0204 - (V1) Thermostat User Interface Configuration loaded'
2023-11-02 16:58:54,723 INFO    :b' - ZCL Cluster 0300 - (V1) Color Control loaded'
2023-11-02 16:58:54,724 INFO    :b' - ZCL Cluster 0301 - (V1) Ballast Configuration loaded'
2023-11-02 16:58:54,725 INFO    :b' - ZCL Cluster 0400 - (V1) Illuminance Level Sensing loaded'
2023-11-02 16:58:54,726 INFO    :b' - ZCL Cluster 0402 - (V1) Temperature Measurement loaded'
2023-11-02 16:58:54,727 INFO    :b' - ZCL Cluster 0403 - (V1) Pressure Measurement loaded'
2023-11-02 16:58:54,727 INFO    :b' - ZCL Cluster 0405 - (V1) Relative Humidity Measurement loaded'
2023-11-02 16:58:54,728 INFO    :b' - ZCL Cluster 0406 - (V1) Occupancy Sensing loaded'
2023-11-02 16:58:54,731 INFO    :b' - ZCL Cluster 0700 - (V1) Price loaded'
2023-11-02 16:58:54,732 INFO    :b' - ZCL Cluster 0702 - (V1) Metering (Smart Energy) loaded'
2023-11-02 16:58:54,733 INFO    :b' - ZCL Cluster 0b01 - (V1) Meter Identification loaded'
2023-11-02 16:58:54,735 INFO    :b' - ZCL Cluster 0b04 - (V1) Electrical Measurement loaded'
2023-11-02 16:58:54,736 INFO    :b' - ZCL Cluster 0b05 - (V1) Diagnostics loaded'
2023-11-02 16:58:54,737 INFO    :b' - ZCL Cluster e000 - (V1) Tuya E000 Private Cluster loaded'
2023-11-02 16:58:54,738 INFO    :b' - ZCL Cluster e001 - (V1) Tuya E001 Private Cluster loaded'
2023-11-02 16:58:54,739 INFO    :b' - ZCL Cluster e002 - (V1) Tuya E002 Private Cluster loaded'
2023-11-02 16:58:54,740 INFO    :b' - ZCL Cluster fcc0 - (V1) LUMI Private Cluster loaded'
2023-11-02 16:58:54,741 INFO    :b' - ZCL Cluster ff66 - (V1) Lixee Zlinky private cluster loaded'
2023-11-02 16:58:54,744 INFO    :b'DeviceConf loaded - 16 confs loaded'
2023-11-02 16:58:54,748 INFO    :b'Local-Device conf loaded - 21 confs loaded'
2023-11-02 16:58:55,005 INFO    :b'Certified Devices loaded - 512 confs loaded'
2023-11-02 16:58:55,007 INFO    :b'load ListOfDevice'
2023-11-02 16:58:55,260 INFO    :b'18 Entries loaded from /home/pi/domoticz/plugins/Domoticz-Zigbee/Data/DeviceList-3.txt'
2023-11-02 16:58:55,310 INFO    :b'Transport mode: ZigpyEZSP'
2023-11-02 16:58:56,393 INFO    :b'Start Zigpy Transport on EZSP'
2023-11-02 16:58:56,394 DEBUG   :Using selector: EpollSelector
2023-11-02 16:58:56,398 INFO    :b'ZigpyTransport: thread_processing_and_sending Thread start.'
2023-11-02 16:58:56,399 INFO    :b'Start Web Server connection'
2023-11-02 16:58:56,416 INFO    :b'Web backend for Web User Interface started on port: 9440'
2023-11-02 16:58:56,634 INFO    :b'Plugin looks to upgrade the Certified Device package'
2023-11-02 16:58:56,874 DEBUG   :Using selector: EpollSelector
2023-11-02 16:58:56,876 INFO    :b'Started radio ezsp port: /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230829140200-if00'
2023-11-02 16:58:58,235 INFO    :b'Bellows Radio register default Ep'
2023-11-02 16:58:58,586 INFO    :b'ZigateRead - MsgType: 8002,  Data: 00000000020000020000020000010000, LQI: 255'
2023-11-02 16:58:58,587 INFO    :b'Decode0042 - Node_Desc_req: 010000000000'
2023-11-02 16:58:58,588 INFO    :b'Decode0042 - response payload: 01890000'
2023-11-02 16:58:58,604 INFO    :b'ZigateRead - MsgType: 8002,  Data: 000000800200000200000200000100000000408fcdab528000412c800000, LQI: 255'
2023-11-02 16:58:58,605 INFO    :b'Decode8042 - Reception Node Descriptor for: 0000 SEQ: 01 Status: 00 manufacturer:abcd mac_capability: 8f bit_field: 4000'
2023-11-02 16:58:58,606 INFO    :b'Decode8042 - Alternate PAN Coordinator = 1'
2023-11-02 16:58:58,607 INFO    :b'Decode8042 - Receiver on Idle = On'
2023-11-02 16:58:58,607 INFO    :b'Decode8042 - Power Source = Main'
2023-11-02 16:58:58,608 INFO    :b'Decode8042 - Device type  = FFD'
2023-11-02 16:58:58,609 INFO    :b'Decode8042 - bit_fieldL  = 0 bit_fieldH = 64'
2023-11-02 16:58:58,609 INFO    :b'Decode8042 - bit_field = 0: 64'
2023-11-02 16:58:58,610 INFO    :b'Decode8042 - Logical Type = Coordinator'
2023-11-02 16:58:58,629 INFO    :b'ZigateRead - MsgType: 8002,  Data: 0000000004000002000002000003000001, LQI: 255'
2023-11-02 16:58:58,630 INFO    :b'Reception Data indication, Source Address: 0000 Destination Address: 0000 ProfilID: 0000 ClusterID: 0004 Message Payload: 03000001'
2023-11-02 16:58:58,648 INFO    :b'ZigateRead - MsgType: 8002,  Data: 00000080040000020000020000030000001e0104010004000700000600040005000a0019000105040100200000050205, LQI: 255'
2023-11-02 16:58:58,650 INFO    :b'Decode8043 - Received SQN: 03 Addr: 0000 Len: 1e Status: 00 Data: 030000001e010104040000070000000600040005000a00190501040001002005000502'
2023-11-02 16:58:58,780 INFO    :b"EZSP Configuration {'device': {'path': '/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230829140200-if00', 'baudrate': 115200, 'flow_control': 'software'}, 'network': {'channel': 11, 'update_id': 0, 'tc_link_key': 5a:69:67:42:65:65:41:6c:6c:69:61:6e:63:65:30:39, 'key': None, 'extended_pan_id': None, 'channels': <Channels.CHANNEL_25|CHANNEL_20|CHANNEL_15|CHANNEL_11: 34637824>, 'pan_id': None, 'key_sequence_number': 0, 'tc_address': None}, 'ezsp_config': {}, 'topology_scan_enabled': False, 'handle_unknown_devices': True, 'source_routing': False, 'backup_enabled': True, 'backup_period': 1, 'max_concurrent_requests': 8, 'topology_scan_period': 240, 'topology_scan_skip_coordinator': False, 'ota': {'salus_provider': False, 'otau_directory': None, 'thirdreality_provider': False, 'inovelli_provider': False, 'ledvance_provider': False, 'ikea_provider': False, 'sonoff_provider': False}, 'validate_network_settings': False, 'additional_endpoints': [], 'ezsp_policies': {}, 'database_path': None, 'use_thread': True, 'startup_energy_scan': True, 'max_watchdog_failures': 4}"
2023-11-02 16:58:58,782 INFO    :b'ZigateRead - MsgType: 8015,  Data: , LQI: 0'
2023-11-02 16:58:58,783 INFO    :b'Number of devices recently active in Coordinator = 0'
2023-11-02 16:58:58,784 INFO    :b"Decode8015 - IEEE2NWK      : {'e0798dfffe9ef5a4': '0000', '00047400009d7eb5': '9317', '000474000014574b': '7c7c', '0004740001236302': 'b43b', '00047400008e60c2': '7c54', '0004740000151494': 'e59b', '000474000014f5d9': 'ed2a', '000474000014617c': '3efb', '000474000013908c': 'd715', '0004740000145749': '9bd1', '00047400009dcc84': '4f14', '000474000014f5ae': 'f831', '000474000014f5ca': 'af9a', '0004740000145751': 'fbc7', '00047400008e7e2b': '433b', '00047400001514b0': 'dc66', '000474000079ac16': '3aa6', '0004740000c49c1b': '7ac3'}"
2023-11-02 16:58:58,816 INFO    :b'EZSP Radio manufacturer: '
2023-11-02 16:58:58,818 INFO    :b'EZSP Radio board name: '
2023-11-02 16:58:58,821 INFO    :b'EmberZNet version: 6.10.3.0 build 297'
2023-11-02 16:58:58,822 INFO    :b'bellows_extract_versioning_for_plugin Manuf:  Name:  Version: 6.10.3.0 build 297'
2023-11-02 16:58:58,823 INFO    :b'Network settings'
2023-11-02 16:58:58,823 INFO    :b'  Device IEEE: e0:79:8d:ff:fe:9e:f5:a4'
2023-11-02 16:58:58,825 INFO    :b'  Device NWK: 0x0000'
2023-11-02 16:58:58,825 INFO    :b'  Network Update Id: 0x0003'
2023-11-02 16:58:58,826 INFO    :b'  PAN ID: 0x5CB8'
2023-11-02 16:58:58,826 INFO    :b'  Extended PAN ID: 0a:b6:c9:9d:fe:1a:9e:ff'
2023-11-02 16:58:58,828 INFO    :b'  Channel: 11'
2023-11-02 16:58:58,830 INFO    :b'ZigateRead - MsgType: 8010,  Data: 980610306.10.3.0 build 297, LQI: 0'
2023-11-02 16:58:58,831 INFO    :b'Decode8010 980610306.10.3.0 build 297'
2023-11-02 16:58:58,832 INFO    :b'Decode8010 Major: 98 Minor: 1030 Full: 6.10.3.0 build 297'
2023-11-02 16:58:58,839 INFO    :b'Decode8010 - Reception Version list:980610306.10.3.0 build 297 len: 26 Branch: 98 Major: 98 Version: 6.10.3.0 build 297'
2023-11-02 16:58:58,839 INFO    :b'Untested Zigbee adaptater model. If this is a Sonoff USB Dongle E that is known issue, otherwise please report to the Zigbee for Domoticz team'
2023-11-02 16:58:58,840 INFO    :b'Installer Version Number: 6.10.3.0 build 297'
2023-11-02 16:58:58,840 INFO    :b'Branch Version: ==> Unknown Silicon Labs <=='
2023-11-02 16:58:58,841 INFO    :b'ZigateRead - MsgType: 8009,  Data: 0000e0798dfffe9ef5a45cb80ab6c99dfe1a9eff0b, LQI: 0'
2023-11-02 16:58:58,841 INFO    :b'Decode8009: Network state - Address:0000 extaddr:e0798dfffe9ef5a4 PanID: 5cb8 Channel: 11'
2023-11-02 16:58:58,842 INFO    :b'Zigbee Coordinator ieee: e0798dfffe9ef5a4 , short addr: 0000'
2023-11-02 16:58:58,843 INFO    :b'Network state UP, PANID: 5cb8 extPANID: 0x0ab6c99dfe1a9eff Channel: 11'
2023-11-02 16:58:58,844 INFO    :b'ZigateRead - MsgType: 8045,  Data: 00000000020001, LQI: 0'
2023-11-02 16:58:58,845 INFO    :b'ZigateRead - MsgType: 8043,  Data: 0000000001010104040000070000000600040005000a00190501040001002005000502, LQI: 0'
2023-11-02 16:58:58,845 INFO    :b'Decode8043 - Received SQN: 00 Addr: 0000 Len: 01 Status: 00 Data: 0000000001010104040000070000000600040005000a00190501040001002005000502'
2023-11-02 16:58:58,846 INFO    :b'ZigateRead - MsgType: 0302,  Data: , LQI: 0'
2023-11-02 16:58:58,849 INFO    :b'Decode0302 - PDM Load'
2023-11-02 16:58:58,849 INFO    :b'Detected Legrand IEEE, broadcast Write Attribute 0x0000/0xf000'
2023-11-02 16:58:58,859 INFO    :b'ZigateRead - MsgType: 8002,  Data: 0000008002000002000002000001890000, LQI: 255'
2023-11-02 16:58:58,862 INFO    :b'Decode8042 - Reception of Node Descriptor for 0000 with status 89'
2023-11-02 16:59:03,790 INFO    :b'Certified Device package upgrade results'
2023-11-02 16:59:03,790 INFO    :b'Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple'
2023-11-02 16:59:03,791 INFO    :b'Requirement already satisfied: z4d-certified-devices in /usr/local/lib/python3.9/dist-packages (2.123)'
2023-11-02 16:59:03,791 INFO    :b'Collecting z4d-certified-devices'
2023-11-02 16:59:03,791 INFO    :b'  Using cached https://www.piwheels.org/simple/z4d-certified-devices/z4d_certified_devices-2.123-py3-none-any.whl (336 kB)'
2023-11-02 16:59:03,791 INFO    :b'  Using cached https://www.piwheels.org/simple/z4d-certified-devices/z4d_certified_devices-2.122-py3-none-any.whl (336 kB)'
2023-11-02 16:59:03,792 INFO    :b''
2023-11-02 16:59:03,792 INFO    :b'Domoticz Widgets usage is at 12.9 % (222 units free)'
2023-11-02 16:59:03,970 INFO    :b'ZigateRead - MsgType: 8002,  Data: 000104fc010101027ac302000005211000091b9cc4000074040001, LQI: 152'
2023-11-02 16:59:03,971 INFO    :b'zcl_decoders Unknown Command: 09 NwkId: 7ac3 Ep: 01 Cluster: fc01 Payload: 1b9cc4000074040001 - GlobalCommand: False, Sqn: 00, ManufacturerCode: 1021'
2023-11-02 16:59:03,974 INFO    :b'Reception Data indication, Source Address: 7ac3 Destination Address: 0000 ProfilID: 0104 ClusterID: fc01 Message Payload: 05211000091b9cc4000074040001'
2023-11-02 16:59:03,975 INFO    :b'legrandReadRawAPS - Nwkid: 7ac3 Ep: 01, Cluster: fc01, dstNwkid: 0000, dstEp: 01, Payload: 05211000091b9cc4000074040001'
2023-11-02 16:59:03,976 INFO    :b' NwkId: 7ac3/01 Cluster: fc01 Command: 09 Data: 1b9cc4000074040001'
2023-11-02 16:59:03,977 INFO    :b'---> Decoding cmd 0x09 Ieee: 4740000c49c1b leftright: 01'
2023-11-02 16:59:03,979 INFO    :b'assign_group_membership_to_legrand_remote 7ac3 lefright: 01'
2023-11-02 16:59:03,981 INFO    :b'ZigateRead - MsgType: 8002,  Data: 000104000f0101027ac302000018040a00f0210100, LQI: 152'
2023-11-02 16:59:03,983 INFO    :b'Decode8102 - Attribute Reports: [7ac3:01] MsgSQN: 04 ClusterID: 000f AttributeID: f000 Status: 00 Type: 21 Size: 0002 ClusterData: >0001<'
2023-11-02 16:59:03,984 INFO    :b'scan_attribute_reponse - Sqn: 04 i_sqn: 04 Nwkid: 7ac3 Ep: 01 Cluster: 000f MsgData: 047ac301000ff000002100020001 Type: 8102'
2023-11-02 16:59:03,986 INFO    :b'scan_attribute_reponse - 8102 idx: 28 Read Attribute Response: [7ac3:01] ClusterID: 000f MsgSQN: 04, i_sqn: 04, AttributeID: f000 Status: 00 Type: 21 Size: 0002 ClusterData: >0001<'
2023-11-02 16:59:03,987 INFO    :b'Decode8102 - LQI: 152 Received Cluster:000f Attribute: f000 Value: 0001 from (7ac3/01)'
2023-11-02 16:59:03,989 INFO    :b'ZigateRead - MsgType: 8002,  Data: 000104fc010101027ac302000005211003091b9cc4000074040001, LQI: 152'
2023-11-02 16:59:03,990 INFO    :b'zcl_decoders Unknown Command: 09 NwkId: 7ac3 Ep: 01 Cluster: fc01 Payload: 1b9cc4000074040001 - GlobalCommand: False, Sqn: 03, ManufacturerCode: 1021'
2023-11-02 16:59:03,990 INFO    :b'Reception Data indication, Source Address: 7ac3 Destination Address: 0000 ProfilID: 0104 ClusterID: fc01 Message Payload: 05211003091b9cc4000074040001'
2023-11-02 16:59:03,991 INFO    :b'legrandReadRawAPS - Nwkid: 7ac3 Ep: 01, Cluster: fc01, dstNwkid: 0000, dstEp: 01, Payload: 05211003091b9cc4000074040001'
2023-11-02 16:59:03,991 INFO    :b' NwkId: 7ac3/01 Cluster: fc01 Command: 09 Data: 1b9cc4000074040001'
2023-11-02 16:59:03,991 INFO    :b'---> Decoding cmd 0x09 Ieee: 4740000c49c1b leftright: 01'
2023-11-02 16:59:03,992 INFO    :b'assign_group_membership_to_legrand_remote 7ac3 lefright: 01'
2023-11-02 16:59:03,992 INFO    :b'ZigateRead - MsgType: 8002,  Data: 000104fc010101027ac302000015211005051b9cc40000740400, LQI: 152'
2023-11-02 16:59:03,993 INFO    :b'zcl_decoders Unknown Command: 05 NwkId: 7ac3 Ep: 01 Cluster: fc01 Payload: 1b9cc40000740400 - GlobalCommand: False, Sqn: 05, ManufacturerCode: 1021'
2023-11-02 16:59:03,993 INFO    :b'Reception Data indication, Source Address: 7ac3 Destination Address: 0000 ProfilID: 0104 ClusterID: fc01 Message Payload: 15211005051b9cc40000740400'
2023-11-02 16:59:03,994 INFO    :b'legrandReadRawAPS - Nwkid: 7ac3 Ep: 01, Cluster: fc01, dstNwkid: 0000, dstEp: 01, Payload: 15211005051b9cc40000740400'
2023-11-02 16:59:03,994 INFO    :b' NwkId: 7ac3/01 Cluster: fc01 Command: 05 Data: 1b9cc40000740400'
2023-11-02 16:59:03,995 INFO    :b'ZigateRead - MsgType: 8002,  Data: 000104fc010101027ac302000015211006051b9cc40000740400, LQI: 152'
2023-11-02 16:59:03,995 INFO    :b'zcl_decoders Unknown Command: 05 NwkId: 7ac3 Ep: 01 Cluster: fc01 Payload: 1b9cc40000740400 - GlobalCommand: False, Sqn: 06, ManufacturerCode: 1021'
2023-11-02 16:59:03,995 INFO    :b'Reception Data indication, Source Address: 7ac3 Destination Address: 0000 ProfilID: 0104 ClusterID: fc01 Message Payload: 15211006051b9cc40000740400'
2023-11-02 16:59:03,996 INFO    :b'legrandReadRawAPS - Nwkid: 7ac3 Ep: 01, Cluster: fc01, dstNwkid: 0000, dstEp: 01, Payload: 15211006051b9cc40000740400'
2023-11-02 16:59:03,996 INFO    :b' NwkId: 7ac3/01 Cluster: fc01 Command: 05 Data: 1b9cc40000740400'
2023-11-02 16:59:04,972 INFO    :b'ZigateRead - MsgType: 8002,  Data: 00000000130000027ac302000002c37a1b9cc4000074040080, LQI: 140'
2023-11-02 16:59:04,978 INFO    :b'ZigateRead - MsgType: 8002,  Data: 000104000f0101027ac302000018080a00f0210100, LQI: 152'
2023-11-02 16:59:04,980 INFO    :b'Decode8102 - Attribute Reports: [7ac3:01] MsgSQN: 08 ClusterID: 000f AttributeID: f000 Status: 00 Type: 21 Size: 0002 ClusterData: >0001<'
2023-11-02 16:59:04,981 INFO    :b'scan_attribute_reponse - Sqn: 08 i_sqn: 08 Nwkid: 7ac3 Ep: 01 Cluster: 000f MsgData: 087ac301000ff000002100020001 Type: 8102'
2023-11-02 16:59:04,982 INFO    :b'scan_attribute_reponse - 8102 idx: 28 Read Attribute Response: [7ac3:01] ClusterID: 000f MsgSQN: 08, i_sqn: 08, AttributeID: f000 Status: 00 Type: 21 Size: 0002 ClusterData: >0001<'
2023-11-02 16:59:04,983 INFO    :b'Decode8102 - LQI: 152 Received Cluster:000f Attribute: f000 Value: 0001 from (7ac3/01)'
2023-11-02 16:59:05,042 INFO    :b'ZigateRead - MsgType: 8002,  Data: 000104000f0101027ac3020000180a0a00f0210100, LQI: 164'
2023-11-02 16:59:05,043 INFO    :b'Decode8102 - Attribute Reports: [7ac3:01] MsgSQN: 0a ClusterID: 000f AttributeID: f000 Status: 00 Type: 21 Size: 0002 ClusterData: >0001<'
2023-11-02 16:59:05,044 INFO    :b'scan_attribute_reponse - Sqn: 0a i_sqn: 0a Nwkid: 7ac3 Ep: 01 Cluster: 000f MsgData: 0a7ac301000ff000002100020001 Type: 8102'
2023-11-02 16:59:05,045 INFO    :b'scan_attribute_reponse - 8102 idx: 28 Read Attribute Response: [7ac3:01] ClusterID: 000f MsgSQN: 0a, i_sqn: 0a, AttributeID: f000 Status: 00 Type: 21 Size: 0002 ClusterData: >0001<'
2023-11-02 16:59:05,046 INFO    :b'Decode8102 - LQI: 164 Received Cluster:000f Attribute: f000 Value: 0001 from (7ac3/01)'
2023-11-02 16:59:05,594 INFO    :b'ZigateRead - MsgType: 8002,  Data: 000104000f0101027ac3020000180c0a00f0210100, LQI: 168'
2023-11-02 16:59:05,596 INFO    :b'Decode8102 - Attribute Reports: [7ac3:01] MsgSQN: 0c ClusterID: 000f AttributeID: f000 Status: 00 Type: 21 Size: 0002 ClusterData: >0001<'
2023-11-02 16:59:05,597 INFO    :b'scan_attribute_reponse - Sqn: 0c i_sqn: 0c Nwkid: 7ac3 Ep: 01 Cluster: 000f MsgData: 0c7ac301000ff000002100020001 Type: 8102'
2023-11-02 16:59:05,597 INFO    :b'scan_attribute_reponse - 8102 idx: 28 Read Attribute Response: [7ac3:01] ClusterID: 000f MsgSQN: 0c, i_sqn: 0c, AttributeID: f000 Status: 00 Type: 21 Size: 0002 ClusterData: >0001<'
2023-11-02 16:59:05,599 INFO    :b'Decode8102 - LQI: 168 Received Cluster:000f Attribute: f000 Value: 0001 from (7ac3/01)'
il y a des erreurs dans les logs de Domoticz mais ils concernent les commandes de rideaux qui par ailleurs fonctionnent parfaitement.

Code : Tout sélectionner

2023-11-02 16:59:59.289 Error: Zigbee: ReadCluster - Error/unknow 4f14/01 Cluster: 0102 Attribute: f000 Status: 00 DataType: 20 DataSize: 0001 Data: 00
2023-11-02 17:18:34.465 Error: Zigbee: ReadCluster - Error/unknow 7c54/01 Cluster: 0102 Attribute: f001 Status: 00 DataType: 20 DataSize: 0001 Data: 64
2023-11-02 17:21:36.758 Error: Zigbee: ReadCluster - Error/unknow 433b/01 Cluster: 0102 Attribute: f002 Status: 00 DataType: 30 DataSize: 0001 Data: 02 
2023-11-02 17:31:42.784 Error: Zigbee: ReadCluster - Error/unknow 9317/01 Cluster: 0102 Attribute: f004 Status: 00 DataType: 20 DataSize: 0001 Data: 19 

Re: PB inter sans fils Legrand-Netatmo

Publié : 02 nov. 2023, 18:33
par pipiche
tu m'aides pas beaucoup avec les logs, j'aurais besoin de savoir quelle part de log est produite lorsque tu fais une action sur le switch et quelle action

pourrais-tu également donner le fichier export.json "List des Device Raw)

Egalement quelles sont les actions possible sur le switchy-at-il la notion de On Off ou est-ce uniquement un bouton poussoir


Je soupsonne une différence de version de firmware et du coup un comportement différent

Re: PB inter sans fils Legrand-Netatmo

Publié : 03 nov. 2023, 19:53
par Jihem
Bonsoir
un peu plus de précisions

Action On:
lastupdate est mis à jour
Le widget ne change pas d'état et reste sur Off
Pas de détection au niveau d'un script.
Logs du plugin:

Code : Tout sélectionner

2023-11-03 19:13:23,779 INFO    :b'scan_attribute_reponse - 8102 idx: 28 Read Attribute Response: [7ac3:01] ClusterID: 000f MsgSQN: 03, i_sqn: 03, AttributeID: f000 Status: 00 Type: 21 Size: 0002 ClusterData: >0001<'
2023-11-03 19:13:23,782 INFO    :b'Decode8102 - LQI: 180 Received Cluster:000f Attribute: f000 Value: 0001 from (7ac3/01)'
Action Off: idem
Log plugin

Code : Tout sélectionner

2023-11-03 19:14:19,133 INFO    :b'scan_attribute_reponse - 8102 idx: 28 Read Attribute Response: [7ac3:01] ClusterID: 000f MsgSQN: 03, i_sqn: 03, AttributeID: f000 Status: 00 Type: 21 Size: 0002 ClusterData: >0000<'
2023-11-03 19:14:19,134 INFO    :b'Decode8102 - LQI: 188 Received Cluster:000f Attribute: f000 Value: 0000 from (7ac3/01)'
2023-11-03 19:14:20,046 INFO    :b'ZigateRead - MsgType: 8002,  Data: 00000000130000027ac302000000c37a1b9cc4000074040080, LQI: 188'
Double action On: idem pour le widget
L'action est détecté comme Off par le scipt:

Code : Tout sélectionner

commandArray = {}
if devicechanged['Remote_1'] then
print('Remote_1 change'..otherdevices['Remote_1'])
end
return commandArray

2023-11-03 19:54:25.320 Status: LUA: Remote_1 changeOff
Log plugin:

Code : Tout sélectionner

2023-11-03 19:15:06,014 INFO    :b'scan_attribute_reponse - 8102 idx: 26 Read Attribute Response: [7ac3:01] ClusterID: 000f MsgSQN: 03, i_sqn: 03, AttributeID: 0055 Status: 00 Type: 10 Size: 0001 ClusterData: >00<'
2023-11-03 19:15:06,015 INFO    :b'Decode8102 - LQI: 136 Received Cluster:000f Attribute: 0055 Value:   00 from (7ac3/01)'
2023-11-03 19:15:06,018 INFO    :b'get_device_config_param: 7ac3 Config: disableBinaryInputCluster'
2023-11-03 19:15:06,020 INFO    :b'UpdateDevice - (       Remote_1) 0:00'
2023-11-03 19:15:06,999 INFO    :b'ZigateRead - MsgType: 8002,  Data: 00000000130000027ac302000000c37a1b9cc4000074040080, LQI: 144'
2023-11-03 19:15:07,593 INFO    :b'ZigateRead - MsgType: 8011,  Data: 007ac3, LQI: 144'
Double Action Off: idem
Log plugin

Code : Tout sélectionner

2023-11-03 19:16:14,236 INFO    :b'scan_attribute_reponse - 8102 idx: 26 Read Attribute Response: [7ac3:01] ClusterID: 000f MsgSQN: 05, i_sqn: 05, AttributeID: 0055 Status: 00 Type: 10 Size: 0001 ClusterData: >00<'
2023-11-03 19:16:14,239 INFO    :b'Decode8102 - LQI: 180 Received Cluster:000f Attribute: 0055 Value:   00 from (7ac3/01)'
2023-11-03 19:16:14,244 INFO    :b'get_device_config_param: 7ac3 Config: disableBinaryInputCluster'
2023-11-03 19:16:14,258 INFO    :b'UpdateDevice - (       Remote_1) 0:00'
je n’ai pas trouvé le fichier 'List des Device Raw'

Encore merci et bonne soirée

jihem

Re: PB inter sans fils Legrand-Netatmo

Publié : 03 nov. 2023, 20:33
par Keros
La liste des objets raw est un fichier que tu exportes depuis le menu Outils du WebUI du plugin.

Re: PB inter sans fils Legrand-Netatmo

Publié : 03 nov. 2023, 20:46
par pipiche
en plus du message de @keros, peux-tu répondre à ma question ? Comment fonctionne le switch ?

Re: PB inter sans fils Legrand-Netatmo

Publié : 04 nov. 2023, 09:45
par Jihem
Merci Keros je suis un peu perdu.

@Pipiche
le fichier:
export.json
(166.1 Kio) Téléchargé 76 fois
je crois que je n’ai pas bien compris ta question.
Tu veux dire physiquement?
C'est un inter sans fil Legrand Netatmo ref: 6 000 83
un bouton On et un bouton Off
Avec la prise de contrôle Legrand, il s'appaire avec un autre appareil par un "tap tap tap" mais j'ai lu dans le wiki que ça ne fonctionnait pas avec le plugin.
IMG_6203.jpg
IMG_6203.jpg (47.77 Kio) Consulté 1034 fois

Dans Domoticz je pense qu'on doit passer par un script pour commander un appareil?