Asus Merlin + IFTTT via Webhooks (home automation)

  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

copires

New Around Here
Hey guys, sorry for my bad english. I bought an AC86U router and there is no support for home automation, especially Amazon and Google assistant.

Afortunately, I found a way to integrate my router with IFTTT via webhooks using a script (WGET and others usual linux commands).

I need to create a trigger to disable my security camera's motion notifications when I'm at home. As an event for this, I thought when I approach the house and my smartphone connects to the wifi network.

The question is: within asus merlin, what can I use as a monitor capable of identifying and notifying my script about an IP gain or a successful wifi connection from a certain device (MAC address, IP, etc.)?

Thans in advance.
 

KsWoodsMan

Regular Contributor
DNSMASQ can run a script when devices get, renew or release a DHCP lease.

This would require Merlin firmware, or some kind of hooks in the stock firmware that atleast were managing your /etc/dnsmasq.conf file.
I don't know what, if anything, gets fed to the script you'd create. But this seems to fit in with what you are wanting to do..
 
Last edited:

Paradoxgrowth

New Around Here
I know this thread is a little old and very ignored but I would love to have IFTTT support (with Alexia, google assist support) too. For example, I would love to make it easier for me to toggle the VPN client connection on and off.
 

eightiescalling

Occasional Visitor
Does it specifically need to be IFTTT/Alexa/Google Assistant to the router? I must admit, the need to enable remote admin from anywhere put me off that one.

Home Assistant has some pretty good integrations (including a level of integration to the ASUS router) and makes it simple to tag devices to people and trigger automations. For example, turning on a VPN server when you leave the house then turning it off again when you get home. Or activating guest wifi setting a new password at that point, with push notifications to trusted phones of said new password, so you can enforce time limited access to the internet.

There are some How Tos kicking around on hooking HA in to Alexa or Google Assistant so you could use that as a hook for changes to the router. I haven't looked too closely at those yet to understand the level of security exposure the unprotected port forwarding to HA would give though.

Ultimately depends where you want to introduce the security risk I guess - IFTTT over the internet to router or HA over LAN to the router.
 

Paradoxgrowth

New Around Here
Does it specifically need to be IFTTT/Alexa/Google Assistant to the router? I must admit, the need to enable remote admin from anywhere put me off that one.

Home Assistant has some pretty good integrations (including a level of integration to the ASUS router) and makes it simple to tag devices to people and trigger automations. For example, turning on a VPN server when you leave the house then turning it off again when you get home. Or activating guest wifi setting a new password at that point, with push notifications to trusted phones of said new password, so you can enforce time limited access to the internet.

There are some How Tos kicking around on hooking HA in to Alexa or Google Assistant so you could use that as a hook for changes to the router. I haven't looked too closely at those yet to understand the level of security exposure the unprotected port forwarding to HA would give though.

Ultimately depends where you want to introduce the security risk I guess - IFTTT over the internet to router or HA over LAN to the router.
I'll take what I can get. I see my Qnap supports home assistant, so I installed the software. have any good guides?
 

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top