carefulcomputer
New Around Here
Apologies if this is wrong forum. This is my first post.
For my home automation, I am looking to send commands to my router from my home automation server (to enable/disable guest network on demand, or to open/close ports on demand). When searching forums, all I could find was MQTT publish where router is publishing messages, but I was hoping to find a post where router is listening for messages (and run local script on certain messages).
Here are couple of options I am considering -
1) MQTT subscriber on router listening for message on another broker (hosted in local lan). Is it possible with any available packages ?
2) API listener on router which can accept different commands. Is it possible with any available packages ?
3) Worst case option - automate it by trying to emulate a webbrowser (not sure if asuswrt-merlin has some protection against detecting web scrapers/bots which will interfere with this)
For my home automation, I am looking to send commands to my router from my home automation server (to enable/disable guest network on demand, or to open/close ports on demand). When searching forums, all I could find was MQTT publish where router is publishing messages, but I was hoping to find a post where router is listening for messages (and run local script on certain messages).
Here are couple of options I am considering -
1) MQTT subscriber on router listening for message on another broker (hosted in local lan). Is it possible with any available packages ?
2) API listener on router which can accept different commands. Is it possible with any available packages ?
3) Worst case option - automate it by trying to emulate a webbrowser (not sure if asuswrt-merlin has some protection against detecting web scrapers/bots which will interfere with this)