Bienvenue sur le forum de la ZiGate !

Ici, nous échangeons sur les produits ZiGate (matériellement) et les firmware.

Pour que vous puissiez gagner du temps, je vous conseille de visiter, dans un premier temps, les forums et documentations des plugins et box domotique que vous avez choisi :

Jeedom :

Forum : https://community.jeedom.com/
Plugin ZiGate : https://github.com/Jeedom-Zigate/jeedom-plugin-zigate
Plugin Abeille : https://github.com/KiwiHC16/Abeille + http://kiwihc16.free.fr/

Domoticz :

Forum Francophonehttps://easydomoticz.com/forum/viewforum.php?f=28
Forum Anglophonehttps://www.domoticz.com/forum/viewforum.php?f=68
Développeur: @pipiche38 disponible sur keybase.io en chat

EEdomus :

Forum : https://forum.eedomus.com/

Home-assistant :

Plugin : https://github.com/doudz/homeassistant-zigate
Zigpy : https://www.home-assistant.io/integrations/zha/

Veuillez ou S’enregistrer pour créer des messages et des sujets de discussion.

Impossible d'initialiser la PiZigate sur Raspberry Pi 3B+

Bonjour,

 

Ayant reçu récemment ma PiZigate, j'ai voulu l'installer sur ma domotic Jeedom sur un Raspberry PI 3B+.

J'ai donc bien fait la procédure "Compatibilité Raspberry Pi 3 et Zéro W" et ensuite la configuration du PiZiGate.

Après avoir configuré les GPIO en mode production, ma LED reste  éclairé en bleu faible intensité.

 

J'ai ensuite fait le TEST et voici le retour :

 

RPI Model searching ...
Warning !!! you must modify /boot/config.txt
Verifying /boot/cmdline.txt ...
+ /boot/cmdline.txt seems to be OK
Verifying /boot/config.txt ...
+ /boot/config.txt seems to be OK
Warning !!! if it's not the case, you have to execute the following commands :
sudo systemctl disable hciuart
sudo usermod -aG gpio pi
then reboot the PI
Searching /dev/ttyAMA0...
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
Output information may be incomplete.
+ Port : /dev/ttyAMA0 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/ttyAMA0 ...
+ /dev/ttyAMA0 opened --> OK
+ Packet 01 02 10 10 02 10 02 10 10 03 sent --> OK
- No packet received - size sent : 11 - error : 11

J'ai donc tenté de flasher la ZiGate en version 3.1d suite à la recherche sur le forum, mais il m'est impossible de la flasher.
J'ai toujours le retour suivant :

pi@raspberrypi:~/JennicModuleProgrammer/Build $ sudo ./JennicModuleProgrammer -V 6 -e -P 115200 -f "/boot/ZiGate_v3.1d.bin" -s /dev/ttyAMAO
JennicModuleProgrammer Version: 0.7(r56124)
Error opening serial port

Voici le résultat de la commande  ls -l /dev/tty* ainsi que gpio -v et gpio readall :

pi@raspberrypi:~/JennicModuleProgrammer/Build $ ls -l /dev/tty*
crw-rw-rw- 1 root tty 5, 0 May 28 19:55 /dev/tty
crw--w---- 1 root tty 4, 0 May 28 19:55 /dev/tty0
crw------- 1 pi tty 4, 1 May 28 19:55 /dev/tty1
crw--w---- 1 root tty 4, 10 May 28 19:55 /dev/tty10
crw--w---- 1 root tty 4, 11 May 28 19:55 /dev/tty11
crw--w---- 1 root tty 4, 12 May 28 19:55 /dev/tty12
crw--w---- 1 root tty 4, 13 May 28 19:55 /dev/tty13
crw--w---- 1 root tty 4, 14 May 28 19:55 /dev/tty14
crw--w---- 1 root tty 4, 15 May 28 19:55 /dev/tty15
crw--w---- 1 root tty 4, 16 May 28 19:55 /dev/tty16
crw--w---- 1 root tty 4, 17 May 28 19:55 /dev/tty17
crw--w---- 1 root tty 4, 18 May 28 19:55 /dev/tty18
crw--w---- 1 root tty 4, 19 May 28 19:55 /dev/tty19
crw--w---- 1 root tty 4, 2 May 28 19:55 /dev/tty2
crw--w---- 1 root tty 4, 20 May 28 19:55 /dev/tty20
crw--w---- 1 root tty 4, 21 May 28 19:55 /dev/tty21
crw--w---- 1 root tty 4, 22 May 28 19:55 /dev/tty22
crw--w---- 1 root tty 4, 23 May 28 19:55 /dev/tty23
crw--w---- 1 root tty 4, 24 May 28 19:55 /dev/tty24
crw--w---- 1 root tty 4, 25 May 28 19:55 /dev/tty25
crw--w---- 1 root tty 4, 26 May 28 19:55 /dev/tty26
crw--w---- 1 root tty 4, 27 May 28 19:55 /dev/tty27
crw--w---- 1 root tty 4, 28 May 28 19:55 /dev/tty28
crw--w---- 1 root tty 4, 29 May 28 19:55 /dev/tty29
crw--w---- 1 root tty 4, 3 May 28 19:55 /dev/tty3
crw--w---- 1 root tty 4, 30 May 28 19:55 /dev/tty30
crw--w---- 1 root tty 4, 31 May 28 19:55 /dev/tty31
crw--w---- 1 root tty 4, 32 May 28 19:55 /dev/tty32
crw--w---- 1 root tty 4, 33 May 28 19:55 /dev/tty33
crw--w---- 1 root tty 4, 34 May 28 19:55 /dev/tty34
crw--w---- 1 root tty 4, 35 May 28 19:55 /dev/tty35
crw--w---- 1 root tty 4, 36 May 28 19:55 /dev/tty36
crw--w---- 1 root tty 4, 37 May 28 19:55 /dev/tty37
crw--w---- 1 root tty 4, 38 May 28 19:55 /dev/tty38
crw--w---- 1 root tty 4, 39 May 28 19:55 /dev/tty39
crw--w---- 1 root tty 4, 4 May 28 19:55 /dev/tty4
crw--w---- 1 root tty 4, 40 May 28 19:55 /dev/tty40
crw--w---- 1 root tty 4, 41 May 28 19:55 /dev/tty41
crw--w---- 1 root tty 4, 42 May 28 19:55 /dev/tty42
crw--w---- 1 root tty 4, 43 May 28 19:55 /dev/tty43
crw--w---- 1 root tty 4, 44 May 28 19:55 /dev/tty44
crw--w---- 1 root tty 4, 45 May 28 19:55 /dev/tty45
crw--w---- 1 root tty 4, 46 May 28 19:55 /dev/tty46
crw--w---- 1 root tty 4, 47 May 28 19:55 /dev/tty47
crw--w---- 1 root tty 4, 48 May 28 19:55 /dev/tty48
crw--w---- 1 root tty 4, 49 May 28 19:55 /dev/tty49
crw--w---- 1 root tty 4, 5 May 28 19:55 /dev/tty5
crw--w---- 1 root tty 4, 50 May 28 19:55 /dev/tty50
crw--w---- 1 root tty 4, 51 May 28 19:55 /dev/tty51
crw--w---- 1 root tty 4, 52 May 28 19:55 /dev/tty52
crw--w---- 1 root tty 4, 53 May 28 19:55 /dev/tty53
crw--w---- 1 root tty 4, 54 May 28 19:55 /dev/tty54
crw--w---- 1 root tty 4, 55 May 28 19:55 /dev/tty55
crw--w---- 1 root tty 4, 56 May 28 19:55 /dev/tty56
crw--w---- 1 root tty 4, 57 May 28 19:55 /dev/tty57
crw--w---- 1 root tty 4, 58 May 28 19:55 /dev/tty58
crw--w---- 1 root tty 4, 59 May 28 19:55 /dev/tty59
crw--w---- 1 root tty 4, 6 May 28 19:55 /dev/tty6
crw--w---- 1 root tty 4, 60 May 28 19:55 /dev/tty60
crw--w---- 1 root tty 4, 61 May 28 19:55 /dev/tty61
crw--w---- 1 root tty 4, 62 May 28 19:55 /dev/tty62
crw--w---- 1 root tty 4, 63 May 28 19:55 /dev/tty63
crw--w---- 1 root tty 4, 7 May 28 19:55 /dev/tty7
crw--w---- 1 root tty 4, 8 May 28 19:55 /dev/tty8
crw--w---- 1 root tty 4, 9 May 28 19:55 /dev/tty9
crw-rw---- 1 root dialout 204, 64 May 28 19:55 /dev/ttyAMA0
crw------- 1 root root 5, 3 May 28 19:55 /dev/ttyprintk
crw-rw---- 1 root dialout 4, 64 May 28 19:55 /dev/ttyS0

 

pi@raspberrypi:~/JennicModuleProgrammer/Build $ gpio -v
gpio version: 2.52
Copyright (c) 2012-2018 Gordon Henderson
This is free software with ABSOLUTELY NO WARRANTY.
For details type: gpio -warranty

Raspberry Pi Details:
Type: Pi 3B+, Revision: 03, Memory: 1024MB, Maker: Sony
* Device tree is enabled.
*--> Raspberry Pi 3 Model B Plus Rev 1.3
* This Raspberry Pi supports user-level GPIO access.
pi@raspberrypi:~/JennicModuleProgrammer/Build $ gpio readall
+-----+-----+---------+------+---+---Pi 3B+-+---+------+---------+-----+-----+
| BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM |
+-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+
| | | 3.3v | | | 1 || 2 | | | 5v | | |
| 2 | 8 | SDA.1 | IN | 1 | 3 || 4 | | | 5v | | |
| 3 | 9 | SCL.1 | IN | 1 | 5 || 6 | | | 0v | | |
| 4 | 7 | GPIO. 7 | IN | 1 | 7 || 8 | 1 | ALT0 | TxD | 15 | 14 |
| | | 0v | | | 9 || 10 | 0 | ALT0 | RxD | 16 | 15 |
| 17 | 0 | GPIO. 0 | OUT | 1 | 11 || 12 | 0 | IN | GPIO. 1 | 1 | 18 |
| 27 | 2 | GPIO. 2 | OUT | 0 | 13 || 14 | | | 0v | | |
| 22 | 3 | GPIO. 3 | IN | 0 | 15 || 16 | 0 | IN | GPIO. 4 | 4 | 23 |
| | | 3.3v | | | 17 || 18 | 0 | IN | GPIO. 5 | 5 | 24 |
| 10 | 12 | MOSI | IN | 0 | 19 || 20 | | | 0v | | |
| 9 | 13 | MISO | IN | 0 | 21 || 22 | 0 | IN | GPIO. 6 | 6 | 25 |
| 11 | 14 | SCLK | IN | 0 | 23 || 24 | 1 | IN | CE0 | 10 | 8 |
| | | 0v | | | 25 || 26 | 1 | IN | CE1 | 11 | 7 |
| 0 | 30 | SDA.0 | IN | 1 | 27 || 28 | 1 | IN | SCL.0 | 31 | 1 |
| 5 | 21 | GPIO.21 | IN | 1 | 29 || 30 | | | 0v | | |
| 6 | 22 | GPIO.22 | IN | 1 | 31 || 32 | 0 | IN | GPIO.26 | 26 | 12 |
| 13 | 23 | GPIO.23 | IN | 0 | 33 || 34 | | | 0v | | |
| 19 | 24 | GPIO.24 | IN | 0 | 35 || 36 | 0 | IN | GPIO.27 | 27 | 16 |
| 26 | 25 | GPIO.25 | IN | 0 | 37 || 38 | 0 | IN | GPIO.28 | 28 | 20 |
| | | 0v | | | 39 || 40 | 0 | IN | GPIO.29 | 29 | 21 |
+-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+
| BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM |
+-----+-----+---------+------+---+---Pi 3B+-+---+------+---------+-----+-----+
pi@raspberrypi:~/JennicModuleProgrammer/Build $

Merci d'avance pour votre aide.

Translate »