-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fritzconnection and continuous poll #31
Comments
Hi Would like to see your script when it is ready. |
Instantiating FritzConnection cost about 20-30 request on current router models. Reusing an instance will save this overhead, doing some requests from time to time will not kill the router. Thermal overheating because of physical misplacement may be something to keep in mind. |
I have done a similar thing, which you can find here: I took @da-dindi 's script and made it a bit more readable to me, and fully shut down MotionEye, instead of just pausing Motion. As this saves up a lot of resources. |
Hi
I will soon buy a FritzBox and I would like to use it to detect home presence. To do so, I would like to use fritzconnection and polling the router every 30 seconds.
Most probably, rather than running the fritzconnection.py every 30s, I think I'd better establish the connection with the router just once and do the poll every 30s with a python program: am I correct?
I wonder if this continuous 24/7 polling would kill the router or if this is a perfectly safe procedure I can use. Any experience about that?
Thanks for your suggestion!
The text was updated successfully, but these errors were encountered: