je suis nouveau dans la communauté domoticz. je pense avoir cherché la réponse à mon probleme mais je n'arrive pas à m'en sortir.
j'ai installé le pizigate dans mon rasperry 3. j'ai fait les modif liées a cette version . il semble bien installé en temoigne le log ci dessous.
Code : Tout sélectionner
pi@raspberrypi:~/PiZiGate-tools/test $ sudo ./PiZiGate_test /dev/ttyAMA0
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
+ Packet received --> OK
size : 101
01 03 02 00 02 03 00 00 03
01 80 24 00 0d 45 01 00 00 00 15 8d 00 00 ce 20 90 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 03j'ai souhaité apairer une sonde de temperature xiaomi et un interrupteur pour les lumieres ikea.
et il ne se passe rien. les modules ne sont pas détectés alors que je les ai mis en mode pairing (appui long 5sec)...
je ne sais pas quoi faire.
merci pour votre aide.
Code : Tout sélectionner
2021-02-13 19:32:13.630 (test) checkPluginVersion - Start request version
2021-02-13 19:32:13.674 (test) checkPluginVersion - Version record: stable=4.11.015;beta=4.12.124;firmMajor=0003;firmMinor=031d Type: <class 'str'>
2021-02-13 19:32:30.105 (test) onDisconnect - Closing Name: 'Zigate Server Connection', Transport: 'TCP/IP', Protocol: 'HTTP', Address: '', Port: '9440', Baud: -1, Connected: False, Parent: 'None'
2021-02-13 19:32:30.948 (test) Debug Mode: 30, We do recommend to leave Verbors to None
2021-02-13 19:32:30.948 (test) 'HardwareID':'2'
2021-02-13 19:32:30.948 (test) 'HomeFolder':'/home/pi/domoticz/plugins/Domoticz-Zigate/'
2021-02-13 19:32:30.948 (test) 'StartupFolder':'/home/pi/domoticz/'
2021-02-13 19:32:30.948 (test) 'UserDataFolder':'/home/pi/domoticz/'
2021-02-13 19:32:30.948 (test) 'Database':'/home/pi/domoticz/domoticz.db'
2021-02-13 19:32:30.948 (test) 'Language':'en'
2021-02-13 19:32:30.949 (test) 'Version':'4.11'
2021-02-13 19:32:30.949 (test) 'Author':'zaraki673 pipiche38'
2021-02-13 19:32:30.949 (test) 'Name':'test'
2021-02-13 19:32:30.949 (test) 'Address':'0.0.0.0'
2021-02-13 19:32:30.949 (test) 'Port':'9999'
2021-02-13 19:32:30.949 (test) 'SerialPort':'/dev/ttyAMA0'
2021-02-13 19:32:30.949 (test) 'Key':'Zigate'
2021-02-13 19:32:30.949 (test) 'Mode1':'PI'
2021-02-13 19:32:30.949 (test) 'Mode3':'False'
2021-02-13 19:32:30.949 (test) 'Mode4':'9440'
2021-02-13 19:32:30.949 (test) 'Mode6':'30'
2021-02-13 19:32:30.949 (test) 'DomoticzVersion':'2020.2'
2021-02-13 19:32:30.949 (test) 'DomoticzHash':'b63341bc0'
2021-02-13 19:32:30.949 (test) 'DomoticzBuildTime':'2020-04-26 13:47:55'
2021-02-13 19:32:30.949 (test) Device count: 2
2021-02-13 19:32:30.949 (test) Device: 1 - ID: 1, Name: 'test - Zigate Status 2', nValue: 4, sValue: 'No Communication'
2021-02-13 19:32:30.949 (test) Device ID: '1'
2021-02-13 19:32:30.949 (test) Device Name: 'test - Zigate Status 2'
2021-02-13 19:32:30.949 (test) Device nValue: 4
2021-02-13 19:32:30.949 (test) Device sValue: 'No Communication'
2021-02-13 19:32:30.949 (test) Device LastLevel: 0
2021-02-13 19:32:30.949 (test) Device Options: {}
2021-02-13 19:32:30.949 (test) Device: 2 - ID: 2, Name: 'test - Zigate Notifications 2', nValue: 0, sValue: 'Zigate IEEE: 00158d0000ce2090'
2021-02-13 19:32:30.949 (test) Device ID: '2'
2021-02-13 19:32:30.949 (test) Device Name: 'test - Zigate Notifications 2'
2021-02-13 19:32:30.949 (test) Device nValue: 0
2021-02-13 19:32:30.949 (test) Device sValue: 'Zigate IEEE: 00158d0000ce2090'
2021-02-13 19:32:30.949 (test) Device LastLevel: 0
2021-02-13 19:32:30.949 (test) Device Options: {}
2021-02-13 19:32:30.950 (test) DomoticzVersion: 2020.2
2021-02-13 19:32:30.053 Status: (test) Stop directive received.
2021-02-13 19:32:30.054 Status: (test) Exiting work loop.
2021-02-13 19:32:30.105 Status: (test) onStop called
2021-02-13 19:32:30.105 Status: (test) Connection close: Name: 'ZiGate', Transport: 'Serial', Protocol: 'None', Address: '/dev/ttyAMA0', Port: '', Baud: 115200, Connected: False, Parent: 'None'
2021-02-13 19:32:30.107 Status: (test) Statistics on message
2021-02-13 19:32:30.107 Status: (test) ZiGate reacting time
2021-02-13 19:32:30.107 Status: (test) Max : 0 sec
2021-02-13 19:32:30.107 Status: (test) Average : 0 sec
2021-02-13 19:32:30.107 Status: (test) ZiGate processing time on Rx
2021-02-13 19:32:30.107 Status: (test) Max : 0 sec
2021-02-13 19:32:30.107 Status: (test) Average : 0 sec
2021-02-13 19:32:30.107 Status: (test) Sent:
2021-02-13 19:32:30.107 Status: (test) TX commands : 13
2021-02-13 19:32:30.107 Status: (test) Max Load (Queue) : 14
2021-02-13 19:32:30.107 Status: (test) Max aPDU (Queue) : 0
2021-02-13 19:32:30.107 Status: (test) Max nPDU (Queue) : 0
2021-02-13 19:32:30.107 Status: (test) TX failed : 0 (0.0%)
2021-02-13 19:32:30.107 Status: (test) TX timeout : 3 (23.08%)
2021-02-13 19:32:30.107 Status: (test) TX data timeout : 0 (0.0%)
2021-02-13 19:32:30.107 Status: (test) TX reTransmit : 0 (0.0%)
2021-02-13 19:32:30.107 Status: (test) TX APS Failure : 0 (0.0%)
2021-02-13 19:32:30.107 Status: (test) TX APS Ack : 0 (0.0%)
2021-02-13 19:32:30.107 Status: (test) TX APS Nck : 0 (0.0%)
2021-02-13 19:32:30.107 Status: (test) Received:
2021-02-13 19:32:30.108 Status: (test) RX frame : 24
2021-02-13 19:32:30.108 Status: (test) RX crc errors : 0 (0.0%)
2021-02-13 19:32:30.108 Status: (test) RX lentgh errors : 1 (4.17%)
2021-02-13 19:32:30.108 Status: (test) RX clusters : 0
2021-02-13 19:32:30.108 Status: (test) RX clusters KO : 0
2021-02-13 19:32:30.108 Status: (test) Operating time : 0 Hours 0 Mins 56 Secs
2021-02-13 19:32:30.354 Status: (test) Stopping threads.
2021-02-13 19:32:30.354 Status: (test) Stopped.
2021-02-13 19:32:30.354 Status: (test) Started.
2021-02-13 19:32:30.940 Status: (test) Entering work loop.
2021-02-13 19:32:30.942 Status: (test) Initialized version 4.11, author 'zaraki673 pipiche38'
2021-02-13 19:32:30.948 Status: (test) Zigate plugin stable-4.11.016 started
2021-02-13 19:32:30.948 Status: (test) Debug: 30
2021-02-13 19:32:30.950 Status: (test) load PluginConf
2021-02-13 19:32:30.954 Status: (test) channel set to 11
2021-02-13 19:32:30.954 Status: (test) filename set to /home/pi/domoticz/plugins/Domoticz-Zigate/Conf/PluginConf-02.json
2021-02-13 19:32:30.954 Status: (test) pluginHome set to /home/pi/domoticz/plugins/Domoticz-Zigate/
2021-02-13 19:32:30.954 Status: (test) homedirectory set to /home/pi/domoticz/plugins/Domoticz-Zigate/
2021-02-13 19:32:30.954 Status: (test) pluginData set to /home/pi/domoticz/plugins/Domoticz-Zigate/Data/
2021-02-13 19:32:30.954 Status: (test) pluginConfig set to /home/pi/domoticz/plugins/Domoticz-Zigate/Conf/
2021-02-13 19:32:30.954 Status: (test) pluginOTAFirmware set to /home/pi/domoticz/plugins/Domoticz-Zigate/OTAFirmware/
2021-02-13 19:32:30.954 Status: (test) pluginReports set to /home/pi/domoticz/plugins/Domoticz-Zigate/Reports/
2021-02-13 19:32:30.954 Status: (test) pluginWWW set to /home/pi/domoticz/plugins/Domoticz-Zigate/www/
2021-02-13 19:32:30.954 Status: (test) pluginLogs set to /home/pi/domoticz/plugins/Domoticz-Zigate/Logs/
2021-02-13 19:32:30.958 Status: (test) Python Version - 3.7.3 (default, Jul 25 2020, 13:03:44)
2021-02-13 19:32:30.958 [GCC 8.3.0]
2021-02-13 19:32:30.959 Status: (test) DomoticzVersion: 2020.2
2021-02-13 19:32:30.959 Status: (test) DomoticzHash: b63341bc0
2021-02-13 19:32:30.959 Status: (test) DomoticzBuildTime: 2020-04-26 13:47:55
2021-02-13 19:32:30.959 Status: (test) Opening DomoticzDB in raw
2021-02-13 19:32:30.973 Status: (test) Plugin Database: DeviceList-2.txt
2021-02-13 19:32:30.985 Status: (test) DeviceConf loaded
2021-02-13 19:32:30.105 Error: CConnection_disconnect, disconnection request from 'test' ignored. Transport does not exist.
2021-02-13 19:32:31.233 (test) runmode_with_gpiocommand
2021-02-13 19:32:31.233 (test) + Checkint GPIO PINs
2021-02-13 19:32:31.390 (test) + Checkint GPIO PINs
2021-02-13 19:32:31.487 (test) Decode0302 - PDMloadConfirmed: 00
2021-02-13 19:32:31.538 (test) Decode8024: Status: 01
2021-02-13 19:32:31.538 (test) setZigateIEEE - Set Zigate IEEE: 00158d0000ce2090
2021-02-13 19:32:31.538 (test) Decode8006 - MsgData: 01
2021-02-13 19:32:31.168 Status: (test) load ListOfDevice
2021-02-13 19:32:31.191 Status: (test) 1 Entries loaded from /home/pi/domoticz/plugins/Domoticz-Zigate/Data/DeviceList-2.txt
2021-02-13 19:32:31.192 Status: (test) Transport mode: PI
2021-02-13 19:32:31.228 Status: (test) Python version: ['3.7.3 (default, Jul 25 2020, 13:03:44) ', '[GCC 8.3.0]'] dist: ('debian', '10.8', '') linux_distribution: ('debian', '10.8', '') system: Linux machine: armv7l platform: Linux-5.10.11-v7+-armv7l-with-debian-10.8 uname: uname_result(system='Linux', node='raspberrypi', release='5.10.11-v7+', version='#1399 SMP Thu Jan 28 12:06:05 GMT 2021', machine='armv7l', processor='') version: #1399 SMP Thu Jan 28 12:06:05 GMT 2021 mac_ver: ('', ('', '', ''), '')
2021-02-13 19:32:31.433 Status: (test) ==> Transport Mode: auto
2021-02-13 19:32:31.434 Status: (test) Connection Name: Zigate, Transport: Serial, Address: /dev/ttyAMA0
2021-02-13 19:32:31.435 Status: (test) Connection open: Name: 'ZiGate', Transport: 'Serial', Protocol: 'None', Address: '/dev/ttyAMA0', Port: '', Baud: 115200, Connected: False, Parent: 'None'
2021-02-13 19:32:31.538 Status: (test) Start Network - Formed new network
2021-02-13 19:32:31.538 Status: (test) Zigate details IEEE: 00158d0000ce2090, NetworkID: 0000, Channel: 11, Status: 01: Success
2021-02-13 19:32:31.539 Status: (test) Non 'Factory new' Restart status: RUNNING
2021-02-13 19:32:50.083 Status: (test) ==> Transport Mode switch to: zigate31d
2021-02-13 19:32:50.084 Status: (test) ZiGate Classic
2021-02-13 19:32:50.084 Status: (test) Installer Version Number: 031d
2021-02-13 19:32:54.958 Status: (test) Request Disabling Accepting new Hardware
2021-02-13 19:32:55.379 Status: (test) Accepting new Hardware: Disable
2021-02-13 19:32:55.482 Status: (test) Number of devices recently active in Zigate = 0
2021-02-13 19:32:59.949 (test) Switch Blue Led On
2021-02-13 19:32:59.952 Status: (test) Zigate set to Certification : CE
2021-02-13 19:32:59.956 Status: (test) Start Web Server connection
2021-02-13 19:32:59.993 Status: (test) Web backend for Web User Interface started on port: 9440
2021-02-13 19:32:59.993 Status: (test) Plugin with Zigate firmware 031d correctly initialized
2021-02-13 19:33:00.199 Status: (test) TxPower Attenuation : 0 dBm
2021-02-13 19:33:05.114 (test) checkPluginVersion - Start request version
2021-02-13 19:33:05.135 (test) checkPluginVersion - Version record: stable=4.11.015;beta=4.12.124;firmMajor=0003;firmMinor=031d Type: <class 'str'>
2021-02-13 19:33:17.939 Status: (test) Erase Log History
2021-02-13 19:34:01.190 Status: (test) Request Accepting new Hardware for ever
2021-02-13 19:34:01.396 Status: (test) Accepting new Hardware: On
2021-02-13 19:36:25.123 Status: (test) Accepting new Hardware: On