AUtomatically restart Blue Iris if cameras are "No Connect" for more than a few minutes?

Post Reply
PeteDD
Posts: 11
Joined: Mon Sep 11, 2023 5:54 pm

AUtomatically restart Blue Iris if cameras are "No Connect" for more than a few minutes?

Post by PeteDD »

Is there a watchdog function that can restart the Blue Iris server if one or more cameras maintain "No Connect" status for more than a few minutes?

About half of my cameras showed "No Connect" for a few hours, even while restarting the cameras. The only cure was to restart the Blue Iris server.
My cameras are on a dedicated LAN and UPS. The server is on a UPS.

Thank you!
louyo
Posts: 168
Joined: Sat Apr 18, 2020 1:16 am

Re: AUtomatically restart Blue Iris if cameras are "No Connect" for more than a few minutes?

Post by louyo »

Before I did anything, I would try to see why you are disconnecting. Evaluate logs, etc. Both Windows and BI. With wired LAN we seldom see a disconnect.

There is a watchdog for each camera. You can configure it to fire based on a timeout period and have it run a program after X number of timeouts.
As long as you are running BI as a service, you could stop and re-start the service.
I tested with this:
Created a .cmd file somewhere. I used watchdogtimeout.cmd. In that file I put:
net stop "blue iris service"
net start "blue iris service"

1. set watchdog criteria
2. Select "Fire alerts after x timeouts.
3. Click "on loss of signal"
4. Click + to add a task.
5. Select run a program.
6. Browse to the cmd file.

Click OK, OK and let the camera restart. If you want to test it, go back to the task page and click the lightening bolt. Be aware that it will shut down BI and then restart it. If you are getting a lot of disconnects, it may do too often. I would not select "continue alerting"
I am waiting for a timeout of a wireless camera I added for testing. The fool thing won't disconnect now, it constantly disconnected when I wanted to use it.
I do not like wireless.

Happy New Year
PeteDD
Posts: 11
Joined: Mon Sep 11, 2023 5:54 pm

Re: AUtomatically restart Blue Iris if cameras are "No Connect" for more than a few minutes?

Post by PeteDD »

This has only happened once so far since I installed the system many months ago.
louyo
Posts: 168
Joined: Sat Apr 18, 2020 1:16 am

Re: AUtomatically restart Blue Iris if cameras are "No Connect" for more than a few minutes?

Post by louyo »

Worked. When I came back, the console was gone. Log segment:
Attachments
Screenshot at 2023-12-29 18-30-14.png
Screenshot at 2023-12-29 18-30-14.png (22.7 KiB) Viewed 9558 times
louyo
Posts: 168
Joined: Sat Apr 18, 2020 1:16 am

Re: AUtomatically restart Blue Iris if cameras are "No Connect" for more than a few minutes?

Post by louyo »

>>This has only happened once so far since I installed the system many months ago.

Sounds like one of those episodes where someone unplugged a switch to plug in a vacuum cleaner.
We actually had that happen during a trade show! Took one row of booths down. Fortunately, it was in plain view.

Lou
PeteDD
Posts: 11
Joined: Mon Sep 11, 2023 5:54 pm

Re: AUtomatically restart Blue Iris if cameras are "No Connect" for more than a few minutes?

Post by PeteDD »

Not an "unplugged" situation. All "hard-wired" and on UPS. Did not have to reboot the routers nor the server... only restart of Blue Iris. Clearly a non-symmetrical hyperbolic super eight effect...
Post Reply