pi Zigate

Forum dédié au plugin ZigBeeForDomoticZ : installation, paramétrage, utilisation, interfaces ...
Turbogen
Messages : 40
Inscription : 26 nov. 2018, 23:24

pi Zigate

Message par Turbogen »

Bonsoir,

Je viens de faire l'acquisition d'une pi-Zigate comme j'avais des Raspbery 3+.

Donc j'ai fait toute la config qui va bien sur l'arrêt du bluetooth, les ports, etc...
Tout s'est bien passé, rien de compliqué jusque là.

Installer Domoticz, le plugin Zigate.

Mais arrivé qu bout, j'ai une prise connectée Xiaomi que j'avais utilisé avec la Zigate wifi d'ailleurs.
Impossible d'apairer ce truc.

Mais je comprends que la pi-Zigate devrait aussi passer en bleu clignotant et là moi je trouve pas le truc, bleu persistant, rien ne bouge.
Je vais dans paramètres et je fais "Hardware detection" mais rien !!
Je vous mets le log si quelqu'un y voit quelque chose de louche.
Ou sinon le truc con pour passer en apairage que j'ai pas compris, ça serait pas la première fois :-)

En tout cas, merci d'avance pour un coup de main.

2020-12-13 21:58:54.377 Sunrise: 08:36:00 SunSet: 16:54:00
2020-12-13 21:58:54.377 Day length: 08:18:00 Sun at south: 12:45:00
2020-12-13 21:58:54.377 Civil twilight start: 07:59:00 Civil twilight end: 17:31:00
2020-12-13 21:58:54.377 Nautical twilight start: 07:19:00 Nautical twilight end: 18:11:00
2020-12-13 21:58:54.377 Astronomical twilight start: 06:40:00 Astronomical twilight end: 18:50:00
2020-12-13 21:58:54.094 Status: Domoticz V2020.2 (build 12732) (c)2012-2020 GizMoCuz
2020-12-13 21:58:54.095 Status: Build Hash: fc9c7c2d0-modified, Date: 2020-12-07 15:53:06
2020-12-13 21:58:54.096 Status: Startup Path: /home/pi/domoticz/
2020-12-13 21:58:55.410 Active notification Subsystems: (0/13)
2020-12-13 21:58:55.467 Starting shared server on: :::6144
2020-12-13 21:58:55.401 Status: PluginSystem: Started, Python version '3.7.3'.
2020-12-13 21:58:55.441 Status: WebServer(HTTP) started on address: :: with port 8080
2020-12-13 21:58:55.464 Status: WebServer(SSL) started on address: :: with port 443
2020-12-13 21:58:55.468 Status: TCPServer: shared server started...
2020-12-13 21:58:55.468 Status: RxQueue: queue worker started...
2020-12-13 21:58:57.469 Status: (pi-Zigate) Started.
2020-12-13 21:58:57.469 Status: NotificationSystem: thread started...
2020-12-13 21:58:57.470 Status: EventSystem: reset all events...
2020-12-13 21:58:57.475 Status: EventSystem: reset all device statuses...
2020-12-13 21:58:57.577 Status: Python EventSystem: Initalizing event module.
2020-12-13 21:58:57.577 Status: EventSystem: Started
2020-12-13 21:58:57.577 Status: EventSystem: Queue thread started...
2020-12-13 21:58:57.929 Status: PluginSystem: Entering work loop.
2020-12-13 21:59:00.415 (pi-Zigate) DomoticzVersion: 2020.2 (build 12732)
2020-12-13 21:59:00.361 Status: (pi-Zigate) Entering work loop.
2020-12-13 21:59:00.372 Status: (pi-Zigate) Initialized version 4.11, author 'zaraki673 pipiche38'
2020-12-13 21:59:00.415 Status: (pi-Zigate) Zigate plugin stable-4.11.011 started
2020-12-13 21:59:00.415 Status: (pi-Zigate) Debug: 0
2020-12-13 21:59:00.415 Status: (pi-Zigate) load PluginConf
2020-12-13 21:59:00.433 Status: (pi-Zigate) channel set to 11
2020-12-13 21:59:00.434 Status: (pi-Zigate) filename set to /home/pi/domoticz/plugins/Domoticz-Zigate/Conf/PluginConf-02.json
2020-12-13 21:59:00.434 Status: (pi-Zigate) pluginHome set to /home/pi/domoticz/plugins/Domoticz-Zigate/
2020-12-13 21:59:00.434 Status: (pi-Zigate) homedirectory set to /home/pi/domoticz/plugins/Domoticz-Zigate/
2020-12-13 21:59:00.434 Status: (pi-Zigate) pluginData set to /home/pi/domoticz/plugins/Domoticz-Zigate/Data/
2020-12-13 21:59:00.434 Status: (pi-Zigate) pluginConfig set to /home/pi/domoticz/plugins/Domoticz-Zigate/Conf/
2020-12-13 21:59:00.434 Status: (pi-Zigate) pluginOTAFirmware set to /home/pi/domoticz/plugins/Domoticz-Zigate/OTAFirmware/
2020-12-13 21:59:00.434 Status: (pi-Zigate) pluginReports set to /home/pi/domoticz/plugins/Domoticz-Zigate/Reports/
2020-12-13 21:59:00.434 Status: (pi-Zigate) pluginWWW set to /home/pi/domoticz/plugins/Domoticz-Zigate/www/
2020-12-13 21:59:00.434 Status: (pi-Zigate) pluginLogs set to /home/pi/domoticz/plugins/Domoticz-Zigate/Logs/
2020-12-13 21:59:00.434 Status: (pi-Zigate) Switching Heartbeat to 5 s interval
2020-12-13 21:59:00.434 Status: (pi-Zigate) Python Version - 3.7.3 (default, Jul 25 2020, 13:03:44)
2020-12-13 21:59:00.434 [GCC 8.3.0]
2020-12-13 21:59:00.434 Status: (pi-Zigate) DomoticzVersion: 2020.2 (build 12732)
2020-12-13 21:59:00.434 Status: (pi-Zigate) DomoticzHash: fc9c7c2d0-modified
2020-12-13 21:59:00.434 Status: (pi-Zigate) DomoticzBuildTime: 2020-12-07 15:53:06
2020-12-13 21:59:00.434 Status: (pi-Zigate) Opening DomoticzDB in raw
2020-12-13 21:59:00.472 Status: (pi-Zigate) Plugin Database: DeviceList-2.txt
2020-12-13 21:59:00.505 Status: (pi-Zigate) DeviceConf loaded
2020-12-13 21:59:01.642 (pi-Zigate) runmode_with_gpiocommand
2020-12-13 21:59:01.642 (pi-Zigate) + Checkint GPIO PINs
2020-12-13 21:59:01.741 (pi-Zigate) + Checkint GPIO PINs
2020-12-13 21:59:01.882 (pi-Zigate) Decode8024: Status: 01
2020-12-13 21:59:01.882 (pi-Zigate) setZigateIEEE - Set Zigate IEEE: 00158d0000ce21e3
2020-12-13 21:59:01.883 (pi-Zigate) Decode8006 - MsgData: 01
2020-12-13 21:59:01.528 Status: (pi-Zigate) load ListOfDevice
2020-12-13 21:59:01.565 Status: (pi-Zigate) Entries loaded from /home/pi/domoticz/plugins/Domoticz-Zigate/Data/DeviceList-2.txt
2020-12-13 21:59:01.566 Status: (pi-Zigate) Transport mode: PI
2020-12-13 21:59:01.638 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-13 21:59:01.770 Status: (pi-Zigate) ==> Transport Mode: auto
2020-12-13 21:59:01.775 Status: (pi-Zigate) Connection Name: Zigate, Transport: Serial, Address: /dev/serial0
2020-12-13 21:59:01.775 Status: (pi-Zigate) Connection open: Name: 'ZiGate', Transport: 'Serial', Protocol: 'None', Address: '/dev/serial0', Port: '', Baud: 115200, Connected: False, Parent: 'None'
2020-12-13 21:59:01.882 Status: (pi-Zigate) Start Network - Formed new network
2020-12-13 21:59:01.882 Status: (pi-Zigate) Zigate details IEEE: 00158d0000ce21e3, NetworkID: 0000, Channel: 11, Status: 01: Success
2020-12-13 21:59:01.883 Status: (pi-Zigate) Non 'Factory new' Restart status: RUNNING
2020-12-13 21:59:01.831 Error: (pi-Zigate) onMessage : Frame size is bad, computed = 519 received = 10
2020-12-13 21:59:15.417 Status: (pi-Zigate) Firmware with APS SQN switching to Mode: ZiGateAck
2020-12-13 21:59:15.418 Status: (pi-Zigate) Major Version Num: 0003
2020-12-13 21:59:15.419 Status: (pi-Zigate) Installer Version Number: 031d
2020-12-13 21:59:36.118 Status: (pi-Zigate) Request Disabling Accepting new Hardware
2020-12-13 21:59:36.525 Status: (pi-Zigate) Accepting new Hardware: Disable
2020-12-13 21:59:36.627 Status: (pi-Zigate) Number of devices recently active in Zigate = 0
2020-12-13 21:59:41.139 (pi-Zigate) Switch Blue Led On
2020-12-13 21:59:41.140 Status: (pi-Zigate) Zigate set to Certification : CE
2020-12-13 21:59:41.141 Status: (pi-Zigate) Start Web Server connection
2020-12-13 21:59:41.171 Status: (pi-Zigate) Web backend for Web User Interface started on port: 9440
2020-12-13 21:59:41.171 Status: (pi-Zigate) Plugin with Zigate firmware 031d correctly initialized
2020-12-13 21:59:41.375 Status: (pi-Zigate) TxPower Attenuation : 0 dBm
2020-12-13 21:59:42.478 Status: Incoming connection from: 192.168.1.81
2020-12-13 22:00:34.929 Status: New sensors allowed for 5 minutes...
2020-12-13 22:02:06.266 Status: (pi-Zigate) Accepting new Hardware: Disable
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: pi Zigate

Message par pipiche »

Il n'y a que les logs de type Status, est-il possible d'avoir l'ensemble des Logs ? Status, Logs et éventuellement Erreur ?


Est-ce qu'il y a eu une initialisation de la Zigate ?

Voir point 14: https://github.com/pipiche38/Domoticz-Z ... ookbook.md
Turbogen
Messages : 40
Inscription : 26 nov. 2018, 23:24

Re: pi Zigate

Message par Turbogen »

Bonjour,

Effectivement, j'ai eu un doute sur mon fichier cmdline.txt
En ré-ouvrant, voilà ce qu'il y a dedans.
console=tty1 root=PARTUUID=7f09613c-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles

J'ai pas retiré "console=tty1" mais seulement 115200, En y repensant, j'ai pas été fino sur le coup.
Mais je suis embêté quand même car la ligne était bien plus longue que ça !

Est ce que vire tout ?

Merci,
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: pi Zigate

Message par pipiche »

Turbogen a écrit : 14 déc. 2020, 08:41 Bonjour,

Effectivement, j'ai eu un doute sur mon fichier cmdline.txt
En ré-ouvrant, voilà ce qu'il y a dedans.
console=tty1 root=PARTUUID=7f09613c-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles

J'ai pas retiré "console=tty1" mais seulement 115200, En y repensant, j'ai pas été fino sur le coup.
Mais je suis embêté quand même car la ligne était bien plus longue que ça !

Est ce que vire tout ?

Merci,
Non, je ne pense pas qu'il faille tous supprimer car certain des paramètres sont important pour le boot
Turbogen
Messages : 40
Inscription : 26 nov. 2018, 23:24

Re: pi Zigate

Message par Turbogen »

Bonsoir,

Je viens de refaire complètement le raspi et j'ai suivi toutes les étapes.
Je reviens bien avec une led bleu forte.
Mais après, fais quoi ?
Je suis allé dans "Paramètres" et j'ai autorisé pdt 5min. et j'ai lancé la prise connecté en mode recherche mais rien ne se passe.
Est ce que j'aurai dû voir la led bleu (de la pi-Zigate) clignoté à partir de là ? (comme la prise)
Ci-joint le log, j'espère complet (statut+log), si vous y voyez quelque chose qui vous interpelle.

Merci de votre aide,

2020-12-14 19:53:23.706 Status: Domoticz V2020.2 (build 12741) (c)2012-2020 GizMoCuz
2020-12-14 19:53:23.708 Status: Build Hash: fee1840ed-modified, Date: 2020-12-14 10:35:17
2020-12-14 19:53:23.708 Status: Startup Path: /home/pi/domoticz/
2020-12-14 19:53:24.940 Active notification Subsystems: fcm, http (2/13)
2020-12-14 19:53:24.923 Status: PluginSystem: Started, Python version '3.7.3'.
2020-12-14 19:53:24.998 Status: WebServer(HTTP) started on address: :: with port 8080
2020-12-14 19:53:25.036 Starting shared server on: :::6144
2020-12-14 19:53:25.033 Status: WebServer(SSL) started on address: :: with port 443
2020-12-14 19:53:25.036 Status: RxQueue: queue worker started...
2020-12-14 19:53:25.036 Status: TCPServer: shared server started...
2020-12-14 19:53:27.037 Status: NotificationSystem: thread started...
2020-12-14 19:53:27.038 Status: EventSystem: reset all events...
2020-12-14 19:53:27.047 Status: PluginSystem: Entering work loop.
2020-12-14 19:53:27.052 Status: EventSystem: reset all device statuses...
2020-12-14 19:53:27.189 Status: Python EventSystem: Initalizing event module.
2020-12-14 19:53:27.189 Status: EventSystem: Started
2020-12-14 19:53:27.190 Status: EventSystem: Queue thread started...
2020-12-14 20:00:23.988 Status: Incoming connection from: 192.168.1.81
2020-12-14 20:01:49.177 Sunrise: 08:37:00 SunSet: 16:54:00
2020-12-14 20:01:49.177 Day length: 08:17:00 Sun at south: 12:45:00
2020-12-14 20:01:49.177 Civil twilight start: 08:00:00 Civil twilight end: 17:31:00
2020-12-14 20:01:49.177 Nautical twilight start: 07:19:00 Nautical twilight end: 18:11:00
2020-12-14 20:01:49.177 Astronomical twilight start: 06:41:00 Astronomical twilight end: 18:50:00
2020-12-14 20:01:49.207 Active notification Subsystems: browser (1/13)
2020-12-14 20:03:01.970 Status: (pi-Zigate) Started.
2020-12-14 20:03:03.909 (pi-Zigate) DomoticzVersion: 2020.2 (build 12741)
2020-12-14 20:03:03.902 Status: (pi-Zigate) Entering work loop.
2020-12-14 20:03:03.903 Status: (pi-Zigate) Initialized version 4.11, author 'zaraki673 pipiche38'
2020-12-14 20:03:03.909 Status: (pi-Zigate) Zigate plugin stable-4.11.011 started
2020-12-14 20:03:03.909 Status: (pi-Zigate) Debug: 0
2020-12-14 20:03:03.909 Status: (pi-Zigate) load PluginConf
2020-12-14 20:03:03.913 Status: (pi-Zigate) filename set to /home/pi/domoticz/plugins/Domoticz-Zigate/Conf/PluginConf-02.json
2020-12-14 20:03:03.913 Status: (pi-Zigate) pluginHome set to /home/pi/domoticz/plugins/Domoticz-Zigate/
2020-12-14 20:03:03.913 Status: (pi-Zigate) homedirectory set to /home/pi/domoticz/plugins/Domoticz-Zigate/
2020-12-14 20:03:03.913 Status: (pi-Zigate) pluginData set to /home/pi/domoticz/plugins/Domoticz-Zigate/Data/
2020-12-14 20:03:03.913 Status: (pi-Zigate) pluginConfig set to /home/pi/domoticz/plugins/Domoticz-Zigate/Conf/
2020-12-14 20:03:03.913 Status: (pi-Zigate) pluginOTAFirmware set to /home/pi/domoticz/plugins/Domoticz-Zigate/OTAFirmware/
2020-12-14 20:03:03.913 Status: (pi-Zigate) pluginReports set to /home/pi/domoticz/plugins/Domoticz-Zigate/Reports/
2020-12-14 20:03:03.913 Status: (pi-Zigate) pluginWWW set to /home/pi/domoticz/plugins/Domoticz-Zigate/www/
2020-12-14 20:03:03.913 Status: (pi-Zigate) pluginLogs set to /home/pi/domoticz/plugins/Domoticz-Zigate/Logs/
2020-12-14 20:03:03.914 Status: (pi-Zigate) Switching Heartbeat to 5 s interval
2020-12-14 20:03:03.914 Status: (pi-Zigate) Python Version - 3.7.3 (default, Jul 25 2020, 13:03:44)
2020-12-14 20:03:03.914 [GCC 8.3.0]
2020-12-14 20:03:03.914 Status: (pi-Zigate) DomoticzVersion: 2020.2 (build 12741)
2020-12-14 20:03:03.914 Status: (pi-Zigate) DomoticzHash: fee1840ed-modified
2020-12-14 20:03:03.914 Status: (pi-Zigate) DomoticzBuildTime: 2020-12-14 10:35:17
2020-12-14 20:03:03.914 Status: (pi-Zigate) Opening DomoticzDB in raw
2020-12-14 20:03:03.926 Status: (pi-Zigate) Plugin Database: DeviceList-2.txt
2020-12-14 20:03:03.935 Status: (pi-Zigate) DeviceConf loaded
2020-12-14 20:03:04.163 Status: (pi-Zigate) load ListOfDevice
2020-12-14 20:03:04.164 Status: (pi-Zigate) Transport mode: USB
2020-12-14 20:03:04.164 Status: (pi-Zigate) ==> Transport Mode: auto
2020-12-14 20:03:04.168 Status: (pi-Zigate) Connection Name: Zigate, Transport: Serial, Address: /dev/serial1
2020-12-14 20:03:04.168 Status: (pi-Zigate) Connection open: Name: 'ZiGate', Transport: 'Serial', Protocol: 'None', Address: '/dev/serial1', Port: '', Baud: 115200, Connected: False, Parent: 'None'
2020-12-14 20:04:46.088 Status: New sensors allowed for 5 minutes...
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: pi Zigate

Message par pipiche »

C'est une PiZiGate ou une ZiGate USB, car dans les logs je vois
2020-12-14 20:03:04.164 Status: (pi-Zigate) Transport mode: USB
peut-etre as-tu oublié de le passer en PI
Turbogen
Messages : 40
Inscription : 26 nov. 2018, 23:24

Re: pi Zigate

Message par Turbogen »

Re,

Désolé, je suis allé trop vite.

J'ai remis PI et rebooter.

Tu ne m'as pas dit, il y a une action à faire pour passer la pi-zigate en écoute ?

020-12-14 22:26:34.936 Status: Domoticz V2020.2 (build 12741) (c)2012-2020 GizMoCuz
2020-12-14 22:26:34.938 Status: Build Hash: fee1840ed-modified, Date: 2020-12-14 10:35:17
2020-12-14 22:26:34.939 Status: Startup Path: /home/pi/domoticz/
2020-12-14 22:26:35.251 Sunrise: 08:37:00 SunSet: 16:54:00
2020-12-14 22:26:35.251 Day length: 08:17:00 Sun at south: 12:45:00
2020-12-14 22:26:35.251 Civil twilight start: 08:00:00 Civil twilight end: 17:31:00
2020-12-14 22:26:35.251 Nautical twilight start: 07:19:00 Nautical twilight end: 18:11:00
2020-12-14 22:26:35.251 Astronomical twilight start: 06:41:00 Astronomical twilight end: 18:50:00
2020-12-14 22:26:36.188 Active notification Subsystems: (0/13)
2020-12-14 22:26:36.264 Starting shared server on: :::6144
2020-12-14 22:26:36.174 Status: PluginSystem: Started, Python version '3.7.3'.
2020-12-14 22:26:36.228 Status: WebServer(HTTP) started on address: :: with port 8080
2020-12-14 22:26:36.259 Status: WebServer(SSL) started on address: :: with port 443
2020-12-14 22:26:36.264 Status: TCPServer: shared server started...
2020-12-14 22:26:36.265 Status: RxQueue: queue worker started...
2020-12-14 22:26:38.265 Status: (pi-Zigate) Started.
2020-12-14 22:26:38.265 Status: NotificationSystem: thread started...
2020-12-14 22:26:38.266 Status: EventSystem: reset all events...
2020-12-14 22:26:38.301 Status: EventSystem: reset all device statuses...
2020-12-14 22:26:38.302 Status: PluginSystem: Entering work loop.
2020-12-14 22:26:38.445 Status: Python EventSystem: Initalizing event module.
2020-12-14 22:26:38.445 Status: EventSystem: Started
2020-12-14 22:26:38.445 Status: EventSystem: Queue thread started...
2020-12-14 22:26:40.493 (pi-Zigate) DomoticzVersion: 2020.2 (build 12741)
2020-12-14 22:26:40.388 Status: (pi-Zigate) Entering work loop.
2020-12-14 22:26:40.409 Status: (pi-Zigate) Initialized version 4.11, author 'zaraki673 pipiche38'
2020-12-14 22:26:40.493 Status: (pi-Zigate) Zigate plugin stable-4.11.011 started
2020-12-14 22:26:40.493 Status: (pi-Zigate) Debug: 0
2020-12-14 22:26:40.493 Status: (pi-Zigate) load PluginConf
2020-12-14 22:26:40.535 Status: (pi-Zigate) filename set to /home/pi/domoticz/plugins/Domoticz-Zigate/Conf/PluginConf-02.json
2020-12-14 22:26:40.535 Status: (pi-Zigate) pluginHome set to /home/pi/domoticz/plugins/Domoticz-Zigate/
2020-12-14 22:26:40.535 Status: (pi-Zigate) homedirectory set to /home/pi/domoticz/plugins/Domoticz-Zigate/
2020-12-14 22:26:40.535 Status: (pi-Zigate) pluginData set to /home/pi/domoticz/plugins/Domoticz-Zigate/Data/
2020-12-14 22:26:40.535 Status: (pi-Zigate) pluginConfig set to /home/pi/domoticz/plugins/Domoticz-Zigate/Conf/
2020-12-14 22:26:40.535 Status: (pi-Zigate) pluginOTAFirmware set to /home/pi/domoticz/plugins/Domoticz-Zigate/OTAFirmware/
2020-12-14 22:26:40.535 Status: (pi-Zigate) pluginReports set to /home/pi/domoticz/plugins/Domoticz-Zigate/Reports/
2020-12-14 22:26:40.535 Status: (pi-Zigate) pluginWWW set to /home/pi/domoticz/plugins/Domoticz-Zigate/www/
2020-12-14 22:26:40.535 Status: (pi-Zigate) pluginLogs set to /home/pi/domoticz/plugins/Domoticz-Zigate/Logs/
2020-12-14 22:26:40.535 Status: (pi-Zigate) Switching Heartbeat to 5 s interval
2020-12-14 22:26:40.535 Status: (pi-Zigate) Python Version - 3.7.3 (default, Jul 25 2020, 13:03:44)
2020-12-14 22:26:40.535 [GCC 8.3.0]
2020-12-14 22:26:40.535 Status: (pi-Zigate) DomoticzVersion: 2020.2 (build 12741)
2020-12-14 22:26:40.535 Status: (pi-Zigate) DomoticzHash: fee1840ed-modified
2020-12-14 22:26:40.535 Status: (pi-Zigate) DomoticzBuildTime: 2020-12-14 10:35:17
2020-12-14 22:26:40.535 Status: (pi-Zigate) Opening DomoticzDB in raw
2020-12-14 22:26:40.584 Status: (pi-Zigate) Plugin Database: DeviceList-2.txt
2020-12-14 22:26:40.601 Status: (pi-Zigate) DeviceConf loaded
2020-12-14 22:26:42.759 (pi-Zigate) runmode_with_gpiocommand
2020-12-14 22:26:42.760 (pi-Zigate) + Checkint GPIO PINs
2020-12-14 22:26:42.872 (pi-Zigate) + Checkint GPIO PINs
2020-12-14 22:26:42.637 Status: (pi-Zigate) load ListOfDevice
2020-12-14 22:26:42.689 Status: (pi-Zigate) Entries loaded from /home/pi/domoticz/plugins/Domoticz-Zigate/Data/DeviceList-2.txt
2020-12-14 22:26:42.689 Status: (pi-Zigate) Transport mode: PI
2020-12-14 22:26:42.755 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-14 22:26:42.907 Status: (pi-Zigate) ==> Transport Mode: auto
2020-12-14 22:26:42.914 Status: (pi-Zigate) Connection Name: Zigate, Transport: Serial, Address: /dev/serial1
2020-12-14 22:26:42.914 Status: (pi-Zigate) Connection open: Name: 'ZiGate', Transport: 'Serial', Protocol: 'None', Address: '/dev/serial1', Port: '', Baud: 115200, Connected: False, Parent: 'None'
2020-12-14 22:28:30.290 Status: New sensors allowed for 5 minutes...
2020-12-14 22:29:25.532 Status: New sensors allowed for 5 minutes...
Turbogen
Messages : 40
Inscription : 26 nov. 2018, 23:24

Re: pi Zigate

Message par Turbogen »

En plus de mon post-précédent où j'ai remis le log une fois passé en mode PI, je voudrais revenir sur ce point de la procédure de config, c'est la dernière et tout s''est bien passé jusque là :

Go to the hardware tab of Domoticz and Add the new hardware: Name: Zigate (or something similar) Type: Zigate plugin Click Add

Next, click on Zigate in the hardware list to edit settings: Model: PI Serial Port: /dev/serial0 Permit join time: 255 (=permanently) Erase Persistent Data: True (has to be done once on initialization) Click Update

If everything went okay, the blue LED wil flash brightly and you can pair Zigbee devices by resetting them.

A l'époque de ma wifi-zigate, je me rappelle qu'il y avait ses champs "permit to join" ou "Erase persistent data".

Avec la version que j'ai là, je n'ai plus ces champs.
Capture.JPG
Capture.JPG (12.52 Kio) Consulté 3263 fois
Est ce dû à la version du plugin ?

Merci,
Turbogen
Messages : 40
Inscription : 26 nov. 2018, 23:24

Re: pi Zigate

Message par Turbogen »

Re,

J'ai lancé le test et voilà le résultat.
Capture2.JPG
Capture2.JPG (33.69 Kio) Consulté 3257 fois
Pourtant, j'ai bien ajouté la ligne !
Capture1.JPG
Capture1.JPG (20.84 Kio) Consulté 3257 fois
Ca devrait pas être dans une rubrique entre [] ?

A+
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: pi Zigate

Message par pipiche »

Turbogen a écrit : 14 déc. 2020, 22:34 Re,

Désolé, je suis allé trop vite.

J'ai remis PI et rebooter.

Tu ne m'as pas dit, il y a une action à faire pour passer la pi-zigate en écoute ?

020-12-14 22:26:34.936 Status: Domoticz V2020.2 (build 12741) (c)2012-2020 GizMoCuz
2020-12-14 22:26:34.938 Status: Build Hash: fee1840ed-modified, Date: 2020-12-14 10:35:17
2020-12-14 22:26:34.939 Status: Startup Path: /home/pi/domoticz/
2020-12-14 22:26:35.251 Sunrise: 08:37:00 SunSet: 16:54:00
2020-12-14 22:26:35.251 Day length: 08:17:00 Sun at south: 12:45:00
2020-12-14 22:26:35.251 Civil twilight start: 08:00:00 Civil twilight end: 17:31:00
2020-12-14 22:26:35.251 Nautical twilight start: 07:19:00 Nautical twilight end: 18:11:00
2020-12-14 22:26:35.251 Astronomical twilight start: 06:41:00 Astronomical twilight end: 18:50:00
2020-12-14 22:26:36.188 Active notification Subsystems: (0/13)
2020-12-14 22:26:36.264 Starting shared server on: :::6144
2020-12-14 22:26:36.174 Status: PluginSystem: Started, Python version '3.7.3'.
2020-12-14 22:26:36.228 Status: WebServer(HTTP) started on address: :: with port 8080
2020-12-14 22:26:36.259 Status: WebServer(SSL) started on address: :: with port 443
2020-12-14 22:26:36.264 Status: TCPServer: shared server started...
2020-12-14 22:26:36.265 Status: RxQueue: queue worker started...
2020-12-14 22:26:38.265 Status: (pi-Zigate) Started.
2020-12-14 22:26:38.265 Status: NotificationSystem: thread started...
2020-12-14 22:26:38.266 Status: EventSystem: reset all events...
2020-12-14 22:26:38.301 Status: EventSystem: reset all device statuses...
2020-12-14 22:26:38.302 Status: PluginSystem: Entering work loop.
2020-12-14 22:26:38.445 Status: Python EventSystem: Initalizing event module.
2020-12-14 22:26:38.445 Status: EventSystem: Started
2020-12-14 22:26:38.445 Status: EventSystem: Queue thread started...
2020-12-14 22:26:40.493 (pi-Zigate) DomoticzVersion: 2020.2 (build 12741)
2020-12-14 22:26:40.388 Status: (pi-Zigate) Entering work loop.
2020-12-14 22:26:40.409 Status: (pi-Zigate) Initialized version 4.11, author 'zaraki673 pipiche38'
2020-12-14 22:26:40.493 Status: (pi-Zigate) Zigate plugin stable-4.11.011 started
2020-12-14 22:26:40.493 Status: (pi-Zigate) Debug: 0
2020-12-14 22:26:40.493 Status: (pi-Zigate) load PluginConf
2020-12-14 22:26:40.535 Status: (pi-Zigate) filename set to /home/pi/domoticz/plugins/Domoticz-Zigate/Conf/PluginConf-02.json
2020-12-14 22:26:40.535 Status: (pi-Zigate) pluginHome set to /home/pi/domoticz/plugins/Domoticz-Zigate/
2020-12-14 22:26:40.535 Status: (pi-Zigate) homedirectory set to /home/pi/domoticz/plugins/Domoticz-Zigate/
2020-12-14 22:26:40.535 Status: (pi-Zigate) pluginData set to /home/pi/domoticz/plugins/Domoticz-Zigate/Data/
2020-12-14 22:26:40.535 Status: (pi-Zigate) pluginConfig set to /home/pi/domoticz/plugins/Domoticz-Zigate/Conf/
2020-12-14 22:26:40.535 Status: (pi-Zigate) pluginOTAFirmware set to /home/pi/domoticz/plugins/Domoticz-Zigate/OTAFirmware/
2020-12-14 22:26:40.535 Status: (pi-Zigate) pluginReports set to /home/pi/domoticz/plugins/Domoticz-Zigate/Reports/
2020-12-14 22:26:40.535 Status: (pi-Zigate) pluginWWW set to /home/pi/domoticz/plugins/Domoticz-Zigate/www/
2020-12-14 22:26:40.535 Status: (pi-Zigate) pluginLogs set to /home/pi/domoticz/plugins/Domoticz-Zigate/Logs/
2020-12-14 22:26:40.535 Status: (pi-Zigate) Switching Heartbeat to 5 s interval
2020-12-14 22:26:40.535 Status: (pi-Zigate) Python Version - 3.7.3 (default, Jul 25 2020, 13:03:44)
2020-12-14 22:26:40.535 [GCC 8.3.0]
2020-12-14 22:26:40.535 Status: (pi-Zigate) DomoticzVersion: 2020.2 (build 12741)
2020-12-14 22:26:40.535 Status: (pi-Zigate) DomoticzHash: fee1840ed-modified
2020-12-14 22:26:40.535 Status: (pi-Zigate) DomoticzBuildTime: 2020-12-14 10:35:17
2020-12-14 22:26:40.535 Status: (pi-Zigate) Opening DomoticzDB in raw
2020-12-14 22:26:40.584 Status: (pi-Zigate) Plugin Database: DeviceList-2.txt
2020-12-14 22:26:40.601 Status: (pi-Zigate) DeviceConf loaded
2020-12-14 22:26:42.759 (pi-Zigate) runmode_with_gpiocommand
2020-12-14 22:26:42.760 (pi-Zigate) + Checkint GPIO PINs
2020-12-14 22:26:42.872 (pi-Zigate) + Checkint GPIO PINs
2020-12-14 22:26:42.637 Status: (pi-Zigate) load ListOfDevice
2020-12-14 22:26:42.689 Status: (pi-Zigate) Entries loaded from /home/pi/domoticz/plugins/Domoticz-Zigate/Data/DeviceList-2.txt
2020-12-14 22:26:42.689 Status: (pi-Zigate) Transport mode: PI
2020-12-14 22:26:42.755 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-14 22:26:42.907 Status: (pi-Zigate) ==> Transport Mode: auto
2020-12-14 22:26:42.914 Status: (pi-Zigate) Connection Name: Zigate, Transport: Serial, Address: /dev/serial1
2020-12-14 22:26:42.914 Status: (pi-Zigate) Connection open: Name: 'ZiGate', Transport: 'Serial', Protocol: 'None', Address: '/dev/serial1', Port: '', Baud: 115200, Connected: False, Parent: 'None'
2020-12-14 22:28:30.290 Status: New sensors allowed for 5 minutes...
2020-12-14 22:29:25.532 Status: New sensors allowed for 5 minutes...
Plusieurs points :

- Il faut effectivement que tu initialises la ZiGate lors d'une première utilisation, et c'est bien disponible sur le menu Hardware Domoticz où est configuré le plugin.
- Des logs que tu fournis, je ne vois pas de communication entre le plugin et la ZiGate, donc inutile d'essayer un appairage. On devrait notamment avoir l'adresse IEEE de la ZiGate, et ensuite le Web Interface du plugin devrait etre disponible.
- Je n'ai pas l'impression que le PiZiGate-tools/test n'est pas concluant, donc pas utilie d'essayer avec le plugin.

Voici un exemple, ce que fait PiZiGate-tools/test c'est de tester la config, mais aussi de tester la ligne. pour cela il va envoyer une cmmande et attend une réponse

Code : Tout sélectionner

+ /dev/ttyUSBRPI3 opened --> OK
+ Packet 01 02 10 10 02 10 02 10 10 03 sent --> OK
+ Packet received --> OK
size : 101
 01 03 02 00 02 03 00 00 03
01 80 24 00 0d 5c 01 00 00 00 15 8d 00 01 c6 1b bb 0b 00 03
01 80 06 00 02 85 01 00 03
01 80 00 00 07 97 00 00 00 10 00 00 00 03
01 80 10 00 05 88 00 03 03 1d 00 03

PS/ Peut-etre plus d'infos ici: https://zigate.fr/forum/forum/installat ... -pizigate/
Répondre