pour les logs, en fonction des logs, j'ai deux comportement différents , par contre 2 résultats identique => ça marche pas
Code : Tout sélectionner
2021-02-09 18:36:06.974 Sunrise: 08:07:00 SunSet: 18:24:00
2021-02-09 18:36:06.974 Day length: 10:17:00 Sun at south: 13:16:00
2021-02-09 18:36:06.974 Civil twilight start: 07:38:00 Civil twilight end: 18:54:00
2021-02-09 18:36:06.974 Nautical twilight start: 07:04:00 Nautical twilight end: 19:27:00
2021-02-09 18:36:06.974 Astronomical twilight start: 06:31:00 Astronomical twilight end: 20:01:00
2021-02-09 18:36:06.941 Status: Domoticz V2020.2 (build 12230) (c)2012-2020 GizMoCuz
2021-02-09 18:36:06.941 Status: Build Hash: 72d6b26e3-modified, Date: 2020-07-19 07:50:32
2021-02-09 18:36:06.941 Status: Startup Path: /home/pi/domoticz/
2021-02-09 18:36:07.042 Active notification Subsystems: clickatell, email, kodi (3/13)
2021-02-09 18:36:07.053 Starting shared server on: :::6144
2021-02-09 18:36:07.040 Status: PluginSystem: Started, Python version '3.7.3'.
2021-02-09 18:36:07.043 Status: WebServer(HTTP) started on address: :: with port 8080
2021-02-09 18:36:07.050 Status: WebServer(SSL) started on address: :: with port 443
2021-02-09 18:36:07.053 Status: TCPServer: shared server started...
2021-02-09 18:36:07.054 Status: RxQueue: queue worker started...
2021-02-09 18:36:09.174 Kodi: (kodi_media_player) Starting thread.
2021-02-09 18:36:09.274 Kodi: Starting I/O service thread.
2021-02-09 18:36:09.716 (test_pizigate) Debug Mode: 2, We do recommend to leave Verbors to None
2021-02-09 18:36:09.716 (test_pizigate) 'HardwareID':'9'
2021-02-09 18:36:09.716 (test_pizigate) 'HomeFolder':'/home/pi/domoticz/plugins/Domoticz-Zigate/'
2021-02-09 18:36:09.716 (test_pizigate) 'StartupFolder':'/home/pi/domoticz/'
2021-02-09 18:36:09.716 (test_pizigate) 'UserDataFolder':'/home/pi/domoticz/'
2021-02-09 18:36:09.716 (test_pizigate) 'Database':'/home/pi/domoticz/domoticz.db'
2021-02-09 18:36:09.716 (test_pizigate) 'Language':'fr'
2021-02-09 18:36:09.716 (test_pizigate) 'Version':'4.9'
2021-02-09 18:36:09.716 (test_pizigate) 'Author':'zaraki673 pipiche38'
2021-02-09 18:36:09.716 (test_pizigate) 'Name':'test_pizigate'
2021-02-09 18:36:09.716 (test_pizigate) 'Address':'0.0.0.0'
2021-02-09 18:36:09.716 (test_pizigate) 'Port':'9999'
2021-02-09 18:36:09.716 (test_pizigate) 'SerialPort':'/dev/serial0'
2021-02-09 18:36:09.716 (test_pizigate) 'Key':'Zigate'
2021-02-09 18:36:09.716 (test_pizigate) 'Mode1':'PI'
2021-02-09 18:36:09.716 (test_pizigate) 'Mode3':'False'
2021-02-09 18:36:09.716 (test_pizigate) 'Mode4':'9440'
2021-02-09 18:36:09.716 (test_pizigate) 'Mode6':'2'
2021-02-09 18:36:09.716 (test_pizigate) 'DomoticzVersion':'2020.2 (build 12230)'
2021-02-09 18:36:09.716 (test_pizigate) 'DomoticzHash':'72d6b26e3-modified'
2021-02-09 18:36:09.716 (test_pizigate) 'DomoticzBuildTime':'2020-07-19 07:50:32'
2021-02-09 18:36:09.716 (test_pizigate) Device count: 2
2021-02-09 18:36:09.716 (test_pizigate) Device: 1 - ID: 81, Name: 'test_pizigate - Zigate Status 9', nValue: 4, sValue: 'No Communication'
2021-02-09 18:36:09.716 (test_pizigate) Device ID: '81'
2021-02-09 18:36:09.716 (test_pizigate) Device Name: 'test_pizigate - Zigate Status 9'
2021-02-09 18:36:09.716 (test_pizigate) Device nValue: 4
2021-02-09 18:36:09.716 (test_pizigate) Device sValue: 'No Communication'
2021-02-09 18:36:09.716 (test_pizigate) Device LastLevel: 0
2021-02-09 18:36:09.716 (test_pizigate) Device Options: {}
2021-02-09 18:36:09.716 (test_pizigate) Device: 2 - ID: 82, Name: 'test_pizigate - Zigate Notifications 9', nValue: 0, sValue: ''
2021-02-09 18:36:09.716 (test_pizigate) Device ID: '82'
2021-02-09 18:36:09.716 (test_pizigate) Device Name: 'test_pizigate - Zigate Notifications 9'
2021-02-09 18:36:09.716 (test_pizigate) Device nValue: 0
2021-02-09 18:36:09.716 (test_pizigate) Device sValue: ''
2021-02-09 18:36:09.716 (test_pizigate) Device LastLevel: 0
2021-02-09 18:36:09.716 (test_pizigate) Device Options: {}
2021-02-09 18:36:09.716 (test_pizigate) DomoticzVersion: 2020.2 (build 12230)
2021-02-09 18:36:09.788 (test_pizigate) runmode_with_gpiocommand
2021-02-09 18:36:09.789 (test_pizigate) + Checkint GPIO PINs
2021-02-09 18:36:09.878 (test_pizigate) + Checkint GPIO PINs
2021-02-09 18:36:09.054 Status: Hardware Monitor: Started
2021-02-09 18:36:09.073 Status: Kodi: Started
2021-02-09 18:36:09.073 Status: (test_pizigate) Started.
2021-02-09 18:36:09.074 Status: EventSystem: reset all events...
2021-02-09 18:36:09.076 Status: EventSystem: reset all device statuses...
2021-02-09 18:36:09.079 Status: NotificationSystem: thread started...
2021-02-09 18:36:09.178 Status: Python EventSystem: Initalizing event module.
2021-02-09 18:36:09.179 Status: EventSystem: Started
2021-02-09 18:36:09.179 Status: EventSystem: Queue thread started...
2021-02-09 18:36:09.475 Status: PluginSystem: Entering work loop.
2021-02-09 18:36:09.714 Status: (test_pizigate) Entering work loop.
2021-02-09 18:36:09.714 Status: (test_pizigate) Initialized version 4.9, author 'zaraki673 pipiche38'
2021-02-09 18:36:09.716 Status: (test_pizigate) Zigate plugin stable-4.9.004 started
2021-02-09 18:36:09.716 Status: (test_pizigate) Debug: 2
2021-02-09 18:36:09.716 Status: (test_pizigate) load PluginConf
2021-02-09 18:36:09.717 Status: (test_pizigate) filename set to /home/pi/domoticz/plugins/Domoticz-Zigate/Conf/PluginConf-09.json
2021-02-09 18:36:09.717 Status: (test_pizigate) pluginHome set to /home/pi/domoticz/plugins/Domoticz-Zigate/
2021-02-09 18:36:09.717 Status: (test_pizigate) homedirectory set to /home/pi/domoticz/plugins/Domoticz-Zigate/
2021-02-09 18:36:09.717 Status: (test_pizigate) pluginData set to /home/pi/domoticz/plugins/Domoticz-Zigate/Data/
2021-02-09 18:36:09.717 Status: (test_pizigate) pluginConfig set to /home/pi/domoticz/plugins/Domoticz-Zigate/Conf/
2021-02-09 18:36:09.717 Status: (test_pizigate) pluginOTAFirmware set to /home/pi/domoticz/plugins/Domoticz-Zigate/OTAFirmware/
2021-02-09 18:36:09.717 Status: (test_pizigate) pluginReports set to /home/pi/domoticz/plugins/Domoticz-Zigate/Reports/
2021-02-09 18:36:09.717 Status: (test_pizigate) pluginWWW set to /home/pi/domoticz/plugins/Domoticz-Zigate/www/
2021-02-09 18:36:09.717 Status: (test_pizigate) pluginLogs set to /home/pi/domoticz/plugins/Domoticz-Zigate/Logs/
2021-02-09 18:36:09.718 Status: (test_pizigate) Switching Heartbeat to 5 s interval
2021-02-09 18:36:09.718 Status: (test_pizigate) Python Version - 3.7.3 (default, Jul 25 2020, 13:03:44)
2021-02-09 18:36:09.718 [GCC 8.3.0]
2021-02-09 18:36:09.718 Status: (test_pizigate) DomoticzVersion: 2020.2 (build 12230)
2021-02-09 18:36:09.718 Status: (test_pizigate) DomoticzHash: 72d6b26e3-modified
2021-02-09 18:36:09.718 Status: (test_pizigate) DomoticzBuildTime: 2020-07-19 07:50:32
2021-02-09 18:36:09.718 Status: (test_pizigate) Opening DomoticzDB in raw
2021-02-09 18:36:09.724 Status: (test_pizigate) Plugin Database: DeviceList-9.txt
2021-02-09 18:36:09.730 Status: (test_pizigate) DeviceConf loaded
2021-02-09 18:36:09.762 Status: (test_pizigate) --> Config loaded: dict_keys(['lumi.ctrl_86plug', 'lumi.ctrl_86plug.aq1', '902010/21A', '902010/22', '902010/28', '3AFE130104020015', 'LCT001', 'LTW013', 'RC 110', 'Pluzzy-TH', 'Pluzzy-Plug', 'Pluzzy-Door', 'Pluzzy-Motion', 'SAL6ET1', 'TRV10RFM', 'RH3001', 'TS0201', 'TS0302', 'ZBT-ExtendedColor', 'WarningDevice', 'PST03A-v2.2.5', 'ZHA-CSW', 'Super TR', 'Thermostat', 'lumi.router', 'TS0002', 'TS0003', 'TS0011', 'TS0001', 'TS0012', 'TS0013', 'RB 248 T', 'RB 285 C', 'EH-ZB-HACT', 'EH-ZB-SPD', 'EH-ZB-RTS', 'EH-ZB-BMS', 'EH-ZB-VACT', 'EH-ZB-LMACT', 'EH-ZB-SPD-V2', 'Shutters central remote switch', 'Remote switch', 'Micromodule switch', 'Shutter switch with neutral', 'DIN power consumption module', 'Dimmer switch wo neutral', 'Double gangs remote switch', 'Mobile outlet', 'Connected outlet', 'Cable outlet', 'FB56-ZCW08KU1.1', 'Lamp_01', 'SPE600', 'LXN56-DC27LX1.1', 'SPZB0001', 'Zigate-Router', 'TI0001', '3AFE140103020000', '3AFE14010402000D', '3AFE170100510001', '3AFE28010402000D', 'LCT024', 'LTA001', 'LTW001', 'LTC001', 'RWL021', 'SML001', 'LTW004', 'LCT003', 'LCT015', 'LLC010', 'LCT007', 'LST002', 'SML002', 'LCT010', 'LWB006', 'CLA60 TW OSRAM', 'LIGHTIFY Indoor Flex RGBW', 'Plug Z3', 'Plug 01', 'PAR16 50 TW', 'Lightify Switch Mini', 'LIGHTIFY Outdoor Flex RGBW', 'ZPLUG', 'ZMOVE', 'ZHUM', 'VoletBSO-Profalux', 'Telecommande-Profalux', 'Volet-Profalux', 'BSO-Profalux', 'TRADFRI bulb E14 WS 470lm', 'TRADFRI motion sensor', 'TRADFRI control outlet', 'TRADFRI onoff switch', 'FLOALT panel WS 30x90', 'TRADFRI bulb E27 WS opal 1000lm', 'TRADFRI bulb E27 CWS opal 600lm', 'TRADFRI bulb E12 WS opal 400lm', 'TRADFRI bulb E14 W opch 400lm', 'TRADFRI bulb E27 opal 1000lm', 'TRADFRI bulb E27 W opal 1000lm', 'TRADFRI bulb E27 WW clear 250lm', 'TRADFRI Signal Repeater', 'TRADFRI Driver 30W', 'TRADFRI bulb E27 WS opal 950lm', 'TRADFRI bulb E14 WS opal 600lm', 'TRADFRI bulb E26 WS opal 980lm', 'TRADFRI bulb E27 WS opal 980lm', 'FLOALT panel WS 60x60', 'TRADFRI bulb E26 WS clear 950lm', 'TRADFRI remote control', 'TRADFRI bulb GU10 WS 400lm', 'TRADFRI wireless dimmer', 'TRADFRI bulb E14 WS opal 400lm', 'TRADFRI bulb GU10 W 400lm', 'TRADFRI bulb E27 WS clear 950lm', 'GL-C-008S', 'GL-D-003Z', 'GLEDOPTO', 'GL-C-008Z', 'GL-MC-001', 'GL-C-009', 'GL-B-008Z', 'GL-FL-004TZS', 'GL-B-007Z', 'GL-C-008', '3c4e4fc81ed442efaf69353effcdfc5f', 'SmokeSensor-N', 'SmokeSensor-N-3.0', 'GAS_V15', 'SMOK_V16', 'COSensor-N', 'lumi.sensor_ht', 'lumi.sensor_smoke', 'lumi.sensor_wleak.aq1', 'lumi.remote.b286opcn01-bulb', 'lumi.remote.b686opcn01-bulb', 'lumi.ctrl_ln2', 'lumi.remote.b486opcn01-bulb', 'lumi.remote.b486opcn01', 'lumi.sensor_86sw2', 'lumi.sensor_natgas', 'lumi.plug.mmeu01', 'lumi.vibration.aq1', 'lumi.relay.c2acn01', 'lumi.ctrl_ln2.aq1', 'lumi.remote.b286opcn01', 'lumi.light.aqcn02', 'lumi.ctrl_neutral2', 'lumi.weather', 'lumi.remote.b686opcn01', 'lumi.plug', 'lumi.remote.b186acn01', 'lumi.sensor_cube.aqgl01', 'lumi.remote.b1acn01', 'lumi.sensor_motion', 'lumi.sensor_switch.aq3', 'lumi.remote.b286acn01', 'lumi.sensor_switch.aq2', 'lumi.sensor_motion.aq2', 'lumi.sensor_magnet', 'lumi.sen_ill.mgl01', 'lumi.sensor_magnet.aq2', 'lumi.sensor_cube', 'lumi.ctrl_neutral1', 'lumi.sensor_86sw1', 'lumi.sensor_switch'])
2021-02-09 18:36:09.762 Status: (test_pizigate) load ListOfDevice
2021-02-09 18:36:09.770 Status: (test_pizigate) Entries loaded from /home/pi/domoticz/plugins/Domoticz-Zigate/Data/DeviceList-9.txt
2021-02-09 18:36:09.770 Status: (test_pizigate) Transport mode: PI
2021-02-09 18:36:09.787 Status: (test_pizigate) 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-v7l+-armv7l-with-debian-10.7 uname: uname_result(system='Linux', node='raspberrypi', release='5.4.79-v7l+', version='#1373 SMP Mon Nov 23 13:27:40 GMT 2020', machine='armv7l', processor='') version: #1373 SMP Mon Nov 23 13:27:40 GMT 2020 mac_ver: ('', ('', '', ''), '')
2021-02-09 18:36:09.910 Status: (test_pizigate) Connection Name: Zigate, Transport: Serial, Address: /dev/serial0
2021-02-09 18:36:09.910 Status: (test_pizigate) Connection open: Name: 'ZiGate', Transport: 'Serial', Protocol: 'None', Address: '/dev/serial0', Port: '', Baud: 115200, Connected: False, Parent: 'None'
=> bon, dans ce cas, on note qu'il y a un truc avec le plugin et qu'il arrive pas à comuniquer correctement à la zigate,
j'ai bien sur testé tout les ports au cas meme si Fred de zigate.fr m'a confirmé d'utilisé ttys0 ou serial0 sur raspi4.