You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for following up on this, sorry for delay, missed this message.
This happens when HA is restarted, without restarting NetDaemon container.
As soon as I restart also NetDaemon, it reconnects to HA and then my netdaemon service is back.
Is there some bidirectional pinging mechanism in place that makes sure both parties sees each other?
Cheers!
Now this error happens more frequent, as netdaemon is installed on one machine and Home Assistant on another one. For one reason or another they are getting out of sync much more frequently now
The problem
After few days my Home Assistant suddenly "looses" callbacks that were exposed by net-daemon intergration.
I am exposing 4 methods such as:
[HomeAssistantServiceCall]
public async Task OpenDoor1(dynamic data)
{...}
they are working happilly dozen of times for few days and then they simply disappear.
When trying to call them from my scripts I get:
Service not found for call_service at pos 1: Unable to find service netdaemon.mutuumairlockapp_opendoor1
When going to:
Developer tools > Services
I stiill see:
NetDaemon - Entity_Create
NetDaemon - Entity_Remove
NetDaemon - Entity_update
NetDaemon - register_service
NetDaemon - reload_apps
but my callbacks are gone.
Restarting NetDaemon docker container solves problem, till next time it occurs.
System health
System Health
Home Assistant Cloud
Lovelace
Traceback/Error logs
Additional information
The text was updated successfully, but these errors were encountered: