Auto Discovery fails at second device

Hi Guys, I Installed hass.agent at my windows PC and AutoDiscovery in HA worked fine. I can use motifications etc. Now I installed HASS:agent on a second device to use it there too. Installation worked fine, I use the same configuration as on the first PC (besides ClientID) but the new device doesn't show up in HA. Is there anything I may have missed in the process? Thanks for your help.
Solution:
@DrR0x we have a lot of work with the integration xD @Wankster could you please try this: remove all devices from the integration (so that none are "added"), make sure the HASS.Agents on both/all devices are running, restart HA (full restart, not only yaml reload) https://b.chihi.ro/FLhxAu.png https://b.chihi.ro/MWgXJK.png...
Jump to solution
36 Replies
DrR0x
DrR0x•5mo ago
You haven't missed anything, unfortunately this is a very hard to identify bug at the moment. What seems to work is restarting the pc and HA - Do you have mqtt explorer?
sidewinder0378
sidewinder0378•5mo ago
Hi, thx for the reply. I tried restart several times. Thanks for the hint with the MQTT-Explorer. I looked into it and found, that Hass.agent is sending correct information to mqtt. So it seems HA just doesn't discover the new device. Is there a hidden switch to disable/enable AutoDiscovery?
DrR0x
DrR0x•5mo ago
no it should always be on could you send a screenshot of the pc in mqtt explorer
sidewinder0378
sidewinder0378•5mo ago
No description
sidewinder0378
sidewinder0378•5mo ago
I wonder, should I reinstall the Integration?
DrR0x
DrR0x•5mo ago
not yet that will most likely fix it, but i'm interested in fixing the issue, so want to collect as much data as i can first so let me just check: - You tried restarting both HA and the new machine - You had the first machine working fine, then installed on new machine and it hasn't been discovered? - Does the new machine have any entities? (Sensors, commands etc.)
sidewinder0378
sidewinder0378•5mo ago
- restart: yes. I restarted both several times including HA full reset (not just yaml) - yes, first machine works fine, second hasn't been discovered - no entities in HA, as it isn't found, not even in the mqtt-integration
DrR0x
DrR0x•5mo ago
Have you added a sensor or command to the new machine?
sidewinder0378
sidewinder0378•5mo ago
no, I didn't
DrR0x
DrR0x•5mo ago
That could possibly cause it to re discover
sidewinder0378
sidewinder0378•5mo ago
okay, I will try I added two sensors, it did half of the trick. The device is listet in the MQTT-Integration, but not in the HASS-Integration . Having a look in the mqtt-explorer I realized that the local Sensors of Device No. 1 and No. 2 don't show up there
Amadeo
Amadeo•5mo ago
is the device name also the same? https://b.chihi.ro/HnREWT.png
sidewinder0378
sidewinder0378•5mo ago
No , as it is a different device, I named it another Name.
Amadeo
Amadeo•5mo ago
k, just wanted to be sure 😄 I'll ask some more "kinda stupid" questions but those come from experience so please bear with me 😄 does the serial number between the first and second device differ in MQTT Explorer? in hass.agent/devices topic
sidewinder0378
sidewinder0378•5mo ago
Yes, there are two different serial numbers. In mqtt Integration both Devices Show up with their sensors but the Hass Integration doesn't recognize device no 2.
Want results from more Discord servers?
Add your server