Page 1 sur 2

[Résolu] Ne démarre plus depuis MAJ Plugin: 6.4.002

Publié : 20 oct. 2022, 10:50
par dranreb38
hello,
Tentative de mise à jour du Plugin 6.2.173 -> 6.4.002 en echec, la Zigate ne se lance plus. Je précise déjà en version 6 depuis plusieurs mois. Dans les log j'ai ce type de message :

Code : Tout sélectionner

 I have hard time to get Coordinator Version. Mostlikly there is a communication issue
Le module web de la PiZigate (9440) ne reste pas actif plus de 5 minutes..

Code : Tout sélectionner

Object {"Time":"20/10/2022 10:33:27","Module":"Plugin","nwkid":"None","PluginHealth":"Startup","message":"[ 90] I have hard time to get Coordinator Version. Mostlikly there is a communication issue","PermitToJoin":{"Duration":0,"Starttime":0},"Thread":"MainThread"}
LastLog: 2
StartTime: "20/10/2022 10:31:57"
FirmwareVersion: null
FirmwareMajorVersion: null
PluginVersion: Array[1] ["beta6-6.4.002"]
LastLog: 4
Tentative de refaire un update via la commande "git pull --recurse-submodule" idem.

Re: Ne démarre plus depuis MAJ Plugin: 6.4.002

Publié : 20 oct. 2022, 12:50
par Keros
Tu peux nous mettre tous les logs du démarrage du plugin stp ?

Re: Ne démarre plus depuis MAJ Plugin: 6.4.002

Publié : 20 oct. 2022, 13:12
par pipiche
As tu regardé les logs DomoticZ?
As tu vérifié que tous les champs étaient correctement renseignés dans le menu hardware DomoticZ pour le plug-in ?

Re: Ne démarre plus depuis MAJ Plugin: 6.4.002

Publié : 21 oct. 2022, 12:40
par dranreb38
Voici le log du PluginZigbee

Code : Tout sélectionner

2022-10-21 12:08:11,155 INFO    : [     MainThread 0] Zigbee for Domoticz (z4d) plugin stable6-6.3.002 started
2022-10-21 12:08:11,192 INFO    : [     MainThread 0] Plugin Database: DeviceList-3.txt
2022-10-21 12:08:11,201 INFO    : [     MainThread 0] DeviceConf loaded - 22 confs loaded
2022-10-21 12:08:11,691 INFO    : [     MainThread 0] DeviceConf loaded - 365 confs loaded
2022-10-21 12:08:11,692 INFO    : [     MainThread 0] load ListOfDevice
2022-10-21 12:08:12,181 INFO    : [     MainThread 0] 25 Entries loaded from /home/pi/domoticz/plugins/Domoticz-Zigate/Data/DeviceList-3.txt
2022-10-21 12:08:12,320 INFO    : [     MainThread 0] Transport mode: V2-DIN
2022-10-21 12:08:12,869 INFO    : [     MainThread 0] ZigateTransport: Serial Connection open: Serial<id=0x63f4eeb0, open=True>(port='/dev/ttyAMA0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=None, xonxoff=False, rtscts=False, dsrdtr=False)
2022-10-21 12:08:12,878 INFO    : [ ZiGateWriter_3 0] ZigateTransport: writer_thread Thread start.
2022-10-21 12:08:12,880 INFO    : [ZiGateForwarder_3 0] ZigateTransport: thread_processing_and_sending Thread start.
2022-10-21 12:08:12,885 INFO    : [     MainThread 0] Connection open: Serial<id=0x63f4eeb0, open=True>(port='/dev/ttyAMA0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=None, xonxoff=False, rtscts=False, dsrdtr=False)
2022-10-21 12:08:12,887 INFO    : [     MainThread 0] Start Web Server connection
2022-10-21 12:08:12,926 INFO    : [     MainThread 0] Web backend for Web User Interface started on port: 9440
2022-10-21 12:08:12,928 INFO    : [     MainThread 0] Domoticz Widgets usage is at 30.2 % (178 units free)
2022-10-21 12:09:21,058 ERROR   : [       MainThread] [ 70] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2022-10-21 12:09:31,090 ERROR   : [       MainThread] [ 80] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2022-10-21 12:09:41,095 ERROR   : [       MainThread] [ 90] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2022-10-21 12:09:51,053 ERROR   : [       MainThread] [100] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2022-10-21 12:10:01,101 ERROR   : [       MainThread] [110] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2022-10-21 12:10:11,104 ERROR   : [       MainThread] [120] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2022-10-21 12:10:12,078 INFO    : [     MainThread 0] Is GC enabled: True
2022-10-21 12:10:12,084 INFO    : [     MainThread 0] DomoticzVersion: 2022.1
2022-10-21 12:10:12,095 INFO    : [     MainThread 0] Parameters[HardwareID] 3
2022-10-21 12:10:12,100 INFO    : [     MainThread 0] Parameters[HomeFolder] /home/pi/domoticz/plugins/Domoticz-Zigate/
2022-10-21 12:10:12,102 INFO    : [     MainThread 0] Parameters[StartupFolder] /home/pi/domoticz/
2022-10-21 12:10:12,103 INFO    : [     MainThread 0] Parameters[UserDataFolder] /home/pi/domoticz/
2022-10-21 12:10:12,105 INFO    : [     MainThread 0] Parameters[WebRoot] 
2022-10-21 12:10:12,106 INFO    : [     MainThread 0] Parameters[Database] /home/pi/domoticz/domoticz.db
2022-10-21 12:10:12,107 INFO    : [     MainThread 0] Parameters[Language] fr
2022-10-21 12:10:12,108 INFO    : [     MainThread 0] Parameters[Version] 6.3
2022-10-21 12:10:12,110 INFO    : [     MainThread 0] Parameters[Author] pipiche38
2022-10-21 12:10:12,111 INFO    : [     MainThread 0] Parameters[Name] PiziGate
2022-10-21 12:10:12,113 INFO    : [     MainThread 0] Parameters[Address] 0.0.0.0
2022-10-21 12:10:12,115 INFO    : [     MainThread 0] Parameters[Port] 9999
2022-10-21 12:10:12,116 INFO    : [     MainThread 0] Parameters[SerialPort] /dev/ttyAMA0
2022-10-21 12:10:12,118 INFO    : [     MainThread 0] Parameters[Username] 
2022-10-21 12:10:12,119 INFO    : [     MainThread 0] Parameters[Password] 
2022-10-21 12:10:12,120 INFO    : [     MainThread 0] Parameters[Key] Zigate
2022-10-21 12:10:12,121 INFO    : [     MainThread 0] Parameters[Mode1] V2
2022-10-21 12:10:12,122 INFO    : [     MainThread 0] Parameters[Mode2] DIN
2022-10-21 12:10:12,123 INFO    : [     MainThread 0] Parameters[Mode3] False
2022-10-21 12:10:12,123 INFO    : [     MainThread 0] Parameters[Mode4] 9440
2022-10-21 12:10:12,124 INFO    : [     MainThread 0] Parameters[Mode5] http://127.0.0.1:8080
2022-10-21 12:10:12,125 INFO    : [     MainThread 0] Parameters[Mode6] 2
2022-10-21 12:10:12,126 INFO    : [     MainThread 0] Parameters[DomoticzVersion] 2022.1
2022-10-21 12:10:12,127 INFO    : [     MainThread 0] Parameters[DomoticzHash] c9526851b
2022-10-21 12:10:12,127 INFO    : [     MainThread 0] Parameters[DomoticzBuildTime] 2022-01-31 09:34:32
2022-10-21 12:10:12,128 INFO    : [     MainThread 0] Parameters[PluginBranch] stable6
2022-10-21 12:10:12,129 INFO    : [     MainThread 0] Parameters[PluginVersion] 6.3.002
2022-10-21 12:10:12,130 INFO    : [     MainThread 0] Parameters[TimeStamp] 0
2022-10-21 12:10:12,130 INFO    : [     MainThread 0] Parameters[available] None
2022-10-21 12:10:12,131 INFO    : [     MainThread 0] Parameters[available-firmMajor] None
2022-10-21 12:10:12,132 INFO    : [     MainThread 0] Parameters[available-firmMinor] None
2022-10-21 12:10:12,132 INFO    : [     MainThread 0] Parameters[FirmwareVersion] None
2022-10-21 12:10:12,133 INFO    : [     MainThread 0] Parameters[FirmwareUpdate] None
2022-10-21 12:10:12,134 INFO    : [     MainThread 0] Parameters[PluginUpdate] None
2022-10-21 12:10:12,135 INFO    : [     MainThread 0] Parameters[LogLevel] 7
2022-10-21 12:10:12,136 INFO    : [     MainThread 0] Parameters[Zigpy] False
2022-10-21 12:10:12,137 INFO    : [     MainThread 0] Debug: 2
2022-10-21 12:10:12,138 INFO    : [     MainThread 0] Python Version - 3.7.3 (default, Jan 22 2021, 20:04:44) 
[GCC 8.3.0]
2022-10-21 12:10:12,139 INFO    : [     MainThread 0] DomoticzVersion: 2022.1
2022-10-21 12:10:12,140 INFO    : [     MainThread 0] DomoticzHash: c9526851b
2022-10-21 12:10:12,141 INFO    : [     MainThread 0] DomoticzBuildTime: 2022-01-31 09:34:32
2022-10-21 12:10:12,142 INFO    : [     MainThread 0] Startup Folder: /home/pi/domoticz/
2022-10-21 12:10:12,143 INFO    : [     MainThread 0] Home Folder: /home/pi/domoticz/plugins/Domoticz-Zigate/
2022-10-21 12:10:12,144 INFO    : [     MainThread 0] User Data Folder: /home/pi/domoticz/
2022-10-21 12:10:12,144 INFO    : [     MainThread 0] Web Root Folder: 
2022-10-21 12:10:12,145 INFO    : [     MainThread 0] Database: /home/pi/domoticz/domoticz.db
2022-10-21 12:10:12,146 INFO    : [     MainThread 0] Opening DomoticzDB in raw
2022-10-21 12:10:12,147 INFO    : [     MainThread 0]    - DeviceStatus table
2022-10-21 12:10:12,148 ERROR   : [       MainThread] [   ] Stopping the plugin and lease do check the Coordinator connectivity.
2022-10-21 12:10:12,187 INFO    : [     MainThread 0] onDisconnect - Closing Name: 'Zigate Server Connection', Transport: 'TCP/IP', Protocol: 'HTTP', Address: '', Port: '9440', Baud: -1, Timeout: 0, Connected: False, Parent: 'None'
2022-10-21 12:10:12,190 INFO    : [     MainThread 0] onStop called
2022-10-21 12:10:12,191 INFO    : [     MainThread 0] onStop calling (1) domoticzDb DeviceStatus closed
2022-10-21 12:10:12,192 INFO    : [     MainThread 0] onStop calling (3) Transport off
2022-10-21 12:10:12,193 INFO    : [     MainThread 0] Request closing connection: Serial<id=0x63f4eeb0, open=True>(port='/dev/ttyAMA0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=None, xonxoff=False, rtscts=False, dsrdtr=False)
2022-10-21 12:10:12,193 INFO    : [     MainThread 0] -- shutdown reader thread
2022-10-21 12:10:12,194 INFO    : [     MainThread 0] Flush and cancel_read
2022-10-21 12:10:12,195 INFO    : [     MainThread 0] close connection
2022-10-21 12:10:12,220 INFO    : [ ZiGateSerial_3 0] ZigateTransport: ZiGateSerialListen Thread stop.
2022-10-21 12:10:12,221 INFO    : [ZiGateForwarder_3 0] ZigateTransport: thread_processing_and_sending Thread stop.
2022-10-21 12:10:13,195 INFO    : [     MainThread 0] -- waiting for end of thread
2022-10-21 12:10:13,196 INFO    : [     MainThread 0] waiting_for_end_thread - release semaphore
2022-10-21 12:10:13,197 INFO    : [     MainThread 0] waiting_for_end_thread - wait for readThread
2022-10-21 12:10:13,197 INFO    : [     MainThread 0] waiting_for_end_thread - readThread done
2022-10-21 12:10:13,197 INFO    : [     MainThread 0] waiting_for_end_thread - wait for forwardedThread
2022-10-21 12:10:13,198 INFO    : [     MainThread 0] waiting_for_end_thread - forwardedThread done
2022-10-21 12:10:13,198 INFO    : [     MainThread 0] waiting_for_end_thread - wait for writerThread
2022-10-21 12:10:13,574 INFO    : [ ZiGateWriter_3 0] ZigateTransport: writer_thread Thread stop.
2022-10-21 12:10:13,576 INFO    : [     MainThread 0] waiting_for_end_thread - writerThread done
2022-10-21 12:10:13,577 INFO    : [     MainThread 0] -- thread endeed
2022-10-21 12:10:13,585 INFO    : [     MainThread 0] onStop calling (4) WebServer off
2022-10-21 12:10:13,592 INFO    : [     MainThread 0] onStop called (4) WebServer off
2022-10-21 12:10:13,600 INFO    : [     MainThread 0] onStop calling (5) Plugin Database saved
2022-10-21 12:10:13,986 INFO    : [     MainThread 0] onStop called (5) Plugin Database saved
2022-10-21 12:10:13,993 INFO    : [     MainThread 0] onStop calling (6) Close Logging Management
Log domoticz.log

Code : Tout sélectionner

root@domoticz:~# tail -f /var/log/domoticz.log | grep PiziGate
2022-10-21 12:43:48.215  Status: PiziGate: Entering work loop.
2022-10-21 12:43:48.215  PiziGate: Worker thread started.
2022-10-21 12:43:48.216  Status: PiziGate: Started.
2022-10-21 12:43:49.650  Status: PiziGate: Initialized version 6.3, author 'pipiche38'
2022-10-21 12:43:49.684  PiziGate: Zigbee for Domoticz plugin started!
2022-10-21 12:43:49.684  Status: PiziGate: Checking Python modules /home/pi/domoticz/plugins/Domoticz-Zigate/requirements.txt
2022-10-21 12:43:50.981  Status: PiziGate: Checking Python modules /home/pi/domoticz/plugins/Domoticz-Zigate/requirements.txt
2022-10-21 12:43:51.110  PiziGate: load PluginConf
2022-10-21 12:43:51.111  PiziGate: Loading PluginConf -  into Domoticz sqlite Db
2022-10-21 12:43:51.112  PiziGate: /home/pi/domoticz/plugins/Domoticz-Zigate/Conf/PluginConf-03.json timestamp is 1655111153.6413975
2022-10-21 12:43:51.112  PiziGate: Dz PluginConf is older than Json Dz: 0 Json: 1655111153.6413975
2022-10-21 12:43:51.113  Status: PiziGate: PluginAnalytics set to 1
2022-10-21 12:43:51.114  Status: PiziGate: channel set to 11
2022-10-21 12:43:51.114  Status: PiziGate: filename set to /home/pi/domoticz/plugins/Domoticz-Zigate/Conf/PluginConf-03.json
2022-10-21 12:43:51.114  Status: PiziGate: pluginHome set to /home/pi/domoticz/plugins/Domoticz-Zigate/
2022-10-21 12:43:51.114  Status: PiziGate: homedirectory set to /home/pi/domoticz/plugins/Domoticz-Zigate/
2022-10-21 12:43:51.114  Status: PiziGate: pluginData set to /home/pi/domoticz/plugins/Domoticz-Zigate/Data/
2022-10-21 12:43:51.114  Status: PiziGate: pluginConfig set to /home/pi/domoticz/plugins/Domoticz-Zigate/Conf/
2022-10-21 12:43:51.114  Status: PiziGate: pluginOTAFirmware set to /home/pi/domoticz/plugins/Domoticz-Zigate/OTAFirmware/
2022-10-21 12:43:51.114  Status: PiziGate: pluginReports set to /home/pi/domoticz/plugins/Domoticz-Zigate/Reports/
2022-10-21 12:43:51.114  Status: PiziGate: pluginWWW set to /home/pi/domoticz/plugins/Domoticz-Zigate/www/
2022-10-21 12:43:51.114  Status: PiziGate: pluginLogs set to /home/pi/domoticz/plugins/Domoticz-Zigate/Logs/
2022-10-21 12:43:51.114  Status: PiziGate: loggingMaxMegaBytes set to 10
2022-10-21 12:43:51.115  PiziGate: Installing plugin custom page /home/pi/domoticz/www/templates/PiziGate.html
2022-10-21 12:43:51.115  PiziGate: Starting LoggingManagement thread
2022-10-21 12:43:51.117  PiziGate: start_logging_thread
2022-10-21 12:43:51.118  PiziGate: logging_thread - listening
2022-10-21 12:43:51.120  Status: PiziGate: Please watch plugin log into /home/pi/domoticz/plugins/Domoticz-Zigate/Logs//PluginZigbee_03.log
2022-10-21 12:43:51.135  Status: PiziGate: Zigbee for Domoticz (z4d) plugin stable6-6.3.002 started
2022-10-21 12:43:51.167  Status: PiziGate: DeviceConf loaded - 22 confs loaded
2022-10-21 12:43:51.430  Status: PiziGate: DeviceConf loaded - 365 confs loaded
2022-10-21 12:43:51.431  Status: PiziGate: load ListOfDevice
2022-10-21 12:43:51.949  Status: PiziGate: 25 Entries loaded from /home/pi/domoticz/plugins/Domoticz-Zigate/Data/DeviceList-3.txt
2022-10-21 12:43:52.098  Status: PiziGate: Transport mode: V2-DIN
2022-10-21 12:43:52.633  Status: PiziGate: ZigateTransport: Serial Connection open: Serial<id=0x6474eb70, open=True>(port='/dev/ttyAMA0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=None, xonxoff=False, rtscts=False, dsrdtr=False)
2022-10-21 12:43:52.641  Status: PiziGate: ZigateTransport: writer_thread Thread start.
2022-10-21 12:43:52.643  Status: PiziGate: ZigateTransport: thread_processing_and_sending Thread start.
2022-10-21 12:43:52.652  Status: PiziGate: Start Web Server connection
2022-10-21 12:43:52.673  Status: PiziGate: Web backend for Web User Interface started on port: 9440
2022-10-21 12:43:52.674  Status: PiziGate: Domoticz Widgets usage is at 30.2 % (178 units free)
2022-10-21 12:45:01.101  Error: PiziGate: [ 70] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2022-10-21 12:45:11.092  Error: PiziGate: [ 80] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
root@domoticz:~# tail -f /var/log/domoticz.log | grep PiziGate
2022-10-21 12:43:48.215  Status: PiziGate: Entering work loop.
2022-10-21 12:43:48.215  PiziGate: Worker thread started.
2022-10-21 12:43:48.216  Status: PiziGate: Started.
2022-10-21 12:43:49.650  Status: PiziGate: Initialized version 6.3, author 'pipiche38'
2022-10-21 12:43:49.684  PiziGate: Zigbee for Domoticz plugin started!
2022-10-21 12:43:49.684  Status: PiziGate: Checking Python modules /home/pi/domoticz/plugins/Domoticz-Zigate/requirements.txt
2022-10-21 12:43:50.981  Status: PiziGate: Checking Python modules /home/pi/domoticz/plugins/Domoticz-Zigate/requirements.txt
2022-10-21 12:43:51.110  PiziGate: load PluginConf
2022-10-21 12:43:51.111  PiziGate: Loading PluginConf -  into Domoticz sqlite Db
2022-10-21 12:43:51.112  PiziGate: /home/pi/domoticz/plugins/Domoticz-Zigate/Conf/PluginConf-03.json timestamp is 1655111153.6413975
2022-10-21 12:43:51.112  PiziGate: Dz PluginConf is older than Json Dz: 0 Json: 1655111153.6413975
2022-10-21 12:43:51.113  Status: PiziGate: PluginAnalytics set to 1
2022-10-21 12:43:51.114  Status: PiziGate: channel set to 11
2022-10-21 12:43:51.114  Status: PiziGate: filename set to /home/pi/domoticz/plugins/Domoticz-Zigate/Conf/PluginConf-03.json
2022-10-21 12:43:51.114  Status: PiziGate: pluginHome set to /home/pi/domoticz/plugins/Domoticz-Zigate/
2022-10-21 12:43:51.114  Status: PiziGate: homedirectory set to /home/pi/domoticz/plugins/Domoticz-Zigate/
2022-10-21 12:43:51.114  Status: PiziGate: pluginData set to /home/pi/domoticz/plugins/Domoticz-Zigate/Data/
2022-10-21 12:43:51.114  Status: PiziGate: pluginConfig set to /home/pi/domoticz/plugins/Domoticz-Zigate/Conf/
2022-10-21 12:43:51.114  Status: PiziGate: pluginOTAFirmware set to /home/pi/domoticz/plugins/Domoticz-Zigate/OTAFirmware/
2022-10-21 12:43:51.114  Status: PiziGate: pluginReports set to /home/pi/domoticz/plugins/Domoticz-Zigate/Reports/
2022-10-21 12:43:51.114  Status: PiziGate: pluginWWW set to /home/pi/domoticz/plugins/Domoticz-Zigate/www/
2022-10-21 12:43:51.114  Status: PiziGate: pluginLogs set to /home/pi/domoticz/plugins/Domoticz-Zigate/Logs/
2022-10-21 12:43:51.114  Status: PiziGate: loggingMaxMegaBytes set to 10
2022-10-21 12:43:51.115  PiziGate: Installing plugin custom page /home/pi/domoticz/www/templates/PiziGate.html
2022-10-21 12:43:51.115  PiziGate: Starting LoggingManagement thread
2022-10-21 12:43:51.117  PiziGate: start_logging_thread
2022-10-21 12:43:51.118  PiziGate: logging_thread - listening
2022-10-21 12:43:51.120  Status: PiziGate: Please watch plugin log into /home/pi/domoticz/plugins/Domoticz-Zigate/Logs//PluginZigbee_03.log
2022-10-21 12:43:51.135  Status: PiziGate: Zigbee for Domoticz (z4d) plugin stable6-6.3.002 started
2022-10-21 12:43:51.167  Status: PiziGate: DeviceConf loaded - 22 confs loaded
2022-10-21 12:43:51.430  Status: PiziGate: DeviceConf loaded - 365 confs loaded
2022-10-21 12:43:51.431  Status: PiziGate: load ListOfDevice
2022-10-21 12:43:51.949  Status: PiziGate: 25 Entries loaded from /home/pi/domoticz/plugins/Domoticz-Zigate/Data/DeviceList-3.txt
2022-10-21 12:43:52.098  Status: PiziGate: Transport mode: V2-DIN
2022-10-21 12:43:52.633  Status: PiziGate: ZigateTransport: Serial Connection open: Serial<id=0x6474eb70, open=True>(port='/dev/ttyAMA0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=None, xonxoff=False, rtscts=False, dsrdtr=False)
2022-10-21 12:43:52.641  Status: PiziGate: ZigateTransport: writer_thread Thread start.
2022-10-21 12:43:52.643  Status: PiziGate: ZigateTransport: thread_processing_and_sending Thread start.
2022-10-21 12:43:52.652  Status: PiziGate: Start Web Server connection
2022-10-21 12:43:52.673  Status: PiziGate: Web backend for Web User Interface started on port: 9440
2022-10-21 12:43:52.674  Status: PiziGate: Domoticz Widgets usage is at 30.2 % (178 units free)
2022-10-21 12:45:01.101  Error: PiziGate: [ 70] I have hard time to get Coordinator Version. Mostlikly there is a communication issue

2022-10-21 12:45:21.082  Error: PiziGate: [ 90] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2022-10-21 12:45:31.096  Error: PiziGate: [100] I have hard time to get Coordinator Version. Mostlikly there is a communication issue

Je n'avais pas remarqué que j'avais basculé sur la version béta, un retour en version (stable6-6.3.002) c'est idem.
Voici la configuration du plugin

Re: Ne démarre plus depuis MAJ Plugin: 6.4.002

Publié : 21 oct. 2022, 12:44
par pipiche
tu es certain du port ?
Il s'agit d'une DIN Zigate ? pas une ZigateV2 USB ?

Re: Ne démarre plus depuis MAJ Plugin: 6.4.002

Publié : 21 oct. 2022, 12:56
par dranreb38
Oui Pipiche c'est bien le module Pizigate DIN (v2) et non USB

Je remarque dans l'interface web (9440) l'absence de version du firmware :?:

Re: Ne démarre plus depuis MAJ Plugin: 6.4.002

Publié : 21 oct. 2022, 13:02
par pipiche
et le port, tu es certain de /dev/ttyAMA0 ?

peux-tu faire la commande

Code : Tout sélectionner

dmesg | grep tty 

Re: Ne démarre plus depuis MAJ Plugin: 6.4.002

Publié : 21 oct. 2022, 13:07
par dranreb38

Code : Tout sélectionner

root@domoticz:~# dmesg | grep tty
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=tty1 root=PARTUUID=f0d9307f-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
[    0.001168] printk: console [tty1] enabled
[    3.092199] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 114, base_baud = 0) is a PL011 rev2
[   22.572557] usb 1-1.1.2: FTDI USB Serial Device converter now attached to ttyUSB0
[   23.025604] usb 1-1.1.3: pl2303 converter now attached to ttyUSB1
root@domoticz:~#



Re: Ne démarre plus depuis MAJ Plugin: 6.4.002

Publié : 21 oct. 2022, 13:09
par pipiche
peux-tu essayer /dev/ttyUSB0

Re: Ne démarre plus depuis MAJ Plugin: 6.4.002

Publié : 21 oct. 2022, 17:27
par dranreb38
Test effectué mais c'est idem !
Pour info le /dev/ttyUSB0 correspond à mon SSD sur le port USB.
J'ai enlevé les autres périphériques sur les ports USB voici le résultat de la commande

Code : Tout sélectionner

dmesg | grep tty

Code : Tout sélectionner

[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=tty1 root=PARTUUID=f0d9307f-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
[    0.001169] printk: console [tty1] enabled
[    3.094665] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 114, base_baud = 0) is a PL011 rev2
[   22.601791] usb 1-1.1.2: FTDI USB Serial Device converter now attached to ttyUSB0

Code : Tout sélectionner

root@domoticz:~# tail -f /var/log/domoticz.log | grep PiziGate
2022-10-21 17:37:13.395  Status: PiziGate: Entering work loop.
2022-10-21 17:37:13.396  PiziGate: Worker thread started.
2022-10-21 17:37:13.396  Status: PiziGate: Started.
2022-10-21 17:37:14.841  Status: PiziGate: Initialized version 6.3, author 'pipiche38'
2022-10-21 17:37:14.876  PiziGate: Zigbee for Domoticz plugin started!
2022-10-21 17:37:14.876  Status: PiziGate: Checking Python modules /home/pi/domoticz/plugins/Domoticz-Zigate/requirements.txt
2022-10-21 17:37:16.196  Status: PiziGate: Checking Python modules /home/pi/domoticz/plugins/Domoticz-Zigate/requirements.txt
2022-10-21 17:37:16.325  PiziGate: load PluginConf
2022-10-21 17:37:16.327  PiziGate: Loading PluginConf -  into Domoticz sqlite Db
2022-10-21 17:37:16.327  PiziGate: /home/pi/domoticz/plugins/Domoticz-Zigate/Conf/PluginConf-03.json timestamp is 1655111153.6413975
2022-10-21 17:37:16.327  PiziGate: Dz PluginConf is older than Json Dz: 0 Json: 1655111153.6413975
2022-10-21 17:37:16.329  Status: PiziGate: PluginAnalytics set to 1
2022-10-21 17:37:16.329  Status: PiziGate: channel set to 11
2022-10-21 17:37:16.329  Status: PiziGate: filename set to /home/pi/domoticz/plugins/Domoticz-Zigate/Conf/PluginConf-03.json
2022-10-21 17:37:16.329  Status: PiziGate: pluginHome set to /home/pi/domoticz/plugins/Domoticz-Zigate/
2022-10-21 17:37:16.329  Status: PiziGate: homedirectory set to /home/pi/domoticz/plugins/Domoticz-Zigate/
2022-10-21 17:37:16.329  Status: PiziGate: pluginData set to /home/pi/domoticz/plugins/Domoticz-Zigate/Data/
2022-10-21 17:37:16.329  Status: PiziGate: pluginConfig set to /home/pi/domoticz/plugins/Domoticz-Zigate/Conf/
2022-10-21 17:37:16.329  Status: PiziGate: pluginOTAFirmware set to /home/pi/domoticz/plugins/Domoticz-Zigate/OTAFirmware/
2022-10-21 17:37:16.329  Status: PiziGate: pluginReports set to /home/pi/domoticz/plugins/Domoticz-Zigate/Reports/
2022-10-21 17:37:16.329  Status: PiziGate: pluginWWW set to /home/pi/domoticz/plugins/Domoticz-Zigate/www/
2022-10-21 17:37:16.329  Status: PiziGate: pluginLogs set to /home/pi/domoticz/plugins/Domoticz-Zigate/Logs/
2022-10-21 17:37:16.330  Status: PiziGate: loggingMaxMegaBytes set to 10
2022-10-21 17:37:16.330  PiziGate: Installing plugin custom page /home/pi/domoticz/www/templates/PiziGate.html
2022-10-21 17:37:16.331  PiziGate: Starting LoggingManagement thread
2022-10-21 17:37:16.333  PiziGate: start_logging_thread
2022-10-21 17:37:16.333  PiziGate: logging_thread - listening
2022-10-21 17:37:16.334  Status: PiziGate: Please watch plugin log into /home/pi/domoticz/plugins/Domoticz-Zigate/Logs//PluginZigbee_03.log
2022-10-21 17:37:16.348  Status: PiziGate: Zigbee for Domoticz (z4d) plugin stable6-6.3.002 started
2022-10-21 17:37:16.382  Status: PiziGate: DeviceConf loaded - 22 confs loaded
2022-10-21 17:37:16.653  Status: PiziGate: DeviceConf loaded - 365 confs loaded
2022-10-21 17:37:16.654  Status: PiziGate: load ListOfDevice
2022-10-21 17:37:17.149  Status: PiziGate: 25 Entries loaded from /home/pi/domoticz/plugins/Domoticz-Zigate/Data/DeviceList-3.txt
2022-10-21 17:37:17.286  Status: PiziGate: Transport mode: V2-DIN
2022-10-21 17:37:17.821  Status: PiziGate: ZigateTransport: Serial Connection open: Serial<id=0x65723750, open=True>(port='/dev/ttyAMA0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=None, xonxoff=False, rtscts=False, dsrdtr=False)
2022-10-21 17:37:17.826  Status: PiziGate: ZigateTransport: writer_thread Thread start.
2022-10-21 17:37:17.830  Status: PiziGate: ZigateTransport: thread_processing_and_sending Thread start.
2022-10-21 17:37:17.838  Status: PiziGate: Start Web Server connection
2022-10-21 17:37:17.862  Status: PiziGate: Web backend for Web User Interface started on port: 9440
2022-10-21 17:37:17.864  Status: PiziGate: Domoticz Widgets usage is at 30.2 % (178 units free)
2022-10-21 17:38:26.081  Error: PiziGate: [ 70] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2022-10-21 17:38:36.097  Error: PiziGate: [ 80] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2022-10-21 17:38:46.064  Error: PiziGate: [ 90] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2022-10-21 17:38:56.075  Error: PiziGate: [100] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2022-10-21 17:39:06.085  Error: PiziGate: [110] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2022-10-21 17:39:16.093  Error: PiziGate: [120] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2022-10-21 17:39:17.079  PiziGate: URL INFOS {'type': 'command', 'param': 'updatehardware', 'htype': '94', 'idx': 3, 'name': 'PiziGate', 'address': '0.0.0.0', 'port': '9999', 'serialport': '/dev/ttyAMA0', 'Mode1': 'V2', 'Mode2': 'DIN', 'Mode3': 'False', 'Mode4': '9440', 'Mode5': 'http://127.0.0.1:8080', 'Mode6': '2', 'extra': 'Zigate', 'enabled': 'false', 'datatimeout': '0', 'loglevel': 7}
2022-10-21 17:39:17.083  Status: PiziGate: Plugin Restart command : http://127.0.0.1:8080/json.htm?type=command&param=updatehardware&htype=94&idx=3&name=PiziGate&address=0.0.0.0&port=9999&serialport=%2Fdev%2FttyAMA0&Mode1=V2&Mode2=DIN&Mode3=False&Mode4=9440&Mode5=http%3A%2F%2F127.0.0.1%3A8080&Mode6=2&extra=Zigate&enabled=false&datatimeout=0&loglevel=7
2022-10-21 17:39:17.148  Error: PiziGate: [   ] Stopping the plugin and lease do check the Coordinator connectivity.
2022-10-21 17:39:17.168  Status: PiziGate: Stop directive received.
2022-10-21 17:39:17.170  PiziGate: onStop()
2022-10-21 17:39:17.176  PiziGate: Connection closed
2022-10-21 17:39:17.217  Status: PiziGate: ZigateTransport: ZiGateSerialListen Thread stop.
2022-10-21 17:39:17.218  Status: PiziGate: ZigateTransport: thread_processing_and_sending Thread stop.
2022-10-21 17:39:18.595  Status: PiziGate: ZigateTransport: writer_thread Thread stop.
2022-10-21 17:39:18.999  PiziGate: logging_thread - ended
2022-10-21 17:39:19.007  PiziGate: Logging Thread shutdown
2022-10-21 17:39:19.007  PiziGate: onStop called (6) Close Logging Management
2022-10-21 17:39:19.226  Status: PiziGate: Exiting work loop.
2022-10-21 17:39:19.289  Status: PiziGate: Stopping threads.
2022-10-21 17:39:19.289  Status: PiziGate: Stopped.