I am using this integration to detect cross line and cross area detection on Amcrest cameras. Everything is working, except occasionally when I try to grab a snapshot from a camera I get a timeout error:
This is rare, but when it happens it stops my script in HA. I added "continue_on_error: true" to each action that grabs a snapshot, but it doesn't work. According to this link:
The issue might be that this integration doesn't raise the HomeAssistantError when there is a problem, so HA stops the script anyway.
This is just a guess, but thought I'd mention it here in case anyone has any thoughts. I am trying to find a workaround that grabs snapshots more reliably, but if the script always fails on any error I don't see any way of making it run even if a snapshot fails.
I am using this integration to detect cross line and cross area detection on Amcrest cameras. Everything is working, except occasionally when I try to grab a snapshot from a camera I get a timeout error:
This is rare, but when it happens it stops my script in HA. I added "continue_on_error: true" to each action that grabs a snapshot, but it doesn't work. According to this link:
https://github.com/home-assistant/core/issues/115401#issuecomment-2408619871
The issue might be that this integration doesn't raise the HomeAssistantError when there is a problem, so HA stops the script anyway.
This is just a guess, but thought I'd mention it here in case anyone has any thoughts. I am trying to find a workaround that grabs snapshots more reliably, but if the script always fails on any error I don't see any way of making it run even if a snapshot fails.