Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autodiscovery doesn't work on newly added devices #37

Open
Regressor opened this issue Oct 9, 2023 · 7 comments
Open

Autodiscovery doesn't work on newly added devices #37

Regressor opened this issue Oct 9, 2023 · 7 comments

Comments

@Regressor
Copy link

Hi. I installed HASS.Agent on new device (win10 notebook with name 'notebook'). Only MQTT used. I checked mqtt topics via MQTT explorer and I can see hass.agent\devices\notebook topic (and other devices too). I tried to delete "notebook" topic and after deleting this topic created again.

Sensors are created too and I can see them in HA devices table and they are actual (i.e. lastactive status changes on mouse move).

But new HASS.Agent devices is not discovered. I tried to reload integration, reload hass, reboot hass server - doesn't help.

HASS.Agent integration version: 2022.11.19
HASS.Agent windows app version: 2022.14.0
HASS version: 2023.7.2

@Regressor
Copy link
Author

I had to remove all devices from integration settings, remove integration, remove hass.agent topic, add integration, restart and then I found all devices "discovered".

@gdgeist
Copy link

gdgeist commented Oct 26, 2023

It's great that you left this comment. The updated integration basically borked everything hass.io agent related so will try entirely removing anything related and starting from scratch.

@DrR0X-glitch
Copy link

I had to remove all devices from integration settings, remove integration, remove hass.agent topic, add integration, restart and then I found all devices "discovered".

When you say "devices" are you referring to entities(such as sensors or commands) or are you referring to multiple windows machines running hass.agent?

@Regressor
Copy link
Author

Devices = multiple windows machines (each have sensors, controls and media player)

@DrR0X-glitch
Copy link

Okay thx for the info going to look into this.

@TRusselo
Copy link

same here,
I enabled some new sensor entities in HASS.agent, they are not being discovered by home assistant

@welbow
Copy link

welbow commented Jan 8, 2024

I ran into this as well. Removing my existing HASS.Agent from Devices and then removing the integration from HACS, restarting HA, reinstalling via HACS and restarting HA again showed both of my HASS.Agent machines (old and new). Both HASS.Agents are using an HA token and are pointed to MQTT running as an HA Addon. On the new HASS.Agent, I tried changing the MQTT client id to a unique string to make sure they both weren't using the same id.

HASS.Agent 2022.11.9 (latest version HACS finds)
HA 2024.1.2
Mosquito broker addon 6.4.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants