Bonjour à tous,
Je viens alimenter ce fil de mes difficultés.
J'ai un jeedom sur syno Debian 9, et un raspberry qui me sert juste d'antenne.
Auparavant, le binome fonctionnait plutôt bien et stable. j'ai réinistialisé mon raspberry et depuis rien ne va plus:
-Au début pas plus d'une journée de stabilité
- update, upgrade du rpi et puis rpi-update, bluepy update : et là lorsque je lance le deamon sur le rpi (après réinstallation des dépendances) il n'accroche plus du tout:
Code : Tout sélectionner
[2019-03-12 21:50:22][DEBUG] : http://192.168.x.xxx:xxx "POST /plugins/blea/core/php/jeeBlea.php?apikey=N*******************W HTTP/1.1" 200 0
[2019-03-12 21:50:23][DEBUG] : HEARTBEAT------Bluepy-Helper cpu is 0.1 and pid is 21268 (Highest CPU 1.0)
[2019-03-12 21:50:27][DEBUG] : HEARTBEAT------Virtually send rssi to device connected as they are not seen anymore AC:E5:4B:0B:AC:E6
[2019-03-12 21:50:27][DEBUG] : HEARTBEAT------Virtually send rssi to device connected as they are not seen anymore 3D:CA:4B:0B:AC:E6
[2019-03-12 21:50:27][DEBUG] : HEARTBEAT------Virtually send rssi to device connected as they are not seen anymore 05:33:4B:0B:AC:E6
[2019-03-12 21:50:27][DEBUG] : HEARTBEAT------Virtually send rssi to device connected as they are not seen anymore 3F:2E:4B:0B:AC:E6
[2019-03-12 21:50:27][DEBUG] : HEARTBEAT------Virtually send rssi to device connected as they are not seen anymore 3E:09:4B:0B:AC:E6
[2019-03-12 21:50:27][DEBUG] : HEARTBEAT------Virtually send rssi to device connected as they are not seen anymore CE:98:4B:0B:AC:E6
[2019-03-12 21:50:27][DEBUG] : SENDER------Send to jeedom : {u'devices': {u'AC:E5:4B:0B:AC:E6': {'rssi': 'same', 'id': u'AC:E5:4B:0B:AC:E6', 'present': 1, 'source': 'pi_dashboard'}, u'3D:CA:4B:0B:AC:E6': {'rssi': 'same', 'id': u'3D:CA:4B:0B:AC:E6', 'present': 1, 'source': 'pi_dashboard'}, u'3E:09:4B:0B:AC:E6': {'rssi': 'same', 'id': u'3E:09:4B:0B:AC:E6', 'present': 1, 'source': 'pi_dashboard'}, u'3F:2E:4B:0B:AC:E6': {'rssi': 'same', 'id': u'3F:2E:4B:0B:AC:E6', 'present': 1, 'source': 'pi_dashboard'}, u'05:33:4B:0B:AC:E6': {'rssi': 'same', 'id': u'05:33:4B:0B:AC:E6', 'present': 1, 'source': 'pi_dashboard'}, u'CE:98:4B:0B:AC:E6': {'rssi': 'same', 'id': u'CE:98:4B:0B:AC:E6', 'present': 1, 'source': 'pi_dashboard'}}}
[2019-03-12 21:50:27][DEBUG] : Starting new HTTP connection (1): 192.168.2.112
[2019-03-12 21:50:28][DEBUG] : http://192.168.x.xxx:xxx "POST /plugins/blea/core/php/jeeBlea.php?apikey=N************************W HTTP/1.1" 200 0
Can't init device hci0: Connection timed out (110)
[2019-03-12 21:50:32][WARNING] : GLOBAL------Exception on scanner (trying to resolve by myself 7): Failed to execute mgmt cmd 'scanend'
[2019-03-12 21:50:34][DEBUG] : HEARTBEAT------Bluepy-Helper cpu is 0.0 and pid is 21268 (Highest CPU 1.0)
Can't init device hci0: Connection timed out (110)
[2019-03-12 21:50:43][WARNING] : GLOBAL------Exception on scanner (trying to resolve by myself 8): Failed to execute mgmt cmd 'scanend'
[2019-03-12 21:50:45][DEBUG] : HEARTBEAT------Bluepy-Helper cpu is 0.0 and pid is 21268 (Highest CPU 1.0)
[2019-03-12 21:50:52][DEBUG] : SENDER------Send to jeedom : {'heartbeat': 1, 'source': 'pi_dashboard'}
[2019-03-12 21:50:52][DEBUG] : Starting new HTTP connection (1): 192.168.x.xxx
[2019-03-12 21:50:52][DEBUG] : http://192.168.x.xxx:xxx "POST /plugins/blea/core/php/jeeBlea.php?apikey=N***********************W HTTP/1.1" 200 0
Can't init device hci0: Connection timed out (110)
[2019-03-12 21:50:53][ERROR] : GLOBAL------Exception on scanner (didn't resolve there is an issue with bluetooth) : Failed to execute mgmt cmd 'scanend'
[2019-03-12 21:50:53][INFO] : GLOBAL------Shutting down due to errors
[2019-03-12 21:50:53][DEBUG] : SENDER------Send to jeedom : {'source': 'pi_dashboard', 'learn_mode': 0}
[2019-03-12 21:50:53][DEBUG] : Starting new HTTP connection (1): 192.168.x.xxx
[2019-03-12 21:50:54][DEBUG] : http://192.168.x.xxx:xxx "POST /plugins/blea/core/php/jeeBlea.php?apikey=N**********************W HTTP/1.1" 200 0
[2019-03-12 21:50:55][DEBUG] : GLOBAL------Shutdown
[2019-03-12 21:50:55][DEBUG] : GLOBAL------Removing PID file /tmp/blead.pid
[2019-03-12 21:50:55][DEBUG] : GLOBAL------Closing all potential bluetooth connection
[2019-03-12 21:50:55][DEBUG] : GLOBAL------This antenna should not keep a connection with this device, disconnecting AC:E5:4B:0B:AC:E6
[2019-03-12 21:50:55][DEBUG] : CONNECTOR------Disconnecting... AC:E5:4B:0B:AC:E6
[2019-03-12 21:50:55][DEBUG] : CONNECTOR------Disconnected...AC:E5:4B:0B:AC:E6
[2019-03-12 21:50:55][DEBUG] : Connection closed for AC:E5:4B:0B:AC:E6
[2019-03-12 21:50:55][DEBUG] : GLOBAL------This antenna should not keep a connection with this device, disconnecting 3D:CA:4B:0B:AC:E6
[2019-03-12 21:50:55][DEBUG] : CONNECTOR------Disconnecting... 3D:CA:4B:0B:AC:E6
[2019-03-12 21:50:55][DEBUG] : CONNECTOR------Disconnected...3D:CA:4B:0B:AC:E6
[2019-03-12 21:50:55][DEBUG] : Connection closed for 3D:CA:4B:0B:AC:E6
[2019-03-12 21:50:55][DEBUG] : GLOBAL------This antenna should not keep a connection with this device, disconnecting 3E:09:4B:0B:AC:E6
[2019-03-12 21:50:55][DEBUG] : CONNECTOR------Disconnecting... 3E:09:4B:0B:AC:E6
[2019-03-12 21:50:55][DEBUG] : CONNECTOR------Disconnected...3E:09:4B:0B:AC:E6
[2019-03-12 21:50:55][DEBUG] : Connection closed for 3E:09:4B:0B:AC:E6
[2019-03-12 21:50:55][DEBUG] : GLOBAL------This antenna should not keep a connection with this device, disconnecting 3F:2E:4B:0B:AC:E6
[2019-03-12 21:50:55][DEBUG] : CONNECTOR------Disconnecting... 3F:2E:4B:0B:AC:E6
[2019-03-12 21:50:55][DEBUG] : CONNECTOR------Disconnected...3F:2E:4B:0B:AC:E6
[2019-03-12 21:50:55][DEBUG] : Connection closed for 3F:2E:4B:0B:AC:E6
[2019-03-12 21:50:55][DEBUG] : GLOBAL------This antenna should not keep a connection with this device, disconnecting 05:33:4B:0B:AC:E6
[2019-03-12 21:50:55][DEBUG] : CONNECTOR------Disconnecting... 05:33:4B:0B:AC:E6
[2019-03-12 21:50:55][DEBUG] : CONNECTOR------Disconnected...05:33:4B:0B:AC:E6
[2019-03-12 21:50:55][DEBUG] : Connection closed for 05:33:4B:0B:AC:E6
[2019-03-12 21:50:55][DEBUG] : GLOBAL------This antenna should not keep a connection with this device, disconnecting CE:98:4B:0B:AC:E6
[2019-03-12 21:50:55][DEBUG] : CONNECTOR------Disconnecting... CE:98:4B:0B:AC:E6
[2019-03-12 21:50:55][DEBUG] : CONNECTOR------Disconnected...CE:98:4B:0B:AC:E6
[2019-03-12 21:50:55][DEBUG] : Connection closed for CE:98:4B:0B:AC:E6
[2019-03-12 21:50:56][DEBUG] : SOCKETHANDLER------LoopNetServer Thread stopped
[2019-03-12 21:50:56][DEBUG] : Exit 0
Si je lance un
=>down
puis je relance le deamon sur l'antenne et le hci0 redevient down...
Voilà, j'ai exploré différents fils sur ce forum traitant de ce plugin, mais j'ai a priori rien trouvé de probant concernant ce problème.
Merci pour votre aide.
Djo