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
Note these arent really related to wz_mini but I use these in my own implimentation of the camera for the wyzecam.
1st one is a home/away detection script. Whether you are using wyze's cloud or RTSP this can be useful. It will live on your router effectively in a shell script in the background, and monitor the connected devices to your wifi network. Once they are no longer present, it will run whatever actions you want then can run other actions when you return. This can be used with HA triggers as well. In my case it monitors my 5ghz radio on my router and looks for presence of my device, but multiple can be set. The script will not even need to restart. Note my setup for the detection uses the wl command, which is in dd-wrt documents....i think most *wrt based routers have it, including asuswrt but you may have to tweak the command a bit. Best I can say for that is to consult whatever firmware documentation you have if you run into problems.
2nd is a watchdog script. Really, I had no intention for this to exist, but after some trouble on my router with the firmware mysteriously killing my script with no good reasoning (or logs!...seriously....) into why, I was forced to reset my router which seemed to fix the problem. However, out of an abundance of caution I felt this script would be useful to prevent the problem from causing issues in the future. If you notice suddenly you have a bunch of entries in the logs of it restarting your script to dig deeper, but your security script is still functioning. You can find that here:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Note these arent really related to wz_mini but I use these in my own implimentation of the camera for the wyzecam.
1st one is a home/away detection script. Whether you are using wyze's cloud or RTSP this can be useful. It will live on your router effectively in a shell script in the background, and monitor the connected devices to your wifi network. Once they are no longer present, it will run whatever actions you want then can run other actions when you return. This can be used with HA triggers as well. In my case it monitors my 5ghz radio on my router and looks for presence of my device, but multiple can be set. The script will not even need to restart. Note my setup for the detection uses the wl command, which is in dd-wrt documents....i think most *wrt based routers have it, including asuswrt but you may have to tweak the command a bit. Best I can say for that is to consult whatever firmware documentation you have if you run into problems.
https://gist.github.com/sideup66/0c2967cc5522509ed7f0ffce975cc75c
2nd is a watchdog script. Really, I had no intention for this to exist, but after some trouble on my router with the firmware mysteriously killing my script with no good reasoning (or logs!...seriously....) into why, I was forced to reset my router which seemed to fix the problem. However, out of an abundance of caution I felt this script would be useful to prevent the problem from causing issues in the future. If you notice suddenly you have a bunch of entries in the logs of it restarting your script to dig deeper, but your security script is still functioning. You can find that here:
https://gist.github.com/sideup66/0c2967cc5522509ed7f0ffce975cc75c
In any event, not really wz_mini scripts, but seem like useful companion tools if someone might need them.
Beta Was this translation helpful? Give feedback.
All reactions