Plugin is not started aussi...

Ici un forum de discussion sur Zigate , sa mise en place , les plugin , l'utilisation avec Domoticz
pipiche
Messages : 1417
Enregistré le : 04 avr. 2018, 16:16
Contact :

Re: Plugin is not started aussi...

Message par pipiche »

Peux-tu essayer la procédure suivante :

Code : Tout sélectionner

cd /tmp
git clone --recursive https://github.com/WiringPi/WiringPi-Python.git
cd WiringPi-Python
sudo apt-get install python-dev python-setuptools swig wiringpi
sudo python3 setup.py install
Cela devrait permettre l'installation de wiringpi pour Python3

Avant de relancer Domoticz, refait un

Code : Tout sélectionner

git pull

67jero
Messages : 48
Enregistré le : 24 mars 2019, 07:06

Re: Plugin is not started aussi...

Message par 67jero »

Voilà, j'ai également un fait également un shutdown du pi et voilà le log complet au démarrage de domoticz :


2019-04-19 15:17:47.804 Sunrise: 06:32:00 SunSet: 20:26:00
2019-04-19 15:17:47.805 Day length: 13:54:00 Sun at south: 13:05:00
2019-04-19 15:17:47.805 Civil twilight start: 05:58:00 Civil twilight end: 20:59:00
2019-04-19 15:17:47.805 Nautical twilight start: 05:17:00 Nautical twilight end: 21:41:00
2019-04-19 15:17:47.805 Astronomical twilight start: 04:31:00 Astronomical twilight end: 22:27:00
2019-04-19 15:17:47.478 Status: Domoticz V4.9700 (c)2012-2018 GizMoCuz
2019-04-19 15:17:47.487 Status: Build Hash: a3a45906, Date: 2018-06-23 16:24:51
2019-04-19 15:17:47.494 Status: Startup Path: /home/domoticz/domoticz/
2019-04-19 15:17:47.805 Status: EventSystem: reset all events...
2019-04-19 15:17:48.922 Status: PluginSystem: Started, Python version '3.5.3'.
2019-04-19 15:17:49.009 Active notification Subsystems: email (1/13)
2019-04-19 15:17:49.304 Starting shared server on: :::6144
2019-04-19 15:17:49.127 Status: WebServer(HTTP) started on address: :: with port 8080
2019-04-19 15:17:49.231 Status: WebServer(SSL) started on address: :: with port 443
2019-04-19 15:17:49.234 Status: Proxymanager started.
2019-04-19 15:17:49.305 Status: RxQueue: queue worker started...
2019-04-19 15:17:49.305 Status: TCPServer: shared server started...
2019-04-19 15:17:51.305 Status: (Pizigate) Started.
2019-04-19 15:17:51.306 Status: EventSystem: reset all events...
2019-04-19 15:17:51.307 Status: EventSystem: reset all device statuses...
2019-04-19 15:17:51.335 Status: PluginSystem: Entering work loop.
2019-04-19 15:17:51.509 Status: RFLink: Using serial port: /dev/ttyACM0
2019-04-19 15:17:52.280 (Pizigate) Debug: 0
2019-04-19 15:17:52.417 (Pizigate) Adding /usr/local/lib/python3.5/dist-packages to Python path
2019-04-19 15:17:52.417 (Pizigate) Adding /usr/lib/python3/dist-packages to Python path
2019-04-19 15:17:52.417 (Pizigate) Adding /usr/lib/python3.5/dist-packages to Python path
2019-04-19 15:17:52.422 (Pizigate) Configure Permit To Join
2019-04-19 15:17:52.422 (Pizigate) Request discovery mode for 2 seconds
2019-04-19 15:17:52.036 Status: (Pizigate) Entering work loop.
2019-04-19 15:17:52.038 Status: (Pizigate) Initialized version 4.2-beta, author 'zaraki673 pipiche38'
2019-04-19 15:17:52.268 Status: Python EventSystem: Initalizing event module.
2019-04-19 15:17:52.269 Status: EventSystem: Started
2019-04-19 15:17:52.269 Status: EventSystem: Queue thread started...
2019-04-19 15:17:52.279 Status: (Pizigate) Zigate plugin 4.2-beta started
2019-04-19 15:17:52.280 Status: (Pizigate) Python Version - 3.5.3 (default, Sep 27 2018, 17:25:39)
2019-04-19 15:17:52.280 [GCC 6.3.0 20170516]
2019-04-19 15:17:52.280 Status: (Pizigate) Switching Hearbeat to 5 s interval
2019-04-19 15:17:52.280 Status: (Pizigate) DomoticzVersion: 4.9700
2019-04-19 15:17:52.280 Status: (Pizigate) DomoticzHash: a3a45906
2019-04-19 15:17:52.280 Status: (Pizigate) DomoticzBuildTime: 2018-06-23 16:24:51
2019-04-19 15:17:52.280 Status: (Pizigate) The current Domoticz version doesn't support the plugin to enable a number of features
2019-04-19 15:17:52.280 Status: (Pizigate) switching to Domoticz V 4.10355 and above would help
2019-04-19 15:17:52.280 Status: (Pizigate) load PluginConf
2019-04-19 15:17:52.282 Status: (Pizigate) PluginConf: /home/domoticz/domoticz/plugins/Domoticz-Zigate/Conf/PluginConf.txt
2019-04-19 15:17:52.290 Status: (Pizigate) -vibrationAqarasensitivity: medium
2019-04-19 15:17:52.290 Status: (Pizigate) -enablegroupmanagement: 0
2019-04-19 15:17:52.290 Status: (Pizigate) -resetMotiondelay: 30
2019-04-19 15:17:52.291 Status: (Pizigate) -logFORMAT: 0
2019-04-19 15:17:52.291 Status: (Pizigate) -logLQI: 0
2019-04-19 15:17:52.291 Status: (Pizigate) -channel: ['11', '15', '19', '20', '25', '26']
2019-04-19 15:17:52.303 Status: (Pizigate) Plugin Database: DeviceList-3.txt
2019-04-19 15:17:52.338 Status: (Pizigate) DeviceConf loaded
2019-04-19 15:17:52.338 Status: (Pizigate) load ListOfDevice
2019-04-19 15:17:52.409 Status: (Pizigate) Entries loaded from /home/domoticz/domoticz/plugins/Domoticz-Zigate/Data/DeviceList-3.txt : 7
2019-04-19 15:17:52.439 Status: RFLink: Controller Initialized!...
2019-04-19 15:17:52.514 Status: RFLink Detected, Version: 1.1 Revision: 48 Build: 4
2019-04-19 15:17:52.420 Error: (Pizigate) Missing wiringpi module, please install WiringPi Python module
2019-04-19 15:17:52.524 Error: (Pizigate) onMessage : Frame size is bad, computed = 7 received = 13
2019-04-19 15:18:01.547 (Pizigate) FirmwareVersion not ready
2019-04-19 15:18:06.557 (Pizigate) FirmwareVersion not ready
2019-04-19 15:18:11.567 (Pizigate) FirmwareVersion not ready
2019-04-19 15:18:40.993 (Pizigate) FirmwareVersion not ready
2019-04-19 15:18:40.993 (Pizigate) Try to get Firmware version once more 4
2019-04-19 15:18:46.007 Status: (Pizigate) ZigateConf setting Channel(s) to: ['11', '15', '19', '20', '25', '26']
2019-04-19 15:18:46.008 Status: (Pizigate) setChannel - Channel set to : 06188800
2019-04-19 15:18:46.008 Status: (Pizigate) Set Zigate as a Coordinator
2019-04-19 15:18:46.008 Status: (Pizigate) ZigateConf - Setting UTC Time to : 609002326
2019-04-19 15:18:46.009 Status: (Pizigate) Start network
2019-04-19 15:18:50.972 (Pizigate) FirmwareVersion not ready
2019-04-19 15:18:55.984 (Pizigate) FirmwareVersion not ready
2019-04-19 15:19:00.994 (Pizigate) FirmwareVersion not ready
2019-04-19 15:19:00.994 (Pizigate) Try to get Firmware version once more 8
2019-04-19 15:19:06.003 (Pizigate) FirmwareVersion not ready
2019-04-19 15:19:06.206 (Pizigate) UpdateDevice - ( Door-4) 0:Closed
2019-04-19 15:19:06.414 Status: (Pizigate) Zigate in Permit Join: On
2019-04-19 15:19:06.524 Status: (Pizigate) Zigate addresses ieee: 00158d0001ed3322 , short addr: 0000
2019-04-19 15:19:06.524 Status: (Pizigate) Network state UP, PANID: 8912 extPANID: 0x87d040d795e4c963 Channel: 11
2019-04-19 15:19:06.628 Status: (Pizigate) Number of devices recently active in Zigate = 7
2019-04-19 15:19:06.730 Status: (Pizigate) Zigate addresses ieee: 00158d0001ed3322 , short addr: 0000
2019-04-19 15:19:06.730 Status: (Pizigate) Network state UP, PANID: 8912 extPANID: 0x87d040d795e4c963 Channel: 11
2019-04-19 15:19:06.834 Status: (Pizigate) Zigate addresses ieee: 00158d0001ed3322 , short addr: 0000
2019-04-19 15:19:06.834 Status: (Pizigate) Network state UP, PANID: 8912 extPANID: 0x87d040d795e4c963 Channel: 11
2019-04-19 15:19:06.946 Status: (Pizigate) Major Version Num: 0003
2019-04-19 15:19:06.946 Status: (Pizigate) Installer Version Number: 030f
2019-04-19 15:19:11.060 (Pizigate) UpdateDevice - ( Vibration-1) 0:Off
2019-04-19 15:19:11.175 (Pizigate) Start Network status : Success
2019-04-19 15:19:11.006 Status: (Pizigate) Plugin with Zigate firmware 030f correctly initialized
2019-04-19 15:19:11.174 Status: (Pizigate) Busy Node
2019-04-19 15:19:11.379 Status: (Pizigate) Zigate addresses ieee: 00158d0001ed3322 , short addr: 0000
2019-04-19 15:19:11.379 Status: (Pizigate) Network state UP, PANID: 8912 extPANID: 0x87d040d795e4c963 Channel: 11
2019-04-19 15:19:11.485 Status: (Pizigate) Major Version Num: 0003
2019-04-19 15:19:11.485 Status: (Pizigate) Installer Version Number: 030f
2019-04-19 15:19:17.403 (Pizigate) UpdateDevice - ( Door-4) 1:Open

pipiche
Messages : 1417
Enregistré le : 04 avr. 2018, 16:16
Contact :

Re: Plugin is not started aussi...

Message par pipiche »

J'pense qu'on va finir par y arriver

Peux-tu refaire

Code : Tout sélectionner

git pull
et relancer

67jero
Messages : 48
Enregistré le : 24 mars 2019, 07:06

Re: Plugin is not started aussi...

Message par 67jero »

C'est fait, voilà le log,

2019-04-19 16:27:55.987 Sunrise: 06:32:00 SunSet: 20:26:00
2019-04-19 16:27:55.987 Day length: 13:54:00 Sun at south: 13:05:00
2019-04-19 16:27:55.987 Civil twilight start: 05:58:00 Civil twilight end: 20:59:00
2019-04-19 16:27:55.987 Nautical twilight start: 05:17:00 Nautical twilight end: 21:41:00
2019-04-19 16:27:55.987 Astronomical twilight start: 04:31:00 Astronomical twilight end: 22:27:00
2019-04-19 16:27:55.676 Status: Domoticz V4.9700 (c)2012-2018 GizMoCuz
2019-04-19 16:27:55.689 Status: Build Hash: a3a45906, Date: 2018-06-23 16:24:51
2019-04-19 16:27:55.697 Status: Startup Path: /home/domoticz/domoticz/
2019-04-19 16:27:55.988 Status: EventSystem: reset all events...
2019-04-19 16:27:56.928 Active notification Subsystems: email (1/13)
2019-04-19 16:27:56.841 Status: PluginSystem: Started, Python version '3.5.3'.
2019-04-19 16:27:56.984 Status: WebServer(HTTP) started on address: :: with port 8080
2019-04-19 16:27:57.139 Starting shared server on: :::6144
2019-04-19 16:27:57.087 Status: WebServer(SSL) started on address: :: with port 443
2019-04-19 16:27:57.090 Status: Proxymanager started.
2019-04-19 16:27:57.139 Status: TCPServer: shared server started...
2019-04-19 16:27:57.140 Status: RxQueue: queue worker started...
2019-04-19 16:27:59.140 Status: (Pizigate) Started.
2019-04-19 16:27:59.141 Status: EventSystem: reset all events...
2019-04-19 16:27:59.141 Status: EventSystem: reset all device statuses...
2019-04-19 16:27:59.342 Status: RFLink: Using serial port: /dev/ttyACM0
2019-04-19 16:27:59.454 Status: Python EventSystem: Initalizing event module.
2019-04-19 16:27:59.455 Status: EventSystem: Started
2019-04-19 16:27:59.455 Status: EventSystem: Queue thread started...
2019-04-19 16:27:59.524 Status: PluginSystem: Entering work loop.
2019-04-19 16:28:00.324 (Pizigate) Debug: 0
2019-04-19 16:28:00.465 (Pizigate) Switch PiZigate in RUN mode
2019-04-19 16:28:00.538 (Pizigate) Configure Permit To Join
2019-04-19 16:28:00.538 (Pizigate) Request discovery mode for 2 seconds
2019-04-19 16:28:00.257 Status: (Pizigate) Entering work loop.
2019-04-19 16:28:00.259 Status: (Pizigate) Initialized version 4.2-beta, author 'zaraki673 pipiche38'
2019-04-19 16:28:00.273 Status: RFLink: Controller Initialized!...
2019-04-19 16:28:00.324 Status: (Pizigate) Zigate plugin 4.2-beta started
2019-04-19 16:28:00.324 Status: (Pizigate) Python Version - 3.5.3 (default, Sep 27 2018, 17:25:39)
2019-04-19 16:28:00.324 [GCC 6.3.0 20170516]
2019-04-19 16:28:00.324 Status: (Pizigate) Switching Hearbeat to 5 s interval
2019-04-19 16:28:00.324 Status: (Pizigate) DomoticzVersion: 4.9700
2019-04-19 16:28:00.324 Status: (Pizigate) DomoticzHash: a3a45906
2019-04-19 16:28:00.324 Status: (Pizigate) DomoticzBuildTime: 2018-06-23 16:24:51
2019-04-19 16:28:00.324 Status: (Pizigate) The current Domoticz version doesn't support the plugin to enable a number of features
2019-04-19 16:28:00.324 Status: (Pizigate) switching to Domoticz V 4.10355 and above would help
2019-04-19 16:28:00.324 Status: (Pizigate) load PluginConf
2019-04-19 16:28:00.326 Status: (Pizigate) PluginConf: /home/domoticz/domoticz/plugins/Domoticz-Zigate/Conf/PluginConf.txt
2019-04-19 16:28:00.333 Status: (Pizigate) -vibrationAqarasensitivity: medium
2019-04-19 16:28:00.333 Status: (Pizigate) -enablegroupmanagement: 0
2019-04-19 16:28:00.333 Status: (Pizigate) -resetMotiondelay: 30
2019-04-19 16:28:00.334 Status: (Pizigate) -logFORMAT: 0
2019-04-19 16:28:00.334 Status: (Pizigate) -logLQI: 0
2019-04-19 16:28:00.334 Status: (Pizigate) -channel: ['11', '15', '19', '20', '25', '26']
2019-04-19 16:28:00.343 Status: (Pizigate) Plugin Database: DeviceList-3.txt
2019-04-19 16:28:00.348 Status: RFLink Detected, Version: 1.1 Revision: 48 Build: 4
2019-04-19 16:28:00.385 Status: (Pizigate) DeviceConf loaded
2019-04-19 16:28:00.385 Status: (Pizigate) load ListOfDevice
2019-04-19 16:28:00.458 Status: (Pizigate) Entries loaded from /home/domoticz/domoticz/plugins/Domoticz-Zigate/Data/DeviceList-3.txt : 7
2019-04-19 16:28:00.640 Error: (Pizigate) onMessage : Frame size is bad, computed = 7 received = 13
2019-04-19 16:28:09.766 (Pizigate) FirmwareVersion not ready
2019-04-19 16:28:14.777 (Pizigate) FirmwareVersion not ready
2019-04-19 16:28:14.780 (Pizigate) ReadCluster 0101 - Dev: ea8e, EP:01 AttrID: 0505, AttrType: 23, AttrSize: 0004 Attribute: 00110000
2019-04-19 16:28:14.780 (Pizigate) ReadCluster 0101/0505 - Vibration Strenght - Attribute: 00110000
2019-04-19 16:28:14.983 Status: (Pizigate) Zigate in Permit Join: On
2019-04-19 16:28:15.096 Status: (Pizigate) Zigate addresses ieee: 00158d0001ed3322 , short addr: 0000
2019-04-19 16:28:15.096 Status: (Pizigate) Network state UP, PANID: 8912 extPANID: 0x87d040d795e4c963 Channel: 11
2019-04-19 16:28:15.201 Status: (Pizigate) Number of devices recently active in Zigate = 7
2019-04-19 16:28:15.303 Status: (Pizigate) Zigate addresses ieee: 00158d0001ed3322 , short addr: 0000
2019-04-19 16:28:15.303 Status: (Pizigate) Network state UP, PANID: 8912 extPANID: 0x87d040d795e4c963 Channel: 11
2019-04-19 16:28:19.764 (Pizigate) FirmwareVersion not ready
2019-04-19 16:29:02.407 (Pizigate) FirmwareVersion not ready
2019-04-19 16:29:02.407 (Pizigate) Try to get Firmware version once more 4
2019-04-19 16:29:02.510 Status: (Pizigate) Major Version Num: 0003
2019-04-19 16:29:02.510 Status: (Pizigate) Installer Version Number: 030f
2019-04-19 16:29:07.425 Status: (Pizigate) Plugin with Zigate firmware 030f correctly initialized

pipiche
Messages : 1417
Enregistré le : 04 avr. 2018, 16:16
Contact :

Re: Plugin is not started aussi...

Message par pipiche »

A suivre .. ca semble etre bon

67jero
Messages : 48
Enregistré le : 24 mars 2019, 07:06

Re: Plugin is not started aussi...

Message par 67jero »

Pour moi clairement, mais je ne vois pas les détails comme toi.
En tous cas un grand merci.

Répondre