LAB02-Research / HASS.Agent

Windows-based client for Home Assistant. Provides notifications, quick actions, commands, sensors and more.
https://hassagent.lab02-research.org
MIT License
1.56k stars 68 forks source link

Mediaplayer isnt working after name change #400

Open MrJekyll23 opened 7 months ago

MrJekyll23 commented 7 months ago

A few days ago I installed HASS.Agent and tried it out. Everything was working fine. Then I decided to change the name, reconfigured my sensors and got them working again. Today I recognised that the mediaplayer was unavailable and it's name was the old one. I deleted the HASS.Agent device in HA. Auto discover detected a new one and I added it. But it unfortunately it has the old name and is unavailable again.

Things I have tried so far:

Eckart0 commented 6 months ago

Hello, similar problem:

I have a new PC (Windows 11) and cannot connect to the Media Player with HASS.Agent. HA Auto Discovery always offers the connection to the old switched-off PC, but not to the new one. Other PC sensors are mapped in HA. Even multiple restarts of HA have not helped.

A special feature: The new PC - like the old one - is in a different subnet (192.168.1.x) than HA (192.168.2.x). Do I have to manually add a rule in the Windows firewall? However, other PCs in this subnet work with HASS.Agent, and I don't remember having to configure anything extra.

Does anyone have any tips?

Regards, Eckart