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.53k stars 67 forks source link

Bug: SyncWorker errors and no media player entity or notify service created #417

Open V4ler1an opened 2 months ago

V4ler1an commented 2 months ago

Describe the bug Following a fresh first time setup today, I was unable to get the media player entity or the notify service to appear. The Windows agent looks to be working and communicating with HA ok over my MQTT broker and when I enabled the battery/charging sensor in the HASS Agent on my laptop, 6 entities appeared and seem to work normally. I've installed the HASS.Agent, HASS.Agent Media Player and HASS.Agent Notifier integrations. After enabling debugging on HASS.Agent I could see quite a number of errors which i'll attach.

To Reproduce Steps to reproduce the behavior: Install and configure everything as per install guide.

Expected behavior Media player and notifier should be available in HA.

Screenshots

Misc info (please complete the following information):

Please check what's applicable (multiple answers possible):

Additional context Add any other context about the problem here.

Logs 2024-07-02_HASS.Agent.Satellite.Service_20240702.log [2024-07-02] HASS.Agent_20240702.log 2024-07-02 223617.482 HASS Agent debug errors.txt

V4ler1an commented 2 months ago

In reference to the notifier. I have the test notifier config in configuration.yaml as detailed in the guide and the firewall rule was added using the provided netsh command. I've also tried disabling the Windows firewall entirely. HA reports sending the test message ok but nothing comes up in HASS.Agent on Windows. image

As for the media player, nothing I do seems to make it appear in HA. Ive tried removing and reinstalling all the integrations. HASS.Agent system status seems ok: image

Test connection from a different Windows machine also fails (even with the HASS.Agent machines firewall disabled): image