Voici le Wiki du concepteur de la ZiGate à ma connaissance c'est basé sur du matériel qu'il a , donc ca doit fonctionner
Pour ma part, j'ai un RPI3B+ mais ce n'est pas avec une raspbian, donc je peu pas beaucoup t'aider.
Je te recommande de voir avec lui, car peut-etre que tout simplement la PiZiGate est défectueuse ...
pi Zigate
Re: pi Zigate
Bonsoir Pipiche,
Oui je verrai avec lui éventuellement.
J'ai remis de l'ordre et procéder à la configuration des ports série correctement. Ca semble plus clair, je vous donnerai comment j'ai fait ou plutôt dans quel ordre j'ai procédé.
Je vous mets ici le log que j'ai maintenant qui semble différent sur le problème.
Notamment, première init de la zigate, ça ne passe pas en recherche à priori.
Pouvez me dire si ça inspire quelqu'un ces messages ?
Merci,
2020-12-17 22:43:50.757 Sunrise: 08:39:00 SunSet: 16:55:00
2020-12-17 22:43:50.757 Day length: 08:16:00 Sun at south: 12:47:00
2020-12-17 22:43:50.757 Civil twilight start: 08:02:00 Civil twilight end: 17:32:00
2020-12-17 22:43:50.757 Nautical twilight start: 07:22:00 Nautical twilight end: 18:12:00
2020-12-17 22:43:50.757 Astronomical twilight start: 06:43:00 Astronomical twilight end: 18:51:00
2020-12-17 22:43:51.676 Active notification Subsystems: (0/13)
2020-12-17 22:43:51.753 Starting shared server on: :::6144
2020-12-17 22:43:55.072 (pi-Zigate) DomoticzVersion: 2020.2 (build 12741)
2020-12-17 22:43:57.565 (pi-Zigate) runmode_with_gpiocommand
2020-12-17 22:43:57.565 (pi-Zigate) + Checkint GPIO PINs
2020-12-17 22:43:57.676 (pi-Zigate) + Checkint GPIO PINs
2020-12-17 22:43:57.825 (pi-Zigate) Decode8024: Status: 01
2020-12-17 22:43:57.825 (pi-Zigate) setZigateIEEE - Set Zigate IEEE: 00158d0000ce21e3
2020-12-17 22:43:57.825 (pi-Zigate) Decode8006 - MsgData: 01
2020-12-17 22:43:57.825 Status: (pi-Zigate) Non 'Factory new' Restart status: RUNNING
2020-12-17 22:43:57.773 Error: (pi-Zigate) onMessage : Frame size is bad, computed = 519 received = 10
2020-12-17 22:44:11.357 Status: (pi-Zigate) Firmware with APS SQN switching to Mode: ZiGateAck
2020-12-17 22:44:11.358 Status: (pi-Zigate) Major Version Num: 0003
2020-12-17 22:44:11.358 Status: (pi-Zigate) Installer Version Number: 031d
2020-12-17 22:44:31.445 Status: (pi-Zigate) Request Disabling Accepting new Hardware
2020-12-17 22:44:31.851 Status: (pi-Zigate) Accepting new Hardware: Disable
2020-12-17 22:44:31.952 Status: (pi-Zigate) Number of devices recently active in Zigate = 0
2020-12-17 22:44:36.463 (pi-Zigate) Switch Blue Led On
2020-12-17 22:44:36.464 Status: (pi-Zigate) Zigate set to Certification : CE
2020-12-17 22:44:36.464 Status: (pi-Zigate) Start Web Server connection
2020-12-17 22:44:36.488 Status: (pi-Zigate) Web backend for Web User Interface started on port: 9440
2020-12-17 22:44:36.488 Status: (pi-Zigate) Plugin with Zigate firmware 031d correctly initialized
2020-12-17 22:44:36.692 Status: (pi-Zigate) TxPower Attenuation : 0 dBm
2020-12-17 22:46:02.148 (pi-Zigate) onDisconnect - Closing Name: 'Zigate Server Connection', Transport: 'TCP/IP', Protocol: 'HTTP', Address: '', Port: '9440', Baud: -1, Connected: False, Parent: 'None'
2020-12-17 22:46:02.670 (pi-Zigate) DomoticzVersion: 2020.2 (build 12741)
2020-12-17 22:46:02.782 (pi-Zigate) runmode_with_gpiocommand
2020-12-17 22:46:02.783 (pi-Zigate) + Checkint GPIO PINs
2020-12-17 22:46:02.884 (pi-Zigate) + Checkint GPIO PINs
2020-12-17 22:46:02.972 (pi-Zigate) Decode0302 - PDMloadConfirmed: 00
2020-12-17 22:46:02.049 Status: (pi-Zigate) Stop directive received.
2020-12-17 22:46:02.049 Status: (pi-Zigate) Exiting work loop.
2020-12-17 22:46:02.149 Status: (pi-Zigate) onStop called
2020-12-17 22:46:02.149 Status: (pi-Zigate) Connection close: Name: 'ZiGate', Transport: 'Serial', Protocol: 'None', Address: '/dev/serial0', Port: '', Baud: 115200, Connected: False, Parent: 'None'
2020-12-17 22:46:02.150 Status: (pi-Zigate) Statistics on message
2020-12-17 22:46:02.150 Status: (pi-Zigate) ZiGate reacting time
2020-12-17 22:46:02.150 Status: (pi-Zigate) Max : 0 sec
2020-12-17 22:46:02.150 Status: (pi-Zigate) Average : 0 sec
2020-12-17 22:46:02.150 Status: (pi-Zigate) ZiGate processing time on Rx
2020-12-17 22:46:02.150 Status: (pi-Zigate) Max : 0 sec
2020-12-17 22:46:02.150 Status: (pi-Zigate) Average : 0 sec
2020-12-17 22:46:02.150 Status: (pi-Zigate) Sent:
2020-12-17 22:46:02.150 Status: (pi-Zigate) TX commands : 9
2020-12-17 22:46:02.150 Status: (pi-Zigate) Max Load (Queue) : 4
2020-12-17 22:46:02.150 Status: (pi-Zigate) TX failed : 0 (0.0%)
2020-12-17 22:46:02.150 Status: (pi-Zigate) TX timeout : 0 (0.0%)
2020-12-17 22:46:02.150 Status: (pi-Zigate) TX data timeout : 0 (0.0%)
2020-12-17 22:46:02.150 Status: (pi-Zigate) TX reTransmit : 0 (0.0%)
2020-12-17 22:46:02.150 Status: (pi-Zigate) TX APS Failure : 0 (0.0%)
2020-12-17 22:46:02.150 Status: (pi-Zigate) TX APS Ack : 0 (0.0%)
2020-12-17 22:46:02.150 Status: (pi-Zigate) TX APS Nck : 0 (0.0%)
2020-12-17 22:46:02.150 Status: (pi-Zigate) Received:
2020-12-17 22:46:02.150 Status: (pi-Zigate) RX frame : 16
2020-12-17 22:46:02.150 Status: (pi-Zigate) RX crc errors : 0 (0.0%)
2020-12-17 22:46:02.150 Status: (pi-Zigate) RX lentgh errors : 1 (6.25%)
2020-12-17 22:46:02.150 Status: (pi-Zigate) RX clusters : 0
2020-12-17 22:46:02.150 Status: (pi-Zigate) RX clusters KO : 0
2020-12-17 22:46:02.151 Status: (pi-Zigate) Operating time : 0 Hours 2 Mins 5 Secs
2020-12-17 22:46:02.249 Status: (pi-Zigate) Stopping threads.
2020-12-17 22:46:02.249 Status: (pi-Zigate) Stopped.
2020-12-17 22:46:02.249 Status: (pi-Zigate) Started.
2020-12-17 22:46:02.667 Status: (pi-Zigate) Entering work loop.
2020-12-17 22:46:02.668 Status: (pi-Zigate) Initialized version 4.11, author 'zaraki673 pipiche38'
2020-12-17 22:46:02.670 Status: (pi-Zigate) Zigate plugin stable-4.11.011 started
2020-12-17 22:46:02.670 Status: (pi-Zigate) Debug: 0
2020-12-17 22:46:02.670 Status: (pi-Zigate) load PluginConf
2020-12-17 22:46:02.672 Status: (pi-Zigate) channel set to 11
2020-12-17 22:46:02.672 Status: (pi-Zigate) filename set to /home/pi/domoticz/plugins/Domoticz-Zigate/Conf/PluginConf-02.json
2020-12-17 22:46:02.672 Status: (pi-Zigate) pluginHome set to /home/pi/domoticz/plugins/Domoticz-Zigate/
2020-12-17 22:46:02.672 Status: (pi-Zigate) homedirectory set to /home/pi/domoticz/plugins/Domoticz-Zigate/
2020-12-17 22:46:02.672 Status: (pi-Zigate) pluginData set to /home/pi/domoticz/plugins/Domoticz-Zigate/Data/
2020-12-17 22:46:02.672 Status: (pi-Zigate) pluginConfig set to /home/pi/domoticz/plugins/Domoticz-Zigate/Conf/
2020-12-17 22:46:02.672 Status: (pi-Zigate) pluginOTAFirmware set to /home/pi/domoticz/plugins/Domoticz-Zigate/OTAFirmware/
2020-12-17 22:46:02.672 Status: (pi-Zigate) pluginReports set to /home/pi/domoticz/plugins/Domoticz-Zigate/Reports/
2020-12-17 22:46:02.672 Status: (pi-Zigate) pluginWWW set to /home/pi/domoticz/plugins/Domoticz-Zigate/www/
2020-12-17 22:46:02.672 Status: (pi-Zigate) pluginLogs set to /home/pi/domoticz/plugins/Domoticz-Zigate/Logs/
2020-12-17 22:46:02.673 Status: (pi-Zigate) Switching Heartbeat to 5 s interval
2020-12-17 22:46:02.673 Status: (pi-Zigate) Python Version - 3.7.3 (default, Jul 25 2020, 13:03:44)
2020-12-17 22:46:02.673 [GCC 8.3.0]
2020-12-17 22:46:02.673 Status: (pi-Zigate) DomoticzVersion: 2020.2 (build 12741)
2020-12-17 22:46:02.673 Status: (pi-Zigate) DomoticzHash: fee1840ed-modified
2020-12-17 22:46:02.673 Status: (pi-Zigate) DomoticzBuildTime: 2020-12-14 10:35:17
2020-12-17 22:46:02.673 Status: (pi-Zigate) Opening DomoticzDB in raw
2020-12-17 22:46:02.682 Status: (pi-Zigate) Plugin Database: DeviceList-2.txt
2020-12-17 22:46:02.690 Status: (pi-Zigate) DeviceConf loaded
2020-12-17 22:46:02.748 Status: (pi-Zigate) load ListOfDevice
2020-12-17 22:46:02.759 Status: (pi-Zigate) Entries loaded from /home/pi/domoticz/plugins/Domoticz-Zigate/Data/DeviceList-2.txt
2020-12-17 22:46:02.760 Status: (pi-Zigate) Transport mode: PI
2020-12-17 22:46:02.780 Status: (pi-Zigate) Python version: ['3.7.3 (default, Jul 25 2020, 13:03:44) ', '[GCC 8.3.0]'] dist: ('debian', '10.7', '') linux_distribution: ('debian', '10.7', '') system: Linux machine: armv7l platform: Linux-5.4.79-v7+-armv7l-with-debian-10.7 uname: uname_result(system='Linux', node='raspberrypi', release='5.4.79-v7+', version='#1373 SMP Mon Nov 23 13:22:33 GMT 2020', machine='armv7l', processor='') version: #1373 SMP Mon Nov 23 13:22:33 GMT 2020 mac_ver: ('', ('', '', ''), '')
2020-12-17 22:46:02.915 Status: (pi-Zigate) ==> Transport Mode: auto
2020-12-17 22:46:02.920 Status: (pi-Zigate) Connection Name: Zigate, Transport: Serial, Address: /dev/serial0
2020-12-17 22:46:02.920 Status: (pi-Zigate) Connection open: Name: 'ZiGate', Transport: 'Serial', Protocol: 'None', Address: '/dev/serial0', Port: '', Baud: 115200, Connected: False, Parent: 'None'
2020-12-17 22:46:02.149 Error: CConnection_disconnect, disconnection request from 'pi-Zigate' ignored. Transport does not exist.
2020-12-17 22:46:03.023 (pi-Zigate) Decode8024: Status: 01
2020-12-17 22:46:03.023 (pi-Zigate) setZigateIEEE - Set Zigate IEEE: 00158d0000ce21e3
2020-12-17 22:46:03.024 (pi-Zigate) Decode8006 - MsgData: 01
2020-12-17 22:46:03.023 Status: (pi-Zigate) Start Network - Formed new network
2020-12-17 22:46:03.023 Status: (pi-Zigate) Zigate details IEEE: 00158d0000ce21e3, NetworkID: 0000, Channel: 11, Status: 01: Success
2020-12-17 22:46:03.024 Status: (pi-Zigate) Non 'Factory new' Restart status: RUNNING
2020-12-17 22:46:16.723 Status: (pi-Zigate) Erase Zigate PDM
2020-12-17 22:46:17.127 Status: (pi-Zigate) 'Factory new' Restart status: STARTUP
2020-12-17 22:46:17.126 Error: (pi-Zigate) onMessage : Frame size is bad, computed = 14 received = 23
2020-12-17 22:46:17.126 Error: (pi-Zigate) onMessage : Frame CRC is bad, computed = 107 received = 149
2020-12-17 22:46:21.789 Status: (pi-Zigate) Firmware with APS SQN switching to Mode: ZiGateAck
2020-12-17 22:46:21.790 Status: (pi-Zigate) Major Version Num: 0003
2020-12-17 22:46:21.790 Status: (pi-Zigate) Installer Version Number: 031d
2020-12-17 22:46:31.719 (pi-Zigate) Cmd: 0014 Data: already in queue.
2020-12-17 22:46:31.714 Status: (pi-Zigate) ZigateConf - Setting extPANID : 0x0000000000000000
2020-12-17 22:46:31.715 Status: (pi-Zigate) ZigateConf setting Channel(s) to: 11
2020-12-17 22:46:31.715 Status: (pi-Zigate) setChannel - Channel set to : 00000800
2020-12-17 22:46:31.716 Status: (pi-Zigate) Start network
2020-12-17 22:46:31.717 Status: (pi-Zigate) Set Zigate as a TimeServer
2020-12-17 22:46:32.025 (pi-Zigate) Start Network status : Success
2020-12-17 22:46:32.331 (pi-Zigate) Decode8024: Status: 01
2020-12-17 22:46:32.331 (pi-Zigate) setZigateIEEE - Set Zigate IEEE: 00158d0000ce21e3
2020-12-17 22:46:32.436 (pi-Zigate) setZigateIEEE - Set Zigate IEEE: 00158d0000ce21e3
2020-12-17 22:46:32.331 Status: (pi-Zigate) Start Network - Formed new network
2020-12-17 22:46:32.331 Status: (pi-Zigate) Zigate details IEEE: 00158d0000ce21e3, NetworkID: 0000, Channel: 11, Status: 01: Success
2020-12-17 22:46:32.333 Status: (pi-Zigate) Accepting new Hardware: Disable
2020-12-17 22:46:32.436 Status: (pi-Zigate) Zigate addresses ieee: 00158d0000ce21e3 , short addr: 0000
2020-12-17 22:46:32.436 Status: (pi-Zigate) Network state UP, PANID: 64ea extPANID: 0xb7892797176d5123 Channel: 11
2020-12-17 22:46:32.538 Status: (pi-Zigate) Accepting new Hardware: Disable
2020-12-17 22:46:36.699 Status: (pi-Zigate) Request Disabling Accepting new Hardware
2020-12-17 22:46:37.109 Status: (pi-Zigate) Accepting new Hardware: Disable
2020-12-17 22:46:37.211 Status: (pi-Zigate) Number of devices recently active in Zigate = 0
2020-12-17 22:46:41.688 (pi-Zigate) Switch Blue Led On
2020-12-17 22:46:41.690 Status: (pi-Zigate) Zigate set to Certification : CE
2020-12-17 22:46:41.691 Status: (pi-Zigate) Start Web Server connection
2020-12-17 22:46:41.727 Status: (pi-Zigate) Web backend for Web User Interface started on port: 9440
2020-12-17 22:46:41.727 Status: (pi-Zigate) Plugin with Zigate firmware 031d correctly initialized
2020-12-17 22:46:41.931 Status: (pi-Zigate) TxPower Attenuation : 0 dBm
2020-12-17 22:49:06.864 Status: (pi-Zigate) Accepting new Hardware: Disable
2020-12-17 22:51:31.860 Status: (pi-Zigate) Accepting new Hardware: Disable
2020-12-17 22:53:56.886 Status: (pi-Zigate) Accepting new Hardware: Disable
Oui je verrai avec lui éventuellement.
J'ai remis de l'ordre et procéder à la configuration des ports série correctement. Ca semble plus clair, je vous donnerai comment j'ai fait ou plutôt dans quel ordre j'ai procédé.
Je vous mets ici le log que j'ai maintenant qui semble différent sur le problème.
Notamment, première init de la zigate, ça ne passe pas en recherche à priori.
Pouvez me dire si ça inspire quelqu'un ces messages ?
Merci,
2020-12-17 22:43:50.757 Sunrise: 08:39:00 SunSet: 16:55:00
2020-12-17 22:43:50.757 Day length: 08:16:00 Sun at south: 12:47:00
2020-12-17 22:43:50.757 Civil twilight start: 08:02:00 Civil twilight end: 17:32:00
2020-12-17 22:43:50.757 Nautical twilight start: 07:22:00 Nautical twilight end: 18:12:00
2020-12-17 22:43:50.757 Astronomical twilight start: 06:43:00 Astronomical twilight end: 18:51:00
2020-12-17 22:43:51.676 Active notification Subsystems: (0/13)
2020-12-17 22:43:51.753 Starting shared server on: :::6144
2020-12-17 22:43:55.072 (pi-Zigate) DomoticzVersion: 2020.2 (build 12741)
2020-12-17 22:43:57.565 (pi-Zigate) runmode_with_gpiocommand
2020-12-17 22:43:57.565 (pi-Zigate) + Checkint GPIO PINs
2020-12-17 22:43:57.676 (pi-Zigate) + Checkint GPIO PINs
2020-12-17 22:43:57.825 (pi-Zigate) Decode8024: Status: 01
2020-12-17 22:43:57.825 (pi-Zigate) setZigateIEEE - Set Zigate IEEE: 00158d0000ce21e3
2020-12-17 22:43:57.825 (pi-Zigate) Decode8006 - MsgData: 01
2020-12-17 22:43:57.825 Status: (pi-Zigate) Non 'Factory new' Restart status: RUNNING
2020-12-17 22:43:57.773 Error: (pi-Zigate) onMessage : Frame size is bad, computed = 519 received = 10
2020-12-17 22:44:11.357 Status: (pi-Zigate) Firmware with APS SQN switching to Mode: ZiGateAck
2020-12-17 22:44:11.358 Status: (pi-Zigate) Major Version Num: 0003
2020-12-17 22:44:11.358 Status: (pi-Zigate) Installer Version Number: 031d
2020-12-17 22:44:31.445 Status: (pi-Zigate) Request Disabling Accepting new Hardware
2020-12-17 22:44:31.851 Status: (pi-Zigate) Accepting new Hardware: Disable
2020-12-17 22:44:31.952 Status: (pi-Zigate) Number of devices recently active in Zigate = 0
2020-12-17 22:44:36.463 (pi-Zigate) Switch Blue Led On
2020-12-17 22:44:36.464 Status: (pi-Zigate) Zigate set to Certification : CE
2020-12-17 22:44:36.464 Status: (pi-Zigate) Start Web Server connection
2020-12-17 22:44:36.488 Status: (pi-Zigate) Web backend for Web User Interface started on port: 9440
2020-12-17 22:44:36.488 Status: (pi-Zigate) Plugin with Zigate firmware 031d correctly initialized
2020-12-17 22:44:36.692 Status: (pi-Zigate) TxPower Attenuation : 0 dBm
2020-12-17 22:46:02.148 (pi-Zigate) onDisconnect - Closing Name: 'Zigate Server Connection', Transport: 'TCP/IP', Protocol: 'HTTP', Address: '', Port: '9440', Baud: -1, Connected: False, Parent: 'None'
2020-12-17 22:46:02.670 (pi-Zigate) DomoticzVersion: 2020.2 (build 12741)
2020-12-17 22:46:02.782 (pi-Zigate) runmode_with_gpiocommand
2020-12-17 22:46:02.783 (pi-Zigate) + Checkint GPIO PINs
2020-12-17 22:46:02.884 (pi-Zigate) + Checkint GPIO PINs
2020-12-17 22:46:02.972 (pi-Zigate) Decode0302 - PDMloadConfirmed: 00
2020-12-17 22:46:02.049 Status: (pi-Zigate) Stop directive received.
2020-12-17 22:46:02.049 Status: (pi-Zigate) Exiting work loop.
2020-12-17 22:46:02.149 Status: (pi-Zigate) onStop called
2020-12-17 22:46:02.149 Status: (pi-Zigate) Connection close: Name: 'ZiGate', Transport: 'Serial', Protocol: 'None', Address: '/dev/serial0', Port: '', Baud: 115200, Connected: False, Parent: 'None'
2020-12-17 22:46:02.150 Status: (pi-Zigate) Statistics on message
2020-12-17 22:46:02.150 Status: (pi-Zigate) ZiGate reacting time
2020-12-17 22:46:02.150 Status: (pi-Zigate) Max : 0 sec
2020-12-17 22:46:02.150 Status: (pi-Zigate) Average : 0 sec
2020-12-17 22:46:02.150 Status: (pi-Zigate) ZiGate processing time on Rx
2020-12-17 22:46:02.150 Status: (pi-Zigate) Max : 0 sec
2020-12-17 22:46:02.150 Status: (pi-Zigate) Average : 0 sec
2020-12-17 22:46:02.150 Status: (pi-Zigate) Sent:
2020-12-17 22:46:02.150 Status: (pi-Zigate) TX commands : 9
2020-12-17 22:46:02.150 Status: (pi-Zigate) Max Load (Queue) : 4
2020-12-17 22:46:02.150 Status: (pi-Zigate) TX failed : 0 (0.0%)
2020-12-17 22:46:02.150 Status: (pi-Zigate) TX timeout : 0 (0.0%)
2020-12-17 22:46:02.150 Status: (pi-Zigate) TX data timeout : 0 (0.0%)
2020-12-17 22:46:02.150 Status: (pi-Zigate) TX reTransmit : 0 (0.0%)
2020-12-17 22:46:02.150 Status: (pi-Zigate) TX APS Failure : 0 (0.0%)
2020-12-17 22:46:02.150 Status: (pi-Zigate) TX APS Ack : 0 (0.0%)
2020-12-17 22:46:02.150 Status: (pi-Zigate) TX APS Nck : 0 (0.0%)
2020-12-17 22:46:02.150 Status: (pi-Zigate) Received:
2020-12-17 22:46:02.150 Status: (pi-Zigate) RX frame : 16
2020-12-17 22:46:02.150 Status: (pi-Zigate) RX crc errors : 0 (0.0%)
2020-12-17 22:46:02.150 Status: (pi-Zigate) RX lentgh errors : 1 (6.25%)
2020-12-17 22:46:02.150 Status: (pi-Zigate) RX clusters : 0
2020-12-17 22:46:02.150 Status: (pi-Zigate) RX clusters KO : 0
2020-12-17 22:46:02.151 Status: (pi-Zigate) Operating time : 0 Hours 2 Mins 5 Secs
2020-12-17 22:46:02.249 Status: (pi-Zigate) Stopping threads.
2020-12-17 22:46:02.249 Status: (pi-Zigate) Stopped.
2020-12-17 22:46:02.249 Status: (pi-Zigate) Started.
2020-12-17 22:46:02.667 Status: (pi-Zigate) Entering work loop.
2020-12-17 22:46:02.668 Status: (pi-Zigate) Initialized version 4.11, author 'zaraki673 pipiche38'
2020-12-17 22:46:02.670 Status: (pi-Zigate) Zigate plugin stable-4.11.011 started
2020-12-17 22:46:02.670 Status: (pi-Zigate) Debug: 0
2020-12-17 22:46:02.670 Status: (pi-Zigate) load PluginConf
2020-12-17 22:46:02.672 Status: (pi-Zigate) channel set to 11
2020-12-17 22:46:02.672 Status: (pi-Zigate) filename set to /home/pi/domoticz/plugins/Domoticz-Zigate/Conf/PluginConf-02.json
2020-12-17 22:46:02.672 Status: (pi-Zigate) pluginHome set to /home/pi/domoticz/plugins/Domoticz-Zigate/
2020-12-17 22:46:02.672 Status: (pi-Zigate) homedirectory set to /home/pi/domoticz/plugins/Domoticz-Zigate/
2020-12-17 22:46:02.672 Status: (pi-Zigate) pluginData set to /home/pi/domoticz/plugins/Domoticz-Zigate/Data/
2020-12-17 22:46:02.672 Status: (pi-Zigate) pluginConfig set to /home/pi/domoticz/plugins/Domoticz-Zigate/Conf/
2020-12-17 22:46:02.672 Status: (pi-Zigate) pluginOTAFirmware set to /home/pi/domoticz/plugins/Domoticz-Zigate/OTAFirmware/
2020-12-17 22:46:02.672 Status: (pi-Zigate) pluginReports set to /home/pi/domoticz/plugins/Domoticz-Zigate/Reports/
2020-12-17 22:46:02.672 Status: (pi-Zigate) pluginWWW set to /home/pi/domoticz/plugins/Domoticz-Zigate/www/
2020-12-17 22:46:02.672 Status: (pi-Zigate) pluginLogs set to /home/pi/domoticz/plugins/Domoticz-Zigate/Logs/
2020-12-17 22:46:02.673 Status: (pi-Zigate) Switching Heartbeat to 5 s interval
2020-12-17 22:46:02.673 Status: (pi-Zigate) Python Version - 3.7.3 (default, Jul 25 2020, 13:03:44)
2020-12-17 22:46:02.673 [GCC 8.3.0]
2020-12-17 22:46:02.673 Status: (pi-Zigate) DomoticzVersion: 2020.2 (build 12741)
2020-12-17 22:46:02.673 Status: (pi-Zigate) DomoticzHash: fee1840ed-modified
2020-12-17 22:46:02.673 Status: (pi-Zigate) DomoticzBuildTime: 2020-12-14 10:35:17
2020-12-17 22:46:02.673 Status: (pi-Zigate) Opening DomoticzDB in raw
2020-12-17 22:46:02.682 Status: (pi-Zigate) Plugin Database: DeviceList-2.txt
2020-12-17 22:46:02.690 Status: (pi-Zigate) DeviceConf loaded
2020-12-17 22:46:02.748 Status: (pi-Zigate) load ListOfDevice
2020-12-17 22:46:02.759 Status: (pi-Zigate) Entries loaded from /home/pi/domoticz/plugins/Domoticz-Zigate/Data/DeviceList-2.txt
2020-12-17 22:46:02.760 Status: (pi-Zigate) Transport mode: PI
2020-12-17 22:46:02.780 Status: (pi-Zigate) Python version: ['3.7.3 (default, Jul 25 2020, 13:03:44) ', '[GCC 8.3.0]'] dist: ('debian', '10.7', '') linux_distribution: ('debian', '10.7', '') system: Linux machine: armv7l platform: Linux-5.4.79-v7+-armv7l-with-debian-10.7 uname: uname_result(system='Linux', node='raspberrypi', release='5.4.79-v7+', version='#1373 SMP Mon Nov 23 13:22:33 GMT 2020', machine='armv7l', processor='') version: #1373 SMP Mon Nov 23 13:22:33 GMT 2020 mac_ver: ('', ('', '', ''), '')
2020-12-17 22:46:02.915 Status: (pi-Zigate) ==> Transport Mode: auto
2020-12-17 22:46:02.920 Status: (pi-Zigate) Connection Name: Zigate, Transport: Serial, Address: /dev/serial0
2020-12-17 22:46:02.920 Status: (pi-Zigate) Connection open: Name: 'ZiGate', Transport: 'Serial', Protocol: 'None', Address: '/dev/serial0', Port: '', Baud: 115200, Connected: False, Parent: 'None'
2020-12-17 22:46:02.149 Error: CConnection_disconnect, disconnection request from 'pi-Zigate' ignored. Transport does not exist.
2020-12-17 22:46:03.023 (pi-Zigate) Decode8024: Status: 01
2020-12-17 22:46:03.023 (pi-Zigate) setZigateIEEE - Set Zigate IEEE: 00158d0000ce21e3
2020-12-17 22:46:03.024 (pi-Zigate) Decode8006 - MsgData: 01
2020-12-17 22:46:03.023 Status: (pi-Zigate) Start Network - Formed new network
2020-12-17 22:46:03.023 Status: (pi-Zigate) Zigate details IEEE: 00158d0000ce21e3, NetworkID: 0000, Channel: 11, Status: 01: Success
2020-12-17 22:46:03.024 Status: (pi-Zigate) Non 'Factory new' Restart status: RUNNING
2020-12-17 22:46:16.723 Status: (pi-Zigate) Erase Zigate PDM
2020-12-17 22:46:17.127 Status: (pi-Zigate) 'Factory new' Restart status: STARTUP
2020-12-17 22:46:17.126 Error: (pi-Zigate) onMessage : Frame size is bad, computed = 14 received = 23
2020-12-17 22:46:17.126 Error: (pi-Zigate) onMessage : Frame CRC is bad, computed = 107 received = 149
2020-12-17 22:46:21.789 Status: (pi-Zigate) Firmware with APS SQN switching to Mode: ZiGateAck
2020-12-17 22:46:21.790 Status: (pi-Zigate) Major Version Num: 0003
2020-12-17 22:46:21.790 Status: (pi-Zigate) Installer Version Number: 031d
2020-12-17 22:46:31.719 (pi-Zigate) Cmd: 0014 Data: already in queue.
2020-12-17 22:46:31.714 Status: (pi-Zigate) ZigateConf - Setting extPANID : 0x0000000000000000
2020-12-17 22:46:31.715 Status: (pi-Zigate) ZigateConf setting Channel(s) to: 11
2020-12-17 22:46:31.715 Status: (pi-Zigate) setChannel - Channel set to : 00000800
2020-12-17 22:46:31.716 Status: (pi-Zigate) Start network
2020-12-17 22:46:31.717 Status: (pi-Zigate) Set Zigate as a TimeServer
2020-12-17 22:46:32.025 (pi-Zigate) Start Network status : Success
2020-12-17 22:46:32.331 (pi-Zigate) Decode8024: Status: 01
2020-12-17 22:46:32.331 (pi-Zigate) setZigateIEEE - Set Zigate IEEE: 00158d0000ce21e3
2020-12-17 22:46:32.436 (pi-Zigate) setZigateIEEE - Set Zigate IEEE: 00158d0000ce21e3
2020-12-17 22:46:32.331 Status: (pi-Zigate) Start Network - Formed new network
2020-12-17 22:46:32.331 Status: (pi-Zigate) Zigate details IEEE: 00158d0000ce21e3, NetworkID: 0000, Channel: 11, Status: 01: Success
2020-12-17 22:46:32.333 Status: (pi-Zigate) Accepting new Hardware: Disable
2020-12-17 22:46:32.436 Status: (pi-Zigate) Zigate addresses ieee: 00158d0000ce21e3 , short addr: 0000
2020-12-17 22:46:32.436 Status: (pi-Zigate) Network state UP, PANID: 64ea extPANID: 0xb7892797176d5123 Channel: 11
2020-12-17 22:46:32.538 Status: (pi-Zigate) Accepting new Hardware: Disable
2020-12-17 22:46:36.699 Status: (pi-Zigate) Request Disabling Accepting new Hardware
2020-12-17 22:46:37.109 Status: (pi-Zigate) Accepting new Hardware: Disable
2020-12-17 22:46:37.211 Status: (pi-Zigate) Number of devices recently active in Zigate = 0
2020-12-17 22:46:41.688 (pi-Zigate) Switch Blue Led On
2020-12-17 22:46:41.690 Status: (pi-Zigate) Zigate set to Certification : CE
2020-12-17 22:46:41.691 Status: (pi-Zigate) Start Web Server connection
2020-12-17 22:46:41.727 Status: (pi-Zigate) Web backend for Web User Interface started on port: 9440
2020-12-17 22:46:41.727 Status: (pi-Zigate) Plugin with Zigate firmware 031d correctly initialized
2020-12-17 22:46:41.931 Status: (pi-Zigate) TxPower Attenuation : 0 dBm
2020-12-17 22:49:06.864 Status: (pi-Zigate) Accepting new Hardware: Disable
2020-12-17 22:51:31.860 Status: (pi-Zigate) Accepting new Hardware: Disable
2020-12-17 22:53:56.886 Status: (pi-Zigate) Accepting new Hardware: Disable
Re: pi Zigate
Tjrs un soucis avec le port série j'ai l'impresion !
+ Port : /dev/serial0 is not used
Verif GPIOs ...
+ GPIO 0 (RESET) --> OK
+ GPIO 2 (FLASH) --> OK
Config GPIOs ...
+ GPIO 0 (RESET) --> OK
+ GPIO 2 (FLASH) --> OK
Opening : /dev/serial0 ...
+ /dev/serial0 opened --> OK
+ Packet 01 02 10 10 02 10 02 10 10 03 sent --> OK
- No packet received - size sent : 11 - error : 11
+ Port : /dev/serial0 is not used
Verif GPIOs ...
+ GPIO 0 (RESET) --> OK
+ GPIO 2 (FLASH) --> OK
Config GPIOs ...
+ GPIO 0 (RESET) --> OK
+ GPIO 2 (FLASH) --> OK
Opening : /dev/serial0 ...
+ /dev/serial0 opened --> OK
+ Packet 01 02 10 10 02 10 02 10 10 03 sent --> OK
- No packet received - size sent : 11 - error : 11
Re: pi Zigate
J'ai un RPi 3B (pas +) mais je crois que c'est assez semblable.
Il faut absolument désactiver le bluetooth qui vampirise l'UART du Rpi.
Dans la section Hardware, j'utilise /dev/ttyAMA0 et non serial0 ou serial1.
Il faut absolument désactiver le bluetooth qui vampirise l'UART du Rpi.
Dans la section Hardware, j'utilise /dev/ttyAMA0 et non serial0 ou serial1.
---
Bruxelles
RPi 3B, Domoticz 2024.7, SSD, dongle Zigbee Sonoff
IPX-800 V3
multiples Sonoff et similaires (Tasmota, ESPeasy), multiples appareils Zigbee
SMA Sunny Boy 3.6
Ksenia Lares 4.0
Compteur digital à la norme DSMR5 - interface ESP32
Bruxelles
RPi 3B, Domoticz 2024.7, SSD, dongle Zigbee Sonoff
IPX-800 V3
multiples Sonoff et similaires (Tasmota, ESPeasy), multiples appareils Zigbee
SMA Sunny Boy 3.6
Ksenia Lares 4.0
Compteur digital à la norme DSMR5 - interface ESP32