Page 2 sur 2

Re: Perte de Prise de temps en temps

Publié : 14 juin 2024, 10:11
par pipiche
Pour changer de canal Zigbee
Capture d’écran 2024-06-14 101037.png
Capture d’écran 2024-06-14 101037.png (28.72 Kio) Consulté 575 fois

Et ATTENTION, le scan d'intérférences est utilie sur un réseau Zigbee vierge (pas de device), mais si ce réseau est utilisé, alors c'est normal qu'il y ai des intérférences car ce sont les objets qui produisent du trafic

Re: Perte de Prise de temps en temps

Publié : 14 juin 2024, 14:14
par lost
Hello,

Je ne savais pas pour la mesure interférences, c'est bon à savoir... Maintenant, avec les AP wifi qui peuvent bouger de canal automatiquement de leur côté, un truc bon à un moment peut devenir mauvais 1h plus tard.

Niveau réglage, j'étais allé côté roue dentée en cochant les paramètres étendus et de ce côté ca ne fonctionnait pas.

Là ou tu as indiqué, cela fonctionne... mais derrière c'est pire en fait! Car la prise qui reçoit visiblement rien du coordinateur n'est alors pas informée du changement donc à la réflexion cela ne peut rien résoudre et le seul capteur (vibration) sur pile que j'ai et qui ne posait aucun pb est désormais perdu.

Et un retour au canal initial le fait pas revenir (pour le moment, je vais attendre un peu pour voir) et il va donc falloir en passer par une réinclusion après avoir tout viré dans domoticz vu que le "replace" côté widgets ne fonctionne pas.

Heureusement que je n'ai encore presque rien en zigbee, si j'en avais autant qu'en zwave j'en avais pour le WE à tout remettre d'aplomb, avec des nommages qui correspondent aux scripts derrière et/ou idx, plannings etc mis à jour. :|

J'avais mal mesuré les conséquences d'être en 2.4GHz!

EDIT: Le capteur de vibration est retombé sur ses pattes, mon fils qui rentre l'a fait tilter, ouf! J'avais pourtant tenté un réveil d'un appui court bouton après le changement initial au canal 12 puis le retour au 20, sans effet immédiat (un test vibration => led rouge au lieu de vert sur ce modèle quand la remontée au coordinateur a échoué).

Re: Perte de Prise de temps en temps

Publié : 14 juin 2024, 18:42
par foudepc83
Rebonjour,

Je viens de recevoir le sonoff.

Doit je reinstaller le plugins ?

Parce que :
2024-06-14 18:41:13,854 ERROR : [ZigpyForwarder_16 31675] Coordinator not correctly initialized

dans domoticz j'ai bien déclarer :

Silicon Labs CP210x et dans le bon port

Merci beaucoup !

Re: Perte de Prise de temps en temps

Publié : 14 juin 2024, 20:12
par Keros
Mets-nous tous les logs de démarrage du plugin stp.

Quelle est la version de ton coordinateur sonoff ? P ou E ?

Re: Perte de Prise de temps en temps

Publié : 14 juin 2024, 21:13
par foudepc83
Bon

J'ai avancé ce soir mais j'ai des doutes :

J'ai du utiliser : Coordinator Model:
Texas Instruments ZNP (via zigpy)



et cela fonctionne , étonnant mais peux être il y a raison, je voudrais bien comprendre pourtant

Code : Tout sélectionner

root@domoticz2:~# lsusb
Bus 001 Device 007: ID 1058:25a2 Western Digital Technologies, Inc. Elements 25A2
Bus 001 Device 005: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC
Bus 001 Device 008: ID 0658:0200 Sigma Designs, Inc. Aeotec Z-Stick Gen5 (ZW090) - UZB
Bus 001 Device 009: ID 10c4:ea60 Silicon Labs CP210x UART Bridge
Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 003: ID 0424:ec00 Microchip Technology, Inc. (formerly SMSC) SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Microchip Technology, Inc. (formerly SMSC) SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Il s'agit de la clef sonoff : ZBDongle-P
Firmware: Znp - Z-Stack 3.30+ (build 20210708)

Plugins :
Plugin: 7.1.012 [5.262]

Code : Tout sélectionner

2024-06-14 21:07:58,735 INFO    :b"onDisconnect - Closing Name: 'Zigate Server Connection', Transport: 'TCP/IP', Protocol: 'HTTP', Address: '', Port: '9440', Baud: -1, Timeout: 0, Connected: False, Parent: 'None'"
2024-06-14 21:07:58,883 INFO    :b'onStop called'
2024-06-14 21:08:12,841 INFO    :b'Coordinator backup is available: /data/domoticz/plugins/Domoticz-Zigbee/Data/Coordinator-16.backup'
2024-06-14 21:08:12,852 WARNING :Executing <Task pending name='Task-1' coro=<start_zigpy_task() running at /data/domoticz/plugins/Domoticz-Zigbee/Classes/ZigpyTransport/zigpyThread.py:131> wait_for=<Future pending cb=[Task.task_wakeup()] created at /usr/lib/python3.11/asyncio/base_events.py:427> cb=[_run_until_complete_cb() at /usr/lib/python3.11/asyncio/base_events.py:180] created at /usr/lib/python3.11/asyncio/tasks.py:670> took 0.185 seconds
2024-06-14 21:08:14,891 INFO    :b'Cancelling 0 outstanding tasks'
2024-06-14 21:08:15,899 DEBUG   :Close <_UnixSelectorEventLoop running=False closed=False debug=True>
2024-06-14 21:08:15,999 INFO    :b'Closing Logging Management'
2024-06-14 21:08:25,172 INFO    :b'Z4D starting with stable7-7.1.012'
2024-06-14 21:08:25,187 INFO    :b'Z4D Database found: DeviceList-16.txt'
2024-06-14 21:08:25,187 INFO    :b'Z4D Certified devices database /usr/local/lib/python3.11/dist-packages/z4d_certified_devices/'
2024-06-14 21:08:25,188 INFO    :b'Z4D loads ZCL Cluster definitions'
2024-06-14 21:08:25,324 INFO    :b'Z4D loaded 16 configuration from legacy database.'
2024-06-14 21:08:25,326 INFO    :b'Z4D loads 16 configuration from the local certified Db.'
2024-06-14 21:08:26,208 INFO    :b'Z4D loads 578 Certified devices from repository.'
2024-06-14 21:08:26,209 INFO    :b'Z4D loading database'
2024-06-14 21:08:26,325 INFO    :b'Z4D loads 7 entries from /data/domoticz/plugins/Domoticz-Zigbee/Data/DeviceList-16.txt'
2024-06-14 21:08:26,342 INFO    :b'Z4D configured to use transport mode: ZigpyZNP'
2024-06-14 21:08:29,189 INFO    :b'Z4D starting ZNP'
2024-06-14 21:08:29,190 DEBUG   :Using selector: EpollSelector
2024-06-14 21:08:29,193 INFO    :b'Z4D starts WebUI'
2024-06-14 21:08:29,195 INFO    :b'zigpyThread EventLoop : <_UnixSelectorEventLoop running=False closed=False debug=True>'
2024-06-14 21:08:29,378 INFO    :b'Web backend for Web User Interface started on port: 9440'
2024-06-14 21:08:29,871 INFO    :b'Plugin looks to upgrade the Certified Device package'
2024-06-14 21:08:30,448 INFO    :b'++ Started radio znp port: /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_f2b4206552afed118fbf374e71c9e8b5-if00-port0'
2024-06-14 21:08:30,449 INFO    :b'++ Use of Zigpy Persistent Db'
2024-06-14 21:08:30,593 WARNING :Executing <Task pending name='Task-605' coro=<start_zigpy_task() running at /data/domoticz/plugins/Domoticz-Zigbee/Classes/ZigpyTransport/zigpyThread.py:123> wait_for=<Future pending cb=[Task.task_wakeup()] created at /usr/lib/python3.11/asyncio/base_events.py:427> cb=[_run_until_complete_cb() at /usr/lib/python3.11/asyncio/base_events.py:180] created at /usr/lib/python3.11/asyncio/tasks.py:670> took 1.104 seconds
2024-06-14 21:08:30,991 WARNING :Executing <Task pending name='Task-605' coro=<start_zigpy_task() running at /data/domoticz/plugins/Domoticz-Zigbee/Classes/ZigpyTransport/zigpyThread.py:123> wait_for=<Future pending cb=[_chain_future.<locals>._call_check_cancel() at /usr/lib/python3.11/asyncio/futures.py:387, Task.task_wakeup()] created at /usr/lib/python3.11/asyncio/base_events.py:427> cb=[_run_until_complete_cb() at /usr/lib/python3.11/asyncio/base_events.py:180] created at /usr/lib/python3.11/asyncio/tasks.py:670> took 0.119 seconds
2024-06-14 21:08:33,664 INFO    :b"AppGeneric:initialize auto_form: True force_form: False Class: <class 'Classes.ZigpyTransport.AppZnp.App_znp'> Logger: <Logger Classes.ZigpyTransport.AppGeneric (WARNING)>"
2024-06-14 21:08:39,699 INFO    :b'Certified Device package upgrade results'
2024-06-14 21:08:39,700 INFO    :b'Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple'
2024-06-14 21:08:39,701 INFO    :b'Requirement already satisfied: z4d-certified-devices in /usr/local/lib/python3.11/dist-packages (5.262)'
2024-06-14 21:08:39,701 INFO    :b''
2024-06-14 21:08:39,702 INFO    :b'Z4D Widgets usage is at 8.2% (234 units free)'
2024-06-14 21:08:39,702 INFO    :b'Z4D started with legacy Framework'
2024-06-14 21:08:40,256 INFO    :b'++ ZNP Radio register default Ep'
2024-06-14 21:08:40,286 INFO    :b'++ ZNP Radio register any additional/specific Ep'
2024-06-14 21:08:45,347 INFO    :b"++ ZNP Configuration {'device': {'path': '/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_f2b4206552afed118fbf374e71c9e8b5-if00-port0', 'baudrate': 115200, 'flow_control': None}, 'network': {'channel': 25, 'key_sequence_number': 0, 'update_id': 0, 'channels': <Channels.CHANNEL_11|CHANNEL_15|CHANNEL_20|CHANNEL_25: 34637824>, 'key': None, 'extended_pan_id': None, 'pan_id': None, 'tc_link_key': 5a:69:67:42:65:65:41:6c:6c:69:61:6e:63:65:30:39, 'tc_address': None}, 'znp_config': {'tx_power': 0, 'skip_bootloader': True, 'led_mode': <LEDMode.OFF: 0>, 'connect_dtr_pin_states': [False, False, False], 'connect_rts_pin_states': [False, True, False], 'auto_reconnect_retry_delay': 5, 'prefer_endpoint_1': True, 'sync_request_timeout': 15, 'async_response_timeout': 30, 'max_concurrent_requests': None}, 'ota': {'enabled': False, 'inovelli_provider': True, 'advanced_ota_dir': None, 'remote_providers': [], 'broadcast_enabled': True, 'broadcast_initial_delay': 14040.0, 'thirdreality_provider': True, 'ledvance_provider': True, 'sonoff_provider': True, 'ikea_provider': False, 'salus_provider': True, 'z2m_remote_index': None, 'allow_advanced_ota_dir': False, 'z2m_local_index': None, 'broadcast_interval': 14040.0}, 'source_routing': False, 'topology_scan_enabled': True, 'database_path': ':memory:', 'topology_scan_period': 720, 'backup_enabled': True, 'backup_period': 1, 'additional_endpoints': [], 'validate_network_settings': False, 'watchdog_enabled': True, 'topology_scan_skip_coordinator': False, 'startup_energy_scan': True, 'max_concurrent_requests': 8}"
2024-06-14 21:08:59,033 INFO    :b'++ ZNP Board Information'
2024-06-14 21:08:59,034 INFO    :b'++   Radio manufacturer : Texas Instruments'
2024-06-14 21:08:59,036 INFO    :b'++   Radio board model  : CC2652'
2024-06-14 21:08:59,038 INFO    :b'++   Radio version      : Z-Stack 20210708'
2024-06-14 21:08:59,040 INFO    :b'++ Network settings'
2024-06-14 21:08:59,040 INFO    :b'++   Device IEEE        : 00:12:4b:00:30:cb:fc:77'
2024-06-14 21:08:59,041 INFO    :b'++   Device NWK         : 0x0000'
2024-06-14 21:08:59,041 INFO    :b'++   Network Update Id  : 0x0000'
2024-06-14 21:08:59,042 INFO    :b'++   PAN ID             : 0xA913'
2024-06-14 21:08:59,043 INFO    :b'++   Extended PAN ID    : a1:cc:5a:34:8e:0a:52:f1'
2024-06-14 21:08:59,043 INFO    :b'++   Channel            : 25'
2024-06-14 21:08:59,044 INFO    :b'Number of devices recently active in Coordinator = 4'
2024-06-14 21:08:59,044 INFO    :b'[00] DevID: 00 Network addr: 1e20 IEEE: a4c138006d8a19a0 LQI: 000 power: ff Model: TS011F-plug ( Prise relais ) '
2024-06-14 21:08:59,046 INFO    :b'[01] DevID: 00 Network addr: 1b54 IEEE: a4c13898dfb4f70f LQI: 000 power: ff Model: TS011F-plug ( prise serveur ) '
2024-06-14 21:08:59,048 INFO    :b'[02] DevID: 00 Network addr: ce7d IEEE: a4c1385ec64d93ce LQI: 000 power: ff Model: TS011F-plug ( prise bassin ) '
2024-06-14 21:08:59,049 INFO    :b'[03] DevID: 00 Network addr: 0015 IEEE: 8d0001d666a75854 LQI: 000 power: ff not found in plugin database!'
2024-06-14 21:08:59,052 INFO    :b'CC1352/CC2652, Z-Stack 3.30+ (znp)'
2024-06-14 21:08:59,053 INFO    :b'Installer Version Number: Z-Stack 3.30+ (build 20210708)'
2024-06-14 21:08:59,054 INFO    :b'Branch Version: ==> CC1352/CC2652, Z-Stack 3.30+ (znp) <=='
2024-06-14 21:08:59,083 INFO    :b'Zigbee Coordinator ieee: 00124b0030cbfc77 , short addr: 0000'
2024-06-14 21:08:59,084 INFO    :b'Network state UP, PANID: a913 extPANID: 0xa1cc5a348e0a52f1 Channel: 25'
2024-06-14 21:09:04,632 INFO    :b'UpdateDevice - (Zibee - Capteur Cuisine) 1:On'
2024-06-14 21:09:05,920 INFO    :b'UpdateDevice - (Zibee - Capteur Salon) 1:On'
2024-06-14 21:09:06,195 INFO    :b'UpdateDevice - (Zibee - Motion-00158d0001d666a7-01) 1:On'
2024-06-14 21:09:08,106 INFO    :b'Z4D closed the Zigbee network'
2024-06-14 21:09:08,200 INFO    :b'++ opening zigbee network for 0 secondes on specific router None'
2024-06-14 21:09:08,246 INFO    :b'Accepting new Hardware: Disable (Off)'
2024-06-14 21:09:13,072 INFO    :b'Switch Blue Led On'
2024-06-14 21:09:13,074 INFO    :b'Z4D coordinator set to Certification : 1/CE -> CE'
2024-06-14 21:09:13,075 INFO    :b'Z4D starts Configure Reporting handling'
2024-06-14 21:09:13,077 INFO    :b'Z4D starts Over-The-Air Management'
2024-06-14 21:09:14,590 INFO    :b'Z4D loads the firmware images'
2024-06-14 21:09:14,590 INFO    :b'Z4D with Zigpy, coordinator CC1352/CC2652, Z-Stack 3.30+ (znp), firmware Z-Stack 3.30+ (build 20210708) communication confirmed.'

2024-06-14 21:09:42,476 INFO    :b'UpdateDevice - (Zibee - Motion-00158d0001d666a7-01) 1:On'
2024-06-14 21:09:42,882 INFO    :b'UpdateDevice - (Zibee - Capteur Salon) 1:On'
2024-06-14 21:09:50,230 INFO    :b'UpdateDevice - (Zibee - Motion-00158d0001d666a7-01) 1:On'
2024-06-14 21:09:52,747 INFO    :b'UpdateDevice - (Zibee - Capteur Salon) 1:On'
2024-06-14 21:09:55,604 INFO    :b'UpdateDevice - (Zibee - Motion-00158d0001d666a7-01) 1:On'

J'ai un appairage bizare sur mes xiaomi aqara ( Non optimisé sur un )
Mais je verrais ca plus tard.

Je contrôle la stabilité des prises.

Re: Perte de Prise de temps en temps

Publié : 14 juin 2024, 22:01
par Keros
La puce indiquée est celle de l'USB et non du module ZigBee.

Tu as un modèle P donc c'est bien avec Texas Instruments ZNP (via zigpy) que cela fonctionne.

Re: Perte de Prise de temps en temps

Publié : 15 juin 2024, 08:33
par foudepc83
Merci beaucoup !

Ce matin je me suis reveillé avec angoisse !

Je regarde domoticz et je vois une belle courbe qui a duré toute la nuit sans coupure.

De temps en temps j'ai un genre de message :

Code : Tout sélectionner

024-06-15 08:22:48,836 INFO    :b'rawaps_read_attribute_req a4:c1:38:5e:c6:4d:93:ce/0xce7d 0x260 0x2820:16 Ack: True RETRY: 1/1 (Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>)'
2024-06-15 08:22:48,889 INFO    :b'Receive NACK from prise bassin (ce7d) clusterId:  Status: e9'
Je pense que c'est normal parce que celui ci est un peu éloigné


On va attendre un peu
Merci beaucoup