H
HASS.Agent2mo ago
fascinating-indigo

I can't see Media Player

Hello! I'm trying to see media player in Home Assistant, but unfortunately the HASS Agent's device of my PC is 'unavailable'. The MQTT stuff works and I can transmit sensors data and send signals to PC just fine. It's just that the HASS Agent device appears to be 'unavailable'. I already did a mild attempt of reinstalling HASS Agent on PC and HASS Integration in HA. (I removed HASS Integration from custom_components, rebooted ha, installed it back, rebooted ha. For HASS Agent on PC, I uninstalled it and wiped it's appdata files and installed it back again) TL;DR: - MQTT works - HASS Agent Device doesn't work - I don't have media player. It says 'unavailable' All help is super appreciated - I'm a Home Assistant noob so I'm sorry if I didn't provide you with necessary logs, etc. - I simply don't know where to find them. But when I went to 'Settings' -> Logs, it didnt say anything useful.
No description
No description
Solution:
Troubleshooting - Hass Agent Documentation
Access your homeassistant from any windows machine - send notifications, collect data and automate repetitive tasks
Jump to solution
13 Replies
continuing-cyan
continuing-cyan2mo ago
Did you ever get this fixed? I'm having the exact same issue.
fascinating-indigo
fascinating-indigoOP2mo ago
Nope, but I saw someone apparently fixed it by resetting their mqtt account and connection. I'll be trying again later as I need that sweet media player entity Maybe I'll try to connect a different PC. It's weird because everything works, just the pc entity remains unavailable. But all sensors report data well. @LowkeyToq tagging so you can see I answered
continuing-cyan
continuing-cyan2mo ago
Thank you. Yep, it's exactly the same thing I'm encountering. All my sensors and commands work just fine.
DrR0x
DrR0x2mo ago
@LowkeyToq and @Szymon could you check home assistant logs for anything from the integration From memory I think it's settings system(general) logs
fascinating-indigo
fascinating-indigoOP2mo ago
When exactly should logs appear? I don't see anything after ha restart
DrR0x
DrR0x2mo ago
Only if there's errors, all good
DrR0x
DrR0x2mo ago
Try following this and check for hass.agent media player config in Ur Mqtt broker https://www.hass-agent.io/2.2/getting-started/troubleshooting/#mqtt-explorer
Troubleshooting - Hass Agent Documentation
Access your homeassistant from any windows machine - send notifications, collect data and automate repetitive tasks
DrR0x
DrR0x2mo ago
--- And could you both check if you have v2 of the integration. Is called hass.agent 2
continuing-cyan
continuing-cyan2mo ago
Not sure which part that fixed it as I've done a bit of everythijng by now. MQQT Explorer helped me realise that old entries from a past version of the same laptop had lingered. I cleaned it out from MQTT explorer and tried to fully reinstall the agent (which was v2). So now it suddenly works. Thank you for the link!
fascinating-indigo
fascinating-indigoOP5w ago
👀 I will try that asap I have downloaded hass integration from github as a zip, is that correct form of installation or do I need to do it differently? Where do I check hass agent media player config in mqtt broker? Unfortunately as of now, my pc instance remains 'unavailable'. I also noticed on sensors my pc is called "predator_something" but the media player thing is called "KomputerSzymona". Could that mean anything?
DrR0x
DrR0x4w ago
U can check all of the topics with the link I sent above
Solution
DrR0x
DrR0x4w ago
Troubleshooting - Hass Agent Documentation
Access your homeassistant from any windows machine - send notifications, collect data and automate repetitive tasks
fascinating-indigo
fascinating-indigoOP3w ago
I have finally got time to do this - it was actually very easy, I removed all HASS Agent entities in MQTT and then readded in Home Assistant and bam - works! Thank you! ❤️

Did you find this page helpful?