Not sure where the appropriate forum to ask this is (if there is a better one, please let me know and I'll repost there).
I have an RT-AC86U, running Merlin 384.15 alpha 2 and have AMTM, Skynet, and Entware packages running.
Is something like this possible? If so, how (I'm thinking a script or some script package that can be loaded)?
I have an elderly parent at home that has dementia staying in my home with my family. Usually, I am home with him, but, occasionally, I have to leave him alone. I setup wireless cameras in the house so that my family can monitor him while he is alone. However, I do not want the cameras on while I am home with him. My thinking is that I always have my phone with me. Therefore, when the phone is connected to the home network, I'd like the cameras off. When the phone is not connected to the network I'd like the cameras on.
I was playing around and discovered that filtering by MAC address will not work (since cameras are battery operated and when blocked they shutoff). But, if I go to Firewall/Network Services Filter and setup a Filter for the IP address and Protocol UDP, noone can connect to cameras and they do not lose their connection.
I have manually assigned the following IP DHCPs:
192 168.1.200 Phone
192.168.1.211 Camera 1
192.168.1.212 Camera 2
192.168.1.213 Camera 3
My thought is, when Phone (ip 192.168.1.200) is not connected to wireless network, 3 Network Services Filters would be created:
192.168.1.211 UDP
192.168.1.212 UDP
192.168.1.213 UDP
When phone (IP 192.168.1.200) reconnects to the wireless network, the 3 filters would be deleted.
Is there anyway to automate this with a script or something?
Thank you.
I have an RT-AC86U, running Merlin 384.15 alpha 2 and have AMTM, Skynet, and Entware packages running.
Is something like this possible? If so, how (I'm thinking a script or some script package that can be loaded)?
I have an elderly parent at home that has dementia staying in my home with my family. Usually, I am home with him, but, occasionally, I have to leave him alone. I setup wireless cameras in the house so that my family can monitor him while he is alone. However, I do not want the cameras on while I am home with him. My thinking is that I always have my phone with me. Therefore, when the phone is connected to the home network, I'd like the cameras off. When the phone is not connected to the network I'd like the cameras on.
I was playing around and discovered that filtering by MAC address will not work (since cameras are battery operated and when blocked they shutoff). But, if I go to Firewall/Network Services Filter and setup a Filter for the IP address and Protocol UDP, noone can connect to cameras and they do not lose their connection.
I have manually assigned the following IP DHCPs:
192 168.1.200 Phone
192.168.1.211 Camera 1
192.168.1.212 Camera 2
192.168.1.213 Camera 3
My thought is, when Phone (ip 192.168.1.200) is not connected to wireless network, 3 Network Services Filters would be created:
192.168.1.211 UDP
192.168.1.212 UDP
192.168.1.213 UDP
When phone (IP 192.168.1.200) reconnects to the wireless network, the 3 filters would be deleted.
Is there anyway to automate this with a script or something?
Thank you.