[2020-05-24 13:12:00][DEBUG] : SOCKETHANDLER------Client connected to [127.0.0.1:55826] [2020-05-24 13:12:00][DEBUG] : SOCKETHANDLER------Message read from socket: {"apikey": "XXXXXXXXXXXXX", "device": {"uuid": "d9a65e17-3ad9-bee3-edc4-744ff5fca77e", "source": "googlecast"}, "command": [{"cmd": "volume_set", "value": "50"}], "cmd": "action"} [2020-05-24 13:12:00][DEBUG] : SOCKETHANDLER------Client disconnected from [127.0.0.1:55826] [2020-05-24 13:12:00][DEBUG] : SOCKETHANDLER------Client connected to [127.0.0.1:55828] [2020-05-24 13:12:00][DEBUG] : SOCKETHANDLER------Message read from socket: {"apikey": "XXXXXXXXXXXXX", "device": {"uuid": "d9a65e17-3ad9-bee3-edc4-744ff5fca77e", "source": "googlecast"}, "command": [{"cmd": "tts", "value": "La temp\u00e9rature de la chambre est de 22 degr\u00e9s.", "vol": "#volume#"}], "cmd": "action"} [2020-05-24 13:12:00][DEBUG] : SOCKETHANDLER------Client disconnected from [127.0.0.1:55828] [2020-05-24 13:12:01][DEBUG] : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE [2020-05-24 13:12:01][DEBUG] : SOCKET-READ------Received command from jeedom : action [2020-05-24 13:12:01][DEBUG] : SOCKET-READ------Attempt an action on a device [2020-05-24 13:12:01][DEBUG] : SOCKET-READ------Action Thread Launched [2020-05-24 13:12:01][DEBUG] : ACTION------ action - volume_set - d9a65e17-3ad9-bee3-edc4-744ff5fca77e - 50 - none [2020-05-24 13:12:01][DEBUG] : ACTION------Volume set action [2020-05-24 13:12:01][ERROR] : ACTION------Error while playing action volume_set on low level commands : Socket client's thread is stopped. [2020-05-24 13:12:01][DEBUG] : SENDER------Send to jeedom : {'nowplaying': {'is_active_input': False, 'image': None, 'track': '', 'stream_type': '', 'album_artist': '', 'artist': '', 'is_stand_by': False, 'current_time': 0, 'status_text': 'ERROR', 'season': '', 'episode': '', 'uuid': 'd9a65e17-3ad9-bee3-edc4-744ff5fca77e', 'display_name': 'ERROR', 'title': '', 'series_title': '', 'online': True, 'player_state': 'ERROR', 'album_name': ''}, 'uuid': 'd9a65e17-3ad9-bee3-edc4-744ff5fca77e'} [2020-05-24 13:12:01][DEBUG] : Traceback (most recent call last): File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 1116, in action_handler gcast.set_volume(int(value)/100) File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/socket_client.py", line 1117, in set_volume self.send_message({MESSAGE_TYPE: "SET_VOLUME", "volume": {"level": volume}}) File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/controllers/__init__.py", line 90, in send_message self.send_message_nocheck(data, inc_session_id, callback_function) File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/controllers/__init__.py", line 94, in send_message_nocheck self._message_func(self.namespace, data, inc_session_id, callback_function) File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/socket_client.py", line 834, in send_platform_message callback_function_param, File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/socket_client.py", line 771, in send_message self._ensure_channel_connected(destination_id) File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/socket_client.py", line 883, in _ensure_channel_connected no_add_request_id=True, File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/socket_client.py", line 804, in send_message raise PyChromecastStopped("Socket client's thread is stopped.") pychromecast.pychromecast.error.PyChromecastStopped: Socket client's thread is stopped. [2020-05-24 13:12:01][DEBUG] : JEEDOMCHROMECAST------ Managed exception but no forced disconnection for d9a65e17-3ad9-bee3-edc4-744ff5fca77e [2020-05-24 13:12:01][DEBUG] : ACTION------Action volume_set not implemented or exception occured ! [2020-05-24 13:12:01][DEBUG] : SENDER------Send to jeedom : {'nowplaying': {'is_active_input': False, 'image': None, 'track': '', 'stream_type': '', 'album_artist': '', 'artist': '', 'is_stand_by': False, 'current_time': 0, 'status_text': 'CMD UNKNOWN', 'season': '', 'episode': '', 'uuid': 'd9a65e17-3ad9-bee3-edc4-744ff5fca77e', 'display_name': 'CMD UNKNOWN', 'title': '', 'series_title': '', 'online': True, 'player_state': 'CMD UNKNOWN', 'album_name': ''}, 'uuid': 'd9a65e17-3ad9-bee3-edc4-744ff5fca77e'} [2020-05-24 13:12:01][DEBUG] : SENDER------Send to jeedom : {'devices': {'d9a65e17-3ad9-bee3-edc4-744ff5fca77e': {'uuid': 'd9a65e17-3ad9-bee3-edc4-744ff5fca77e', 'status': {'uuid': 'd9a65e17-3ad9-bee3-edc4-744ff5fca77e', 'status_text': 'CMD UNKNOWN', 'display_name': 'CMD UNKNOWN'}, 'typemsg': 'error'}}} [2020-05-24 13:12:01][DEBUG] : JEEDOMCHROMECAST------ Detected changes in status of Salon [2020-05-24 13:12:01][DEBUG] : SENDER------Send to jeedom : {'devices': {'d9a65e17-3ad9-bee3-edc4-744ff5fca77e': {'online': True, 'uuid': 'd9a65e17-3ad9-bee3-edc4-744ff5fca77e', 'lastSent': 1590325921, 'lastOnline': 1590292823, 'typemsg': 'info', 'lastScan': 1590325862, 'status': {'artist': '', 'stream_type': '', 'is_active_input': False, 'app_id': '', 'display_name': '', 'icon_url': '', 'status_text': ' ', 'uuid': 'd9a65e17-3ad9-bee3-edc4-744ff5fca77e', 'title': '', 'is_busy': False, 'series_title': '', 'is_stand_by': False, 'player_state': ''}, 'lastOfflineSent': 1590292498, 'options': {'ignore_CEC': '0'}}}} [2020-05-24 13:12:01][DEBUG] : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE [2020-05-24 13:12:01][DEBUG] : SOCKET-READ------Received command from jeedom : action [2020-05-24 13:12:01][DEBUG] : SOCKET-READ------Attempt an action on a device [2020-05-24 13:12:01][DEBUG] : SOCKET-READ------Action Thread Launched [2020-05-24 13:12:01][DEBUG] : ACTION------ action - tts - d9a65e17-3ad9-bee3-edc4-744ff5fca77e - La tempĂ©rature de la chambre est de 22 degrĂ©s. - none [2020-05-24 13:12:01][DEBUG] : ACTION------TTS action [2020-05-24 13:12:01][ERROR] : ACTION------Error while playing action tts on low level commands : 'NoneType' object has no attribute 'volume_level' [2020-05-24 13:12:01][DEBUG] : SENDER------Send to jeedom : {'nowplaying': {'is_active_input': False, 'image': None, 'track': '', 'stream_type': '', 'album_artist': '', 'artist': '', 'is_stand_by': False, 'current_time': 0, 'status_text': 'ERROR', 'season': '', 'episode': '', 'uuid': 'd9a65e17-3ad9-bee3-edc4-744ff5fca77e', 'display_name': 'ERROR', 'title': '', 'series_title': '', 'online': True, 'player_state': 'ERROR', 'album_name': ''}, 'uuid': 'd9a65e17-3ad9-bee3-edc4-744ff5fca77e'} [2020-05-24 13:12:01][DEBUG] : Traceback (most recent call last): File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 1291, in action_handler curvol = jcast.getCurrentVolume() File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 203, in getCurrentVolume return int(self.gcast.status.volume_level*100) AttributeError: 'NoneType' object has no attribute 'volume_level' [2020-05-24 13:12:01][DEBUG] : JEEDOMCHROMECAST------ Managed exception but no forced disconnection for d9a65e17-3ad9-bee3-edc4-744ff5fca77e [2020-05-24 13:12:01][DEBUG] : ACTION------Action tts not implemented or exception occured ! [2020-05-24 13:12:01][DEBUG] : SENDER------Send to jeedom : {'nowplaying': {'is_active_input': False, 'image': None, 'track': '', 'stream_type': '', 'album_artist': '', 'artist': '', 'is_stand_by': False, 'current_time': 0, 'status_text': 'CMD UNKNOWN', 'season': '', 'episode': '', 'uuid': 'd9a65e17-3ad9-bee3-edc4-744ff5fca77e', 'display_name': 'CMD UNKNOWN', 'title': '', 'series_title': '', 'online': True, 'player_state': 'CMD UNKNOWN', 'album_name': ''}, 'uuid': 'd9a65e17-3ad9-bee3-edc4-744ff5fca77e'} [2020-05-24 13:12:01][DEBUG] : JEEDOMCHROMECAST------ Detected changes in status of Salon [2020-05-24 13:12:01][DEBUG] : SENDER------Send to jeedom : {'devices': {'d9a65e17-3ad9-bee3-edc4-744ff5fca77e': {'uuid': 'd9a65e17-3ad9-bee3-edc4-744ff5fca77e', 'lastSent': 1590325921, 'typemsg': 'info', 'options': {'ignore_CEC': '0'}, 'status': {'is_active_input': False, 'stream_type': '', 'artist': '', 'app_id': '', 'display_name': '', 'icon_url': '', 'status_text': ' ', 'uuid': 'd9a65e17-3ad9-bee3-edc4-744ff5fca77e', 'title': '', 'is_busy': False, 'series_title': '', 'is_stand_by': False, 'player_state': ''}, 'lastOnline': 1590292823, 'online': True, 'lastOfflineSent': 1590292498, 'lastScan': 1590325862}}} [2020-05-24 13:12:04][DEBUG] : SCANNER------ Start scanning... (schedule) [2020-05-24 13:12:04][DEBUG] : MEMORY---- Total CPU time used : 592.994s (0.79%) | Last 62 sec : 0.441s (0.71%) | Memory : 29 Mo [2020-05-24 13:12:30][DEBUG] : SOCKETHANDLER------Client connected to [127.0.0.1:55916] [2020-05-24 13:12:30][DEBUG] : SOCKETHANDLER------Message read from socket: {"apikey": "XXXXXXXXXXXXX", "device": {"uuid": "d9a65e17-3ad9-bee3-edc4-744ff5fca77e", "source": "googlecast"}, "command": [{"cmd": "volume_set", "value": "50"}], "cmd": "action"} [2020-05-24 13:12:30][DEBUG] : SOCKETHANDLER------Client disconnected from [127.0.0.1:55916] [2020-05-24 13:12:30][DEBUG] : SOCKETHANDLER------Client connected to [127.0.0.1:55918] [2020-05-24 13:12:30][DEBUG] : SOCKETHANDLER------Message read from socket: {"apikey": "XXXXXXXXXXXXX", "device": {"uuid": "d9a65e17-3ad9-bee3-edc4-744ff5fca77e", "source": "googlecast"}, "command": [{"cmd": "tts", "value": "La temp\u00e9rature de la chambre est de 22 degr\u00e9s.", "vol": "#volume#"}], "cmd": "action"} [2020-05-24 13:12:30][DEBUG] : SOCKETHANDLER------Client disconnected from [127.0.0.1:55918] [2020-05-24 13:12:30][DEBUG] : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE [2020-05-24 13:12:30][DEBUG] : SOCKET-READ------Received command from jeedom : action [2020-05-24 13:12:30][DEBUG] : SOCKET-READ------Attempt an action on a device [2020-05-24 13:12:30][DEBUG] : SOCKET-READ------Action Thread Launched [2020-05-24 13:12:30][DEBUG] : ACTION------ action - volume_set - d9a65e17-3ad9-bee3-edc4-744ff5fca77e - 50 - none [2020-05-24 13:12:30][DEBUG] : ACTION------Volume set action [2020-05-24 13:12:30][ERROR] : ACTION------Error while playing action volume_set on low level commands : Socket client's thread is stopped. [2020-05-24 13:12:30][DEBUG] : SENDER------Send to jeedom : {'nowplaying': {'is_active_input': False, 'image': None, 'track': '', 'stream_type': '', 'album_artist': '', 'artist': '', 'is_stand_by': False, 'current_time': 0, 'status_text': 'ERROR', 'season': '', 'episode': '', 'uuid': 'd9a65e17-3ad9-bee3-edc4-744ff5fca77e', 'display_name': 'ERROR', 'title': '', 'series_title': '', 'online': True, 'player_state': 'ERROR', 'album_name': ''}, 'uuid': 'd9a65e17-3ad9-bee3-edc4-744ff5fca77e'} [2020-05-24 13:12:30][DEBUG] : Traceback (most recent call last): File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 1116, in action_handler gcast.set_volume(int(value)/100) File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/socket_client.py", line 1117, in set_volume self.send_message({MESSAGE_TYPE: "SET_VOLUME", "volume": {"level": volume}}) File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/controllers/__init__.py", line 90, in send_message self.send_message_nocheck(data, inc_session_id, callback_function) File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/controllers/__init__.py", line 94, in send_message_nocheck self._message_func(self.namespace, data, inc_session_id, callback_function) File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/socket_client.py", line 834, in send_platform_message callback_function_param, File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/socket_client.py", line 804, in send_message raise PyChromecastStopped("Socket client's thread is stopped.") pychromecast.pychromecast.error.PyChromecastStopped: Socket client's thread is stopped. [2020-05-24 13:12:30][DEBUG] : JEEDOMCHROMECAST------ Forced disconnection after 3 exceptions for d9a65e17-3ad9-bee3-edc4-744ff5fca77e [2020-05-24 13:12:30][DEBUG] : JEEDOMCHROMECAST------ Detected changes in status of Salon [2020-05-24 13:12:30][DEBUG] : JEEDOMCHROMECAST------ Chromecast disconnected : Salon [2020-05-24 13:12:30][DEBUG] : ACTION------Action volume_set not implemented or exception occured ! [2020-05-24 13:12:30][DEBUG] : SENDER------Send to jeedom : {'nowplaying': {'is_active_input': False, 'image': None, 'track': '', 'stream_type': '', 'album_artist': '', 'artist': '', 'is_stand_by': False, 'current_time': 0, 'status_text': 'CMD UNKNOWN', 'season': '', 'episode': '', 'uuid': 'd9a65e17-3ad9-bee3-edc4-744ff5fca77e', 'display_name': 'CMD UNKNOWN', 'title': '', 'series_title': '', 'online': True, 'player_state': 'CMD UNKNOWN', 'album_name': ''}, 'uuid': 'd9a65e17-3ad9-bee3-edc4-744ff5fca77e'} [2020-05-24 13:12:30][DEBUG] : SENDER------Send to jeedom : {'devices': {'d9a65e17-3ad9-bee3-edc4-744ff5fca77e': {'uuid': 'd9a65e17-3ad9-bee3-edc4-744ff5fca77e', 'lastSent': 1590325921, 'typemsg': 'error', 'options': {'ignore_CEC': '0'}, 'status': {'is_active_input': False, 'stream_type': '', 'artist': '', 'app_id': '', 'display_name': 'CMD UNKNOWN', 'icon_url': '', 'status_text': 'CMD UNKNOWN', 'uuid': 'd9a65e17-3ad9-bee3-edc4-744ff5fca77e', 'title': '', 'is_busy': False, 'series_title': '', 'is_stand_by': False, 'player_state': ''}, 'lastOnline': 1590292823, 'online': True, 'lastOfflineSent': 1590292498, 'lastScan': 1590325924}}} [2020-05-24 13:12:31][DEBUG] : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE [2020-05-24 13:12:31][DEBUG] : SOCKET-READ------Received command from jeedom : action [2020-05-24 13:12:31][DEBUG] : SOCKET-READ------Attempt an action on a device [2020-05-24 13:12:31][DEBUG] : SOCKET-READ------Action Thread Launched [2020-05-24 13:12:31][DEBUG] : ACTION------ Device not connected ! [2020-05-24 13:12:31][DEBUG] : SENDER------Send to jeedom : {'nowplaying': {'is_active_input': False, 'image': None, 'track': '', 'stream_type': '', 'album_artist': '', 'artist': '', 'is_stand_by': False, 'current_time': 0, 'status_text': 'NOT CONNECTED', 'season': '', 'episode': '', 'uuid': 'd9a65e17-3ad9-bee3-edc4-744ff5fca77e', 'display_name': 'NOT CONNECTED', 'title': '', 'series_title': '', 'online': True, 'player_state': 'NOT CONNECTED', 'album_name': ''}, 'uuid': 'd9a65e17-3ad9-bee3-edc4-744ff5fca77e'} [2020-05-24 13:12:31][DEBUG] : SENDER------Send to jeedom : {'devices': {'d9a65e17-3ad9-bee3-edc4-744ff5fca77e': {'uuid': 'd9a65e17-3ad9-bee3-edc4-744ff5fca77e', 'status': {'uuid': 'd9a65e17-3ad9-bee3-edc4-744ff5fca77e', 'status_text': 'NOT CONNECTED', 'display_name': 'NOT CONNECTED'}, 'typemsg': 'error'}}} [2020-05-24 13:12:40][DEBUG] : ZEROCONF------ Signal detected from chromecast on zeroconf network : Salon [2020-05-24 13:12:40][DEBUG] : ZEROCONF------ Signal from chromecast will be processed soon (Salon)