LAB02-Research / HASS.Agent-Integration

HASS.Agent's Home Assistant integration. Adds notifications and mediaplayer capabilities to HASS.Agent - a Windows based client (companion app) for Home Assistant.
MIT License
113 stars 21 forks source link

media_player problem #14

Closed Glacjozo closed 1 year ago

Glacjozo commented 1 year ago

I am fighting it from 3 days, no success. I've instaled windows app and HA integration but my media.player is unavailable. 2 separate computers - the same problem. It says: This entity is no longer provided by hass_agent.... API is working ok (tested by http://ip:port). Sensors and other futures works ok.

LAB02-Admin commented 1 year ago

Could you please remove the integration, close hass.agent, restart home assistant, start hass.agent and then reinstall the integration.

And do you use mqtt? If so, is mqtt working properly?

Glacjozo commented 1 year ago

Integration reinstaled - no result. Still media_player unactive.

image image image image

mqtt works, discovers new entitys. Media player... not. I can't turn media player ON - every time i set it to on - it is off again.

LAB02-Admin commented 1 year ago

Interesting, could you please check the logs (you can open it through the logging tab there -> open log folder) and post them here? Especially the logs right after you start hass.agent.

Glacjozo commented 1 year ago

2023-01-14 08:43:27.393 +01:00 [INF] [MAIN] HASS.Agent version: 2022.14.0 2023-01-14 08:43:27.405 +01:00 [INF] [SETTINGS] Config storage path: C:\Users\Glaca\AppData\Roaming\LAB02 Research\HASS.Agent\config 2023-01-14 08:43:27.659 +01:00 [INF] [SETTINGS] Configuration loaded 2023-01-14 08:43:27.665 +01:00 [INF] [LOCALIZATION] Selected UI culture: [pl] Polski 2023-01-14 08:43:27.671 +01:00 [INF] [SYSTEM] Restart mode activated 2023-01-14 08:43:30.841 +01:00 [INF] [SYSTEM] Application shutting down 2023-01-14 08:43:30.842 +01:00 [INF] [SYSTEM] Application shutdown complete 2023-01-14 10:45:53.258 +01:00 [INF] [MAIN] HASS.Agent version: 2022.14.0 2023-01-14 10:45:53.281 +01:00 [INF] [SETTINGS] Config storage path: C:\Users\Glaca\AppData\Roaming\LAB02 Research\HASS.Agent\config 2023-01-14 10:45:53.593 +01:00 [INF] [SETTINGS] Configuration loaded 2023-01-14 10:45:53.599 +01:00 [INF] [LOCALIZATION] Selected UI culture: [pl] Polski 2023-01-14 10:45:53.603 +01:00 [INF] [SYSTEM] Restart mode activated 2023-01-14 10:45:57.351 +01:00 [INF] [SYSTEM] Application shutting down 2023-01-14 10:45:57.352 +01:00 [INF] [SYSTEM] Application shutdown complete 2023-01-14 10:53:58.423 +01:00 [INF] [MAIN] HASS.Agent version: 2022.14.0 2023-01-14 10:53:58.435 +01:00 [INF] [SETTINGS] Config storage path: C:\Users\Glaca\AppData\Roaming\LAB02 Research\HASS.Agent\config 2023-01-14 10:53:58.637 +01:00 [INF] [SETTINGS] Configuration loaded 2023-01-14 10:53:58.642 +01:00 [INF] [LOCALIZATION] Selected UI culture: [pl] Polski 2023-01-14 10:53:58.647 +01:00 [INF] [SYSTEM] Restart mode activated 2023-01-14 10:54:01.734 +01:00 [INF] [SYSTEM] Application shutting down 2023-01-14 10:54:01.734 +01:00 [INF] [SYSTEM] Application shutdown complete 2023-01-14 10:54:31.485 +01:00 [INF] [MAIN] HASS.Agent version: 2022.14.0 2023-01-14 10:54:31.497 +01:00 [INF] [SETTINGS] Config storage path: C:\Users\Glaca\AppData\Roaming\LAB02 Research\HASS.Agent\config 2023-01-14 10:54:31.708 +01:00 [INF] [SETTINGS] Configuration loaded 2023-01-14 10:54:31.717 +01:00 [INF] [LOCALIZATION] Selected UI culture: [en] Angielski 2023-01-14 10:54:31.723 +01:00 [INF] [SYSTEM] Restart mode activated 2023-01-14 10:54:34.812 +01:00 [INF] [SYSTEM] Application shutting down 2023-01-14 10:54:34.812 +01:00 [INF] [SYSTEM] Application shutdown complete 2023-01-14 11:20:45.222 +01:00 [INF] [MAIN] HASS.Agent version: 2022.14.0 2023-01-14 11:20:45.232 +01:00 [INF] [SETTINGS] Config storage path: C:\Users\Glaca\AppData\Roaming\LAB02 Research\HASS.Agent\config 2023-01-14 11:20:45.488 +01:00 [INF] [SETTINGS] Configuration loaded 2023-01-14 11:20:45.494 +01:00 [INF] [LOCALIZATION] Selected UI culture: [en] Angielski 2023-01-14 11:20:45.499 +01:00 [INF] [SYSTEM] Restart mode activated 2023-01-14 11:20:48.594 +01:00 [INF] [SYSTEM] Application shutting down 2023-01-14 11:20:48.594 +01:00 [INF] [SYSTEM] Application shutdown complete

And from HA

2023-01-14 10:50:34.751 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration sonoff which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-01-14 10:50:34.754 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-01-14 10:50:34.756 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration virtual which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-01-14 10:50:34.758 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration reversotts which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-01-14 10:50:34.760 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hass_agent which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-01-14 10:50:45.634 INFO (SyncWorker_5) [fritzconnection] Unable to retrieve resource 'http://192.168.1.40:49000/igddesc.xml' from the device. 2023-01-14 10:50:45.649 INFO (SyncWorker_7) [fritzconnection] Unable to retrieve resource 'http://192.168.1.41:49000/igddesc.xml' from the device. 2023-01-14 10:50:45.664 INFO (SyncWorker_6) [fritzconnection] Unable to retrieve resource 'http://192.168.1.42:49000/igddesc.xml' from the device. 2023-01-14 10:53:35.762 WARNING (MainThread) [homeassistant.components.cloud.google_config] Error reporting state - 5: Requested entity was not found. 2023-01-14 11:06:34.489 ERROR (SyncWorker_7) [spotipy.client] Max Retries reached 2023-01-14 11:16:28.088 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities sensor.dell_audio_default_device or it is/they are currently not available 2023-01-14 11:47:07.671 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.myip is taking over 10 seconds 2023-01-14 11:47:10.604 WARNING (MainThread) [custom_components.sonoff.core.ewelink.cloud] Cloud WS Connection error: Cannot connect to host eu-dispa.coolkit.cc:443 ssl:default [Try again] 2023-01-14 11:59:04.706 ERROR (SyncWorker_6) [spotipy.client] Max Retries reached

LAB02-Admin commented 1 year ago

That log is of the restart modus of hass.agent, please pick the latest logs without 'restart' or 'update' in the name. Thanks!

Glacjozo commented 1 year ago

Sorry for that.

2023-01-14 08:43:30.190 +01:00 [INF] [MAIN] HASS.Agent version: 2022.14.0 2023-01-14 08:43:30.200 +01:00 [INF] [SETTINGS] Config storage path: C:\Users\Glaca\AppData\Roaming\LAB02 Research\HASS.Agent\config 2023-01-14 08:43:30.399 +01:00 [INF] [SETTINGS] Configuration loaded 2023-01-14 08:43:30.405 +01:00 [INF] [LOCALIZATION] Selected UI culture: [pl] Polski 2023-01-14 08:43:30.831 +01:00 [INF] [SETTINGS_QUICKACTIONS] Loaded 2 entities 2023-01-14 08:43:30.846 +01:00 [INF] [SETTINGS_COMMANDS] Loaded 0 entities 2023-01-14 08:43:30.856 +01:00 [INF] [SETTINGS_SENSORS] Loaded 0 entities 2023-01-14 08:43:30.866 +01:00 [INF] [LOCALAPI] Initializing .. 2023-01-14 08:43:30.874 +01:00 [INF] [HASS_API] Connecting using automatic client certificate selection 2023-01-14 08:43:30.879 +01:00 [INF] [MQTT] Identifying as device: DELL 2023-01-14 08:43:30.886 +01:00 [INF] [SERVICE] Local install path: C:\Program Files (x86)\LAB02 Research\HASS.Agent Satellite Service\ 2023-01-14 08:43:30.907 +01:00 [INF] [MQTT] Connecting .. 2023-01-14 08:43:30.913 +01:00 [INF] [HOTKEY] Completed bind for global quickaction hotkey 2023-01-14 08:43:30.915 +01:00 [INF] [HOTKEY] Completed bind for 2 individual quickaction hotkeys 2023-01-14 08:43:31.025 +01:00 [INF] [NOTIFIER] Disabled 2023-01-14 08:43:31.036 +01:00 [ERR] [MEDIA] Unable to initialize, your OS doesn't seem to be supported or isn't fully updated: The type initializer for 'WinRT.ActivationFactory1' threw an exception. 2023-01-14 08:43:31.036 +01:00 [WRN] [MEDIA] Failed, disabled 2023-01-14 08:43:31.075 +01:00 [INF] [HASS_API] Home Assistant version: 2023.1.4 2023-01-14 08:43:31.238 +01:00 [INF] [HASS_API] System connected with http://192.168.1.148:8123 2023-01-14 08:43:31.461 +01:00 [INF] [LOCALAPI] listening on port 5115 2023-01-14 08:43:31.520 +01:00 [INF] [MQTT] Connected 2023-01-14 08:43:32.933 +01:00 [INF] [MQTT] Initial registration completed 2023-01-14 10:43:14.179 +01:00 [INF] [SETTINGS_QUICKACTIONS] Stored 3 entities 2023-01-14 10:43:14.207 +01:00 [INF] [HOTKEY] Completed bind for global quickaction hotkey 2023-01-14 10:43:14.211 +01:00 [INF] [HOTKEY] Completed bind for 2 individual quickaction hotkeys 2023-01-14 10:44:21.822 +01:00 [INF] [HASS_API] [media_player.dell] Performing action: turn_on 2023-01-14 10:44:21.869 +01:00 [INF] [HASS_API] [media_player.dell] Action completed: turn_on 2023-01-14 10:45:10.483 +01:00 [INF] [COMMANDS] Added command: DELL_g_o_no__wy_ej 2023-01-14 10:45:10.496 +01:00 [INF] [SETTINGS_COMMANDS] Stored 1 entities 2023-01-14 10:45:51.026 +01:00 [INF] [SETTINGS] Configuration stored 2023-01-14 10:45:53.061 +01:00 [INF] [SYSTEM] Application shutting down 2023-01-14 10:45:53.075 +01:00 [INF] [MQTT] Disconnected 2023-01-14 10:45:53.199 +01:00 [INF] [SYSTEM] Application shutdown complete 2023-01-14 10:45:56.762 +01:00 [INF] [MAIN] HASS.Agent version: 2022.14.0 2023-01-14 10:45:56.774 +01:00 [INF] [SETTINGS] Config storage path: C:\Users\Glaca\AppData\Roaming\LAB02 Research\HASS.Agent\config 2023-01-14 10:45:57.092 +01:00 [INF] [SETTINGS] Configuration loaded 2023-01-14 10:45:57.099 +01:00 [INF] [LOCALIZATION] Selected UI culture: [pl] Polski 2023-01-14 10:45:57.577 +01:00 [INF] [SETTINGS_QUICKACTIONS] Loaded 3 entities 2023-01-14 10:45:57.619 +01:00 [INF] [SETTINGS_COMMANDS] Loaded 1 entities 2023-01-14 10:45:57.628 +01:00 [INF] [SETTINGS_SENSORS] Loaded 0 entities 2023-01-14 10:45:57.638 +01:00 [INF] [MQTT] Identifying as device: DELL 2023-01-14 10:45:57.639 +01:00 [INF] [LOCALAPI] Initializing .. 2023-01-14 10:45:57.647 +01:00 [INF] [HASS_API] Connecting using automatic client certificate selection 2023-01-14 10:45:57.653 +01:00 [INF] [SERVICE] Local install path: C:\Program Files (x86)\LAB02 Research\HASS.Agent Satellite Service\ 2023-01-14 10:45:57.658 +01:00 [INF] [HOTKEY] Completed bind for global quickaction hotkey 2023-01-14 10:45:57.661 +01:00 [INF] [HOTKEY] Completed bind for 2 individual quickaction hotkeys 2023-01-14 10:45:57.664 +01:00 [INF] [MQTT] Connecting .. 2023-01-14 10:45:57.792 +01:00 [INF] [NOTIFIER] Disabled 2023-01-14 10:45:57.812 +01:00 [ERR] [MEDIA] Unable to initialize, your OS doesn't seem to be supported or isn't fully updated: The type initializer for 'WinRT.ActivationFactory1' threw an exception. 2023-01-14 10:45:57.812 +01:00 [WRN] [MEDIA] Failed, disabled 2023-01-14 10:45:57.854 +01:00 [INF] [HASS_API] Home Assistant version: 2023.1.4 2023-01-14 10:45:58.025 +01:00 [INF] [HASS_API] System connected with http://192.168.1.148:8123 2023-01-14 10:45:58.273 +01:00 [INF] [MQTT] Connected 2023-01-14 10:45:58.311 +01:00 [INF] [LOCALAPI] listening on port 5115 2023-01-14 10:45:59.690 +01:00 [INF] [MQTT] Initial registration completed 2023-01-14 10:47:59.282 +01:00 [WRN] [HASS_API] Server returned 404 (not found) while getting entity state. This can happen after a server reboot, or if you've deleted the entity. If the problem persists, please file a ticket on github. Entity: mediaplayer.dell Error message: Response status code does not indicate success: 404 (Not Found). 2023-01-14 10:48:23.507 +01:00 [INF] [SYSTEM] Application shutting down 2023-01-14 10:48:23.520 +01:00 [INF] [MQTT] Disconnected 2023-01-14 10:48:23.542 +01:00 [INF] [SYSTEM] Application shutdown complete 2023-01-14 10:49:36.568 +01:00 [INF] [MAIN] HASS.Agent version: 2022.14.0 2023-01-14 10:49:36.580 +01:00 [INF] [SETTINGS] Config storage path: C:\Users\Glaca\AppData\Roaming\LAB02 Research\HASS.Agent\config 2023-01-14 10:49:36.798 +01:00 [INF] [SETTINGS] Configuration loaded 2023-01-14 10:49:36.804 +01:00 [INF] [LOCALIZATION] Selected UI culture: [pl] Polski 2023-01-14 10:49:37.252 +01:00 [INF] [SETTINGS_QUICKACTIONS] Loaded 3 entities 2023-01-14 10:49:37.272 +01:00 [INF] [SETTINGS_COMMANDS] Loaded 1 entities 2023-01-14 10:49:37.283 +01:00 [INF] [SETTINGS_SENSORS] Loaded 0 entities 2023-01-14 10:49:37.289 +01:00 [INF] [LOCALAPI] Initializing .. 2023-01-14 10:49:37.290 +01:00 [INF] [MQTT] Identifying as device: DELL 2023-01-14 10:49:37.298 +01:00 [INF] [HASS_API] Connecting using automatic client certificate selection 2023-01-14 10:49:37.300 +01:00 [INF] [SERVICE] Local install path: C:\Program Files (x86)\LAB02 Research\HASS.Agent Satellite Service\ 2023-01-14 10:49:37.301 +01:00 [INF] [HOTKEY] Completed bind for global quickaction hotkey 2023-01-14 10:49:37.303 +01:00 [INF] [HOTKEY] Completed bind for 2 individual quickaction hotkeys 2023-01-14 10:49:37.317 +01:00 [INF] [MQTT] Connecting .. 2023-01-14 10:49:37.427 +01:00 [INF] [NOTIFIER] Disabled 2023-01-14 10:49:37.440 +01:00 [ERR] [MEDIA] Unable to initialize, your OS doesn't seem to be supported or isn't fully updated: The type initializer for 'WinRT.ActivationFactory1' threw an exception. 2023-01-14 10:49:37.440 +01:00 [WRN] [MEDIA] Failed, disabled 2023-01-14 10:49:37.451 +01:00 [INF] [MQTT] Connected 2023-01-14 10:49:37.473 +01:00 [INF] [HASS_API] Home Assistant version: 2023.1.4 2023-01-14 10:49:37.694 +01:00 [INF] [HASS_API] System connected with http://192.168.1.148:8123 2023-01-14 10:49:37.878 +01:00 [INF] [LOCALAPI] listening on port 5115 2023-01-14 10:49:39.341 +01:00 [INF] [MQTT] Initial registration completed 2023-01-14 10:49:40.722 +01:00 [WRN] [HASS_API] Server returned 404 (not found) while getting entity state. This can happen after a server reboot, or if you've deleted the entity. If the problem persists, please file a ticket on github. Entity: mediaplayer.dell Error message: Response status code does not indicate success: 404 (Not Found). 2023-01-14 10:51:02.452 +01:00 [INF] [HASS_API] Server recovered from failed state 2023-01-14 10:51:03.048 +01:00 [WRN] [HASS_API] Server returned 404 (not found) while getting entity state. This can happen after a server reboot, or if you've deleted the entity. If the problem persists, please file a ticket on github. Entity: light.glowne Error message: Response status code does not indicate success: 404 (Not Found). 2023-01-14 10:51:03.107 +01:00 [WRN] [HASS_API] Server returned 404 (not found) while getting entity state. This can happen after a server reboot, or if you've deleted the entity. If the problem persists, please file a ticket on github. Entity: switch.sonoff_1000ee077d_1 Error message: Response status code does not indicate success: 404 (Not Found). 2023-01-14 10:53:56.709 +01:00 [INF] [SETTINGS] Configuration stored 2023-01-14 10:53:58.722 +01:00 [INF] [SYSTEM] Application shutting down 2023-01-14 10:53:58.747 +01:00 [INF] [MQTT] Disconnected 2023-01-14 10:53:58.803 +01:00 [INF] [SYSTEM] Application shutdown complete 2023-01-14 10:54:01.176 +01:00 [INF] [MAIN] HASS.Agent version: 2022.14.0 2023-01-14 10:54:01.191 +01:00 [INF] [SETTINGS] Config storage path: C:\Users\Glaca\AppData\Roaming\LAB02 Research\HASS.Agent\config 2023-01-14 10:54:01.586 +01:00 [INF] [SETTINGS] Configuration loaded 2023-01-14 10:54:01.593 +01:00 [INF] [LOCALIZATION] Selected UI culture: [pl] Polski 2023-01-14 10:54:02.219 +01:00 [INF] [SETTINGS_QUICKACTIONS] Loaded 3 entities 2023-01-14 10:54:02.241 +01:00 [INF] [SETTINGS_COMMANDS] Loaded 1 entities 2023-01-14 10:54:02.250 +01:00 [INF] [SETTINGS_SENSORS] Loaded 0 entities 2023-01-14 10:54:02.256 +01:00 [INF] [LOCALAPI] Initializing .. 2023-01-14 10:54:02.257 +01:00 [INF] [MQTT] Identifying as device: DELL 2023-01-14 10:54:02.261 +01:00 [INF] [HASS_API] Connecting using automatic client certificate selection 2023-01-14 10:54:02.278 +01:00 [INF] [MQTT] Connecting .. 2023-01-14 10:54:02.302 +01:00 [INF] [SERVICE] Local install path: C:\Program Files (x86)\LAB02 Research\HASS.Agent Satellite Service\ 2023-01-14 10:54:02.314 +01:00 [INF] [HOTKEY] Completed bind for global quickaction hotkey 2023-01-14 10:54:02.318 +01:00 [INF] [HOTKEY] Completed bind for 2 individual quickaction hotkeys 2023-01-14 10:54:02.402 +01:00 [INF] [NOTIFIER] Disabled 2023-01-14 10:54:02.424 +01:00 [ERR] [MEDIA] Unable to initialize, your OS doesn't seem to be supported or isn't fully updated: The type initializer for 'WinRT.ActivationFactory1' threw an exception. 2023-01-14 10:54:02.425 +01:00 [WRN] [MEDIA] Failed, disabled 2023-01-14 10:54:02.440 +01:00 [INF] [HASS_API] Home Assistant version: 2023.1.4 2023-01-14 10:54:02.450 +01:00 [INF] [MQTT] Connected 2023-01-14 10:54:02.649 +01:00 [INF] [HASS_API] System connected with http://192.168.1.148:8123 2023-01-14 10:54:02.967 +01:00 [INF] [LOCALAPI] listening on port 5115 2023-01-14 10:54:04.339 +01:00 [INF] [MQTT] Initial registration completed 2023-01-14 10:54:29.986 +01:00 [INF] [SETTINGS] Configuration stored 2023-01-14 10:54:31.826 +01:00 [INF] [SYSTEM] Application shutting down 2023-01-14 10:54:31.837 +01:00 [INF] [MQTT] Disconnected 2023-01-14 10:54:31.880 +01:00 [INF] [SYSTEM] Application shutdown complete 2023-01-14 10:54:34.157 +01:00 [INF] [MAIN] HASS.Agent version: 2022.14.0 2023-01-14 10:54:34.168 +01:00 [INF] [SETTINGS] Config storage path: C:\Users\Glaca\AppData\Roaming\LAB02 Research\HASS.Agent\config 2023-01-14 10:54:34.367 +01:00 [INF] [SETTINGS] Configuration loaded 2023-01-14 10:54:34.373 +01:00 [INF] [LOCALIZATION] Selected UI culture: [en] Angielski 2023-01-14 10:54:34.807 +01:00 [INF] [SETTINGS_QUICKACTIONS] Loaded 3 entities 2023-01-14 10:54:34.837 +01:00 [INF] [SETTINGS_COMMANDS] Loaded 1 entities 2023-01-14 10:54:34.857 +01:00 [INF] [SETTINGS_SENSORS] Loaded 0 entities 2023-01-14 10:54:34.868 +01:00 [INF] [LOCALAPI] Initializing .. 2023-01-14 10:54:34.873 +01:00 [INF] [MQTT] Identifying as device: DELL 2023-01-14 10:54:34.879 +01:00 [INF] [SERVICE] Local install path: C:\Program Files (x86)\LAB02 Research\HASS.Agent Satellite Service\ 2023-01-14 10:54:34.882 +01:00 [INF] [HASS_API] Connecting using automatic client certificate selection 2023-01-14 10:54:34.882 +01:00 [INF] [HOTKEY] Completed bind for global quickaction hotkey 2023-01-14 10:54:34.884 +01:00 [INF] [HOTKEY] Completed bind for 2 individual quickaction hotkeys 2023-01-14 10:54:34.895 +01:00 [INF] [MQTT] Connecting .. 2023-01-14 10:54:34.988 +01:00 [INF] [NOTIFIER] Disabled 2023-01-14 10:54:34.990 +01:00 [INF] [MEDIA] Disabled 2023-01-14 10:54:35.021 +01:00 [INF] [MQTT] Connected 2023-01-14 10:54:35.074 +01:00 [INF] [HASS_API] Home Assistant version: 2023.1.4 2023-01-14 10:54:35.307 +01:00 [INF] [HASS_API] System connected with http://192.168.1.148:8123 2023-01-14 10:54:35.463 +01:00 [INF] [LOCALAPI] listening on port 5115 2023-01-14 10:54:36.911 +01:00 [INF] [MQTT] Initial registration completed 2023-01-14 11:20:43.339 +01:00 [INF] [SETTINGS] Configuration stored 2023-01-14 11:20:45.324 +01:00 [INF] [SYSTEM] Application shutting down 2023-01-14 11:20:45.333 +01:00 [INF] [MQTT] Disconnected 2023-01-14 11:20:45.364 +01:00 [INF] [SYSTEM] Application shutdown complete 2023-01-14 11:20:47.958 +01:00 [INF] [MAIN] HASS.Agent version: 2022.14.0 2023-01-14 11:20:47.970 +01:00 [INF] [SETTINGS] Config storage path: C:\Users\Glaca\AppData\Roaming\LAB02 Research\HASS.Agent\config 2023-01-14 11:20:48.172 +01:00 [INF] [SETTINGS] Configuration loaded 2023-01-14 11:20:48.178 +01:00 [INF] [LOCALIZATION] Selected UI culture: [en] Angielski 2023-01-14 11:20:48.720 +01:00 [INF] [SETTINGS_QUICKACTIONS] Loaded 3 entities 2023-01-14 11:20:48.743 +01:00 [INF] [SETTINGS_COMMANDS] Loaded 1 entities 2023-01-14 11:20:48.756 +01:00 [INF] [SETTINGS_SENSORS] Loaded 0 entities 2023-01-14 11:20:48.769 +01:00 [INF] [LOCALAPI] Initializing .. 2023-01-14 11:20:48.771 +01:00 [INF] [HASS_API] Connecting using automatic client certificate selection 2023-01-14 11:20:48.772 +01:00 [INF] [MQTT] Identifying as device: DELL 2023-01-14 11:20:48.772 +01:00 [INF] [SERVICE] Local install path: C:\Program Files (x86)\LAB02 Research\HASS.Agent Satellite Service\ 2023-01-14 11:20:48.780 +01:00 [INF] [HOTKEY] Completed bind for global quickaction hotkey 2023-01-14 11:20:48.783 +01:00 [INF] [HOTKEY] Completed bind for 2 individual quickaction hotkeys 2023-01-14 11:20:48.791 +01:00 [INF] [MQTT] Connecting .. 2023-01-14 11:20:48.911 +01:00 [INF] [NOTIFIER] Disabled 2023-01-14 11:20:48.919 +01:00 [ERR] [MEDIA] Unable to initialize, your OS doesn't seem to be supported or isn't fully updated: The type initializer for 'WinRT.ActivationFactory`1' threw an exception. 2023-01-14 11:20:48.920 +01:00 [WRN] [MEDIA] Failed, disabled 2023-01-14 11:20:48.961 +01:00 [INF] [HASS_API] Home Assistant version: 2023.1.4 2023-01-14 11:20:49.147 +01:00 [INF] [HASS_API] System connected with http://192.168.1.148:8123 2023-01-14 11:20:49.381 +01:00 [INF] [LOCALAPI] listening on port 5115 2023-01-14 11:20:49.414 +01:00 [INF] [MQTT] Connected 2023-01-14 11:20:50.806 +01:00 [INF] [MQTT] Initial registration completed 2023-01-14 11:22:08.501 +01:00 [INF] [SETTINGS_QUICKACTIONS] Stored 3 entities 2023-01-14 11:22:08.527 +01:00 [INF] [HOTKEY] Completed bind for global quickaction hotkey 2023-01-14 11:22:08.527 +01:00 [INF] [HOTKEY] Completed bind for 2 individual quickaction hotkeys 2023-01-14 11:22:10.107 +01:00 [INF] [HASS_API] [light.glowne] Performing action: turn_on 2023-01-14 11:22:10.307 +01:00 [INF] [HASS_API] [light.glowne] Action completed: turn_on 2023-01-14 11:22:11.694 +01:00 [INF] [HASS_API] [light.glowne] Performing action: turn_on 2023-01-14 11:22:11.828 +01:00 [INF] [HASS_API] [light.glowne] Action completed: turn_on 2023-01-14 11:22:12.809 +01:00 [INF] [HASS_API] [light.glowne] Performing action: turn_on 2023-01-14 11:22:12.948 +01:00 [INF] [HASS_API] [light.glowne] Action completed: turn_on 2023-01-14 11:22:22.282 +01:00 [INF] [SETTINGS_QUICKACTIONS] Stored 3 entities 2023-01-14 11:22:22.309 +01:00 [INF] [HOTKEY] Completed bind for global quickaction hotkey 2023-01-14 11:22:22.310 +01:00 [INF] [HOTKEY] Completed bind for 2 individual quickaction hotkeys 2023-01-14 11:22:23.328 +01:00 [INF] [HASS_API] [light.glowne] Performing action: toggle 2023-01-14 11:22:23.333 +01:00 [INF] [HASS_API] [light.glowne] Entity currently ON, changing action to 'turn_off' 2023-01-14 11:22:23.475 +01:00 [INF] [HASS_API] [light.glowne] Action completed: turn_off

LAB02-Admin commented 1 year ago

What version of Windows are you using? Media isn't currently supported by your OS, it needs at least an updated version of Windows 10. If you have that, you could check this ticket to see if you need to install media support:

https://github.com/LAB02-Research/HASS.Agent/issues/180

Glacjozo commented 1 year ago

Ok, I suspected it... on both computers I have windows 7. Thank You very much for Your time. I'll install it on windows 11 than.

LAB02-Admin commented 1 year ago

Alright, you're welcome. You can still use parts of hass.agent on 7, just not mediaplayer (and I think the satellite service doesn't work as well).