GTench Posted February 3 Posted February 3 I notice that the server status goes from green to disconnected whenever I do a software update on blue iris. I need to manually restart the blue iris node server to return the server status to green. Is there a way to automatically restart the node server when this disconnection condition occurs? Gary
Whitehambone Posted May 14 Posted May 14 (edited) @GTench I got the same trouble, did you every find a solution? @fahrer16, can this plugin be fixed to resolve this issue? Edited May 14 by Whitehambone Added extra question.
GTench Posted May 15 Author Posted May 15 @Whitehambone no, it would be nice if the node server could be restarted via a program if it disconnects but as far as I know this is not possible. I also tried setting the state to green and/or doing a re-discover in a program if it disconnects but that did not work. It also did not work if I did in manually from the AC. Right now I am trying using a program to notify me if it is disconnected then I will manually restart it
fahrer16 Posted May 15 Posted May 15 I no longer run any node servers or have Blue Iris, unfortunately, so I have no way to test. If you're comfortable going in and making a tweak to your local blue-iris-poly.py file, I think adding "self.connect()" to line 121 might do the trick. That's the section that sets the connection status to "disconnected", so adding that would have it try to reconnect.
Whitehambone Posted July 25 Posted July 25 @fahrer16, so put "self.connect()" right after this line? self.setDriver('GV1',3) #If there was an error querying theelf.setDriver('GV1',3) #If there was an error querying the server, set the status to "Disconnected" so that the ISY can trigger an appropriate action (after a time delay set in ISY program).^M
Recommended Posts