Hello!
I have a ASUS RT-AC66U.
Currently, I have a node.js script that starts to play music on my speakers when Tasker sends it a package, which happens when I arrive at my house. This works okay, but I would like to move away from Tasker, and use the router instead. Which means I need to write a script that maybe every 15 seconds checks if my device has connected through Wi-Fi, and then send a package to a specific address.
But, I don't know how to write the script or where to put it on my router, so I would really like some help. What commands should I use? Where should I put the script, also do I need to copy it to RAM every boot?
Whenever I search for this I find threads for DD-WRT and similar, but I can't understand how they work.
I have a ASUS RT-AC66U.
Currently, I have a node.js script that starts to play music on my speakers when Tasker sends it a package, which happens when I arrive at my house. This works okay, but I would like to move away from Tasker, and use the router instead. Which means I need to write a script that maybe every 15 seconds checks if my device has connected through Wi-Fi, and then send a package to a specific address.
But, I don't know how to write the script or where to put it on my router, so I would really like some help. What commands should I use? Where should I put the script, also do I need to copy it to RAM every boot?
Whenever I search for this I find threads for DD-WRT and similar, but I can't understand how they work.