bonjour à tous
j’ai installé ma domotique sur jeedom avec RPI3 sous raspbian, je ne suis pas trop à l’aise sur l’interprétation des log.
j’ai 2 google home et afin de les utiliser avec jeedom j’ai installé le plugin google cast.
les dépendances et le demon sont ok mais lorsque je lance un scan il ne trouve rien.
Je suis sur livebox ma RPI est en direct sur le réseau de la box et la google home en wifi et elle est bien reconnu sur le réseau.
j’ai lu ce forum et l’ancien et je n’ai pas trouvé de réponse. merci d’avance pour votre aide
voici les logs (j’ai remplacé mon apikey par des points)
googlecast
[2020-01-03 10:36:14][DEBUG] : This is a message from googlecast program local
[2020-01-03 10:36:14][INFO] : Process stopped !
[2020-01-03 10:36:18][INFO] : Lancement démon googlecast : /usr/bin/python3 /var/www/html/plugins/googlecast/resources/googlecast.py --loglevel debug --socketport 55012 --sockethost 127.0.0.1 --callback http://127.0.0.1:80/plugins/googlecast/core/php/googlecast.api.php --apikey ............................................... --ttsweb http://192.168.1.37:80 --ttslang fr-FR --ttsengine gtts --ttsspeed 1.2 --ttscache 1 --ttsgapikey none --daemonname local --cyclefactor 1 --defaultstatus ' '
[2020-01-03 10:36:25][DEBUG] : This is a message from googlecast program local
[2020-01-03 10:36:25][INFO] : Process started. Sending known devices now...
[2020-01-03 10:37:06][DEBUG] : This is a message from googlecast program local
[2020-01-03 10:38:07][DEBUG] : This is a message from googlecast program local
googlecast_local
[2020-01-03 10:36:14][DEBUG] : GLOBAL------Signal 15 caught, exiting...
[2020-01-03 10:36:14][DEBUG] : GLOBAL------Shutdown
[2020-01-03 10:36:14][DEBUG] : GLOBAL------Removing PID file /tmp/googlecast.pid
[2020-01-03 10:36:14][DEBUG] : SENDER------Send to jeedom : {'stopped': 1, 'source': 'local'}
[2020-01-03 10:36:14][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2020-01-03 10:36:14][DEBUG] : http://127.0.0.1:80 "POST /plugins/googlecast/core/php/googlecast.api.php?apikey=................................. HTTP/1.1" 200 0
[2020-01-03 10:36:25][INFO] : ------------------------------------------------------
[2020-01-03 10:36:25][INFO] : ------------------------------------------------------
[2020-01-03 10:36:25][INFO] : GLOBAL------STARTING googlecast
[2020-01-03 10:36:25][INFO] : GLOBAL------Scan Timeout : 10
[2020-01-03 10:36:25][INFO] : GLOBAL------Scan Frequency : 60
[2020-01-03 10:36:25][INFO] : GLOBAL------Log level : debug
[2020-01-03 10:36:25][INFO] : GLOBAL------Socket port : 55012
[2020-01-03 10:36:25][INFO] : GLOBAL------Socket host : 127.0.0.1
[2020-01-03 10:36:25][INFO] : GLOBAL------PID file : /tmp/googlecast.pid
[2020-01-03 10:36:25][INFO] : GLOBAL------Apikey : *******************************
[2020-01-03 10:36:25][INFO] : GLOBAL------TTS Jeedom server : http://192.168.1.37:80
[2020-01-03 10:36:25][INFO] : GLOBAL------TTS default language : fr-FR
[2020-01-03 10:36:25][INFO] : GLOBAL------TTS default engine : gtts
[2020-01-03 10:36:25][INFO] : GLOBAL------TTS default speech speed : 1.2
[2020-01-03 10:36:25][INFO] : GLOBAL------TTS Google API Key (optional) : NOK
[2020-01-03 10:36:25][INFO] : GLOBAL------Cache status : True
[2020-01-03 10:36:25][INFO] : GLOBAL------Callback : http://127.0.0.1:80/plugins/googlecast/core/php/googlecast.api.php
[2020-01-03 10:36:25][INFO] : GLOBAL------Event cycle : 0.5
[2020-01-03 10:36:25][INFO] : GLOBAL------Main cycle : 2.0
[2020-01-03 10:36:25][INFO] : GLOBAL------Default status message :
[2020-01-03 10:36:25][INFO] : -----------------------------------------------------
[2020-01-03 10:36:25][DEBUG] : Writing PID 11574 to /tmp/googlecast.pid
[2020-01-03 10:36:25][DEBUG] : Init request module v2.12.4
[2020-01-03 10:36:25][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2020-01-03 10:36:25][DEBUG] : http://127.0.0.1:80 "GET /plugins/googlecast/core/php/googlecast.api.php?apikey=........................................... HTTP/1.1" 200 0
[2020-01-03 10:36:25][INFO] : GLOBAL------Network communication to jeedom OK.
[2020-01-03 10:36:25][DEBUG] : SOCKETHANDLER------Socket interface started
[2020-01-03 10:36:25][DEBUG] : SOCKETHANDLER------LoopNetServer Thread started
[2020-01-03 10:36:25][INFO] : GLOBAL------Socket started...
[2020-01-03 10:36:25][DEBUG] : SOCKETHANDLER------Listening on: [127.0.0.1:55012]
[2020-01-03 10:36:25][INFO] : GLOBAL------Waiting for messages...
[2020-01-03 10:36:25][DEBUG] : WARMUPNOTIF------ Checking file generation...
[2020-01-03 10:36:25][DEBUG] : SENDER------Send to jeedom : {'started': 1, 'source': 'local'}
[2020-01-03 10:36:25][DEBUG] : SCANNER------ Start scanning...
[2020-01-03 10:36:25][DEBUG] : SCANNER------ No need to scan network, all devices are present
[2020-01-03 10:36:25][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2020-01-03 10:36:25][DEBUG] : http://127.0.0.1:80 "POST /plugins/googlecast/core/php/googlecast.api.php?apikey=...........................................HTTP/1.1" 200 0
[2020-01-03 10:37:05][DEBUG] : SOCKETHANDLER------Client connected to [127.0.0.1:42294]
[2020-01-03 10:37:05][DEBUG] : SOCKETHANDLER------Message read from socket: {"apikey":"....................................................","cmd":"learnin"}
[2020-01-03 10:37:05][DEBUG] : SOCKETHANDLER------Client disconnected from [127.0.0.1:42294]
[2020-01-03 10:37:06][DEBUG] : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
[2020-01-03 10:37:06][DEBUG] : SOCKET-READ------Received command from jeedom : learnin
[2020-01-03 10:37:06][DEBUG] : SOCKET-READ------Enter in learn mode
[2020-01-03 10:37:06][DEBUG] : SENDER------Send to jeedom : {'learn_mode': 1, 'source': 'local'}
[2020-01-03 10:37:06][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2020-01-03 10:37:06][DEBUG] : http://127.0.0.1:80 "POST /plugins/googlecast/core/php/googlecast.api.php?apikey=............................................................. HTTP/1.1" 200 0
[2020-01-03 10:37:07][DEBUG] : SCANNER------ Start scanning...
[2020-01-03 10:37:07][DEBUG] : MEMORY---- Total CPU time used : 6.178s (14.71%) | Last 42 sec : 6.178s (14.71%) | Memory : 35 Mo
[2020-01-03 10:37:07][DEBUG] : SCANNER------ Looking for chromecasts on network...
[2020-01-03 10:37:15][DEBUG] : Starting new HTTP connection (1): record[a,in-unique,ae6a04ae-dd4d-0827-46f9-6bf0f4170b80.local.]=120
[2020-01-03 10:37:15][ERROR] : Failed to connect. No retries.
[2020-01-03 10:37:15][DEBUG] : Starting new HTTP connection (1): record[a,in-unique,a1fa1e93-5738-7cc1-dea7-e6f9be6d2d5d.local.]=120
[2020-01-03 10:37:15][ERROR] : Failed to connect. No retries.
[2020-01-03 10:37:17][DEBUG] : SCANNER------ Start scanning...
[2020-01-03 10:37:17][DEBUG] : MEMORY---- Total CPU time used : 6.268s (12.05%) | Last 10 sec : 0.090s (0.90%) | Memory : 36 Mo
[2020-01-03 10:37:17][DEBUG] : SCANNER------ Looking for chromecasts on network...
[2020-01-03 10:37:25][DEBUG] : Starting new HTTP connection (2): record[a,in-unique,ae6a04ae-dd4d-0827-46f9-6bf0f4170b80.local.]=120
[2020-01-03 10:37:25][ERROR] : Failed to connect. No retries.
[2020-01-03 10:37:25][DEBUG] : Starting new HTTP connection (2): record[a,in-unique,a1fa1e93-5738-7cc1-dea7-e6f9be6d2d5d.local.]=120
[2020-01-03 10:37:25][ERROR] : Failed to connect. No retries.
[2020-01-03 10:37:27][DEBUG] : SCANNER------ Start scanning...
[2020-01-03 10:37:27][DEBUG] : MEMORY---- Total CPU time used : 6.361s (10.26%) | Last 10 sec : 0.093s (0.93%) | Memory : 36 Mo
[2020-01-03 10:37:27][DEBUG] : SCANNER------ Looking for chromecasts on network...
[2020-01-03 10:37:35][DEBUG] : Starting new HTTP connection (3): record[a,in-unique,ae6a04ae-dd4d-0827-46f9-6bf0f4170b80.local.]=120
[2020-01-03 10:37:35][ERROR] : Failed to connect. No retries.
[2020-01-03 10:37:35][DEBUG] : Starting new HTTP connection (3): record[a,in-unique,a1fa1e93-5738-7cc1-dea7-e6f9be6d2d5d.local.]=120
[2020-01-03 10:37:35][ERROR] : Failed to connect. No retries.
[2020-01-03 10:37:37][DEBUG] : SCANNER------ Start scanning...
[2020-01-03 10:37:37][DEBUG] : MEMORY---- Total CPU time used : 6.427s (8.93%) | Last 10 sec : 0.066s (0.66%) | Memory : 36 Mo
[2020-01-03 10:37:37][DEBUG] : SCANNER------ Looking for chromecasts on network...
[2020-01-03 10:37:47][DEBUG] : Starting new HTTP connection (4): record[a,in-unique,ae6a04ae-dd4d-0827-46f9-6bf0f4170b80.local.]=120
[2020-01-03 10:37:47][ERROR] : Failed to connect. No retries.
[2020-01-03 10:37:47][DEBUG] : Starting new HTTP connection (4): record[a,in-unique,a1fa1e93-5738-7cc1-dea7-e6f9be6d2d5d.local.]=120
[2020-01-03 10:37:47][ERROR] : Failed to connect. No retries.
[2020-01-03 10:37:49][DEBUG] : SCANNER------ Start scanning...
[2020-01-03 10:37:49][DEBUG] : MEMORY---- Total CPU time used : 6.536s (7.78%) | Last 12 sec : 0.108s (0.90%) | Memory : 36 Mo
[2020-01-03 10:37:49][DEBUG] : SCANNER------ Looking for chromecasts on network...
[2020-01-03 10:37:57][DEBUG] : Starting new HTTP connection (5): record[a,in-unique,ae6a04ae-dd4d-0827-46f9-6bf0f4170b80.local.]=120
[2020-01-03 10:37:57][ERROR] : Failed to connect. No retries.
[2020-01-03 10:37:57][DEBUG] : Starting new HTTP connection (5): record[a,in-unique,a1fa1e93-5738-7cc1-dea7-e6f9be6d2d5d.local.]=120
[2020-01-03 10:37:57][ERROR] : Failed to connect. No retries.
[2020-01-03 10:37:59][DEBUG] : SCANNER------ Start scanning...
[2020-01-03 10:37:59][DEBUG] : MEMORY---- Total CPU time used : 6.608s (7.03%) | Last 10 sec : 0.073s (0.73%) | Memory : 36 Mo
[2020-01-03 10:37:59][DEBUG] : SCANNER------ Looking for chromecasts on network...
[2020-01-03 10:38:07][INFO] : HEARTBEAT------Quitting learn mode (60s elapsed)
[2020-01-03 10:38:07][DEBUG] : SENDER------Send to jeedom : {'learn_mode': 0, 'source': 'local'}
[2020-01-03 10:38:07][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2020-01-03 10:38:07][DEBUG] : http://127.0.0.1:80 "POST /plugins/googlecast/core/php/googlecast.api.php?apikey=..................................................... HTTP/1.1" 200 0
[2020-01-03 10:38:09][DEBUG] : Starting new HTTP connection (6): record[a,in-unique,ae6a04ae-dd4d-0827-46f9-6bf0f4170b80.local.]=120
[2020-01-03 10:38:09][ERROR] : Failed to connect. No retries.
[2020-01-03 10:38:09][DEBUG] : Starting new HTTP connection (6): record[a,in-unique,a1fa1e93-5738-7cc1-dea7-e6f9be6d2d5d.local.]=120
[2020-01-03 10:38:09][ERROR] : Failed to connect. No retries.
[2020-01-03 10:39:11][DEBUG] : SCANNER------ Start scanning...
[2020-01-03 10:39:11][DEBUG] : MEMORY---- Total CPU time used : 6.943s (4.18%) | Last 72 sec : 0.335s (0.47%) | Memory : 36 Mo
[2020-01-03 10:39:11][DEBUG] : SCANNER------ No need to scan network, all devices are present
[2020-01-03 10:40:13][DEBUG] : SCANNER------ Start scanning...
[2020-01-03 10:40:13][DEBUG] : MEMORY---- Total CPU time used : 7.155s (3.14%) | Last 62 sec : 0.212s (0.34%) | Memory : 36 Mo
[2020-01-03 10:40:13][DEBUG] : SCANNER------ No need to scan network, all devices are present
cordialement CARI