Media play pause stops working via HA when resuming from suspend.

Here's the output from the broken PC, it seems to work on another PC so I really don't know what I'm doing wrong. {"availability_topic":"homeassistant/sensor/THEATER-PC2/availability","command_topic":"homeassistant/button/THEATER-PC2/mediaplaypause/set","action_topic":"homeassistant/button/THEATER-PC2/mediaplaypause/action","unique_id":"c9fcb6d4-aad8-4454-a990-4861290e64e2","object_id":"THEATER-PC2_mediaplaypause","device":{"identifiers":"hass.agent-THEATER-PC2","manufacturer":"HASS.Agent Team","model":"Microsoft Windows NT 10.0.26100.0","name":"THEATER-PC2","sw_version":"2.1.1"},"entityname":"mediaplaypause","name":"mediaplaypause","state_topic":"homeassistant/button/THEATER-PC2/mediaplaypause/state"} Here's the working one {"availability_topic":"homeassistant/sensor/PHOENIXLIBRE/availability","command_topic":"homeassistant/button/PHOENIXLIBRE/PHOENIXLIBRE_mediaplaypause/set","action_topic":"homeassistant/button/PHOENIXLIBRE/PHOENIXLIBRE_mediaplaypause/action","unique_id":"6d8e40b9-71d6-4d16-966f-0d8ebbbb201e","device":{"identifiers":"hass.agent-PHOENIXLIBRE","manufacturer":"LAB02 Research","model":"Microsoft Windows NT 10.0.22631.0","name":"PHOENIXLIBRE","sw_version":"2022.14.0"},"name":"PHOENIXLIBRE_mediaplaypause","state_topic":"homeassistant/button/PHOENIXLIBRE/PHOENIXLIBRE_mediaplaypause/state"}
15 Replies
HASS.Agent Helper
HASS.Agent Helper•3w ago
Help us Help Others!
To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution
From An unknown user
HASS.Agent Helper
HASS.Agent Helper•3w ago
Help us Help You!
Please don't delete messages or posts because it makes it impossible to understand what happened. If you don't want your messages to be seen then don't post here. Please provide us with your integration version number.
You can find it in HACS -> HASS.Agent 2 -> Top left for installed version number.
We will help as soon as possible. While you're waiting you can try the following:
- Checkout the documentation. - Search here in discord for previously solved similar issues.
HASS.Agent Helper
HASS.Agent Helper•3w ago
@DrR0x
typical-coral
typical-coralOP•3w ago
No description
DrR0x
DrR0x•3w ago
@Amadeo I remember seeing this somewhere, can't find it now though
Amadeo
Amadeo•3w ago
Interesting, the working one is the original 2022.14.0 When the device is resumed from suspension, do the sensors/commands/media player entity appear as available or not available?
typical-coral
typical-coralOP•3w ago
When offline it shows
No description
typical-coral
typical-coralOP•3w ago
When it resumes it will throw MQTT disconnected errors, which I'm not sure I saw before or not. Then when it finally syncs back it shows this in HA...
No description
typical-coral
typical-coralOP•3w ago
the sleep command is a satellite command the media play is the normal setup...
typical-coral
typical-coralOP•3w ago
I reloaded the HA.agent and no change
No description
typical-coral
typical-coralOP•3w ago
2025-03-10 09:46:10.068 -04:00 [INF] [SYSTEMSTATE] Session resuming 2025-03-10 09:46:26.175 -04:00 [INF] [HASS_API] Server recovered from failed state 2025-03-10 09:47:10.394 -04:00 [WRN] [MQTT] Disconnected: UnspecifiedError 2025-03-10 09:47:11.183 -04:00 [ERR] [MQTT] Error while connecting: Error while connecting with host '192.168.45.249:1883'. 2025-03-10 09:47:16.261 -04:00 [INF] [MQTT] Connected Fresh boot is now not letting me control playpause from HA but it does show a current status! 😮 IE, I'm using windows media player and it shows album/movie art and realtime status of playing vs pause, but I can not start or stop media from HA only see it's status fresh boot log 2025-03-10 09:54:59.043 -04:00 [INF] [MAIN] HASS.Agent version: 2.1.1 2025-03-10 09:54:59.052 -04:00 [INF] [SETTINGS] Config storage path: C:\Users\Theater\AppData\Local\HASS.Agent\Client\config 2025-03-10 09:54:59.222 -04:00 [INF] [SETTINGS] Configuration loaded 2025-03-10 09:54:59.227 -04:00 [INF] [LOCALIZATION] Selected UI culture: [en] English 2025-03-10 09:54:59.975 -04:00 [INF] [RADIOMGR] Radio management permission granted 2025-03-10 09:55:00.020 -04:00 [INF] [RADIOMGR] Ready 2025-03-10 09:55:02.069 -04:00 [INF] [INTERNALSENSORS] Ready 2025-03-10 09:55:06.376 -04:00 [INF] [VIRTDESKT] Virtual Desktop Manager initialized 2025-03-10 09:55:06.957 -04:00 [INF] [AUDIOMGR] initialized 2025-03-10 09:55:06.987 -04:00 [INF] [SETTINGS_QUICKACTIONS] Loaded 0 entities 2025-03-10 09:55:07.038 -04:00 [INF] [SETTINGS_COMMANDS] Loaded 1 entities 2025-03-10 09:55:07.154 -04:00 [INF] [SETTINGS_SENSORS] Loaded 2 entities 2025-03-10 09:55:07.249 -04:00 [INF] [HOTKEY] Completed bind for global quickaction hotkey 2025-03-10 09:55:07.361 -04:00 [INF] [LOCALAPI] Initializing .. 2025-03-10 09:55:07.518 -04:00 [INF] [MQTT] Identifying as device: THEATER-PC2 2025-03-10 09:55:07.534 -04:00 [INF] [MQTT] Connecting .. 2025-03-10 09:55:07.544 -04:00 [INF] [SERVICE] Local install path: C:\Program Files\HASS.Agent Satellite Service\Service\ 2025-03-10 09:55:07.644 -04:00 [INF] [HASS_API] Home Assistant version: 2025.1.2 2025-03-10 09:55:07.656 -04:00 [INF] [MEDIA] Ready 2025-03-10 09:55:07.711 -04:00 [INF] [MQTT] Connected 2025-03-10 09:55:07.799 -04:00 [INF] [NOTIFIER] Ready 2025-03-10 09:55:08.092 -04:00 [INF] [HASS_API] System connected with http://172.26.90.11:8123 2025-03-10 09:55:09.546 -04:00 [INF] [MQTT] Initial registration completed 2025-03-10 09:55:09.595 -04:00 [INF] [LOCALAPI] listening on port 5115
typical-coral
typical-coralOP•3w ago
Found this to help visualize
No description
typical-coral
typical-coralOP•3w ago
note play pause is still paused despite several presses
typical-coral
typical-coralOP•3w ago
working is on left, broken on right!
No description
typical-coral
typical-coralOP•3w ago
changed broken to "Firmware: 2022.14.0" and play pause works now, lmk what info you want from my deployment, but I am /solved

Did you find this page helpful?