What's new

Looking for an add-on that does...

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

wilsonmarcolin

New Around Here
Performance
- spdMerlin - (AMTM) - Github - Dev: @Jack Yaz
- vnStat - (AMTM) - Github - Dev: @dev_null

QoS
- CakeQOS - Github - Dev: @ttgapers
- FlexQoS - (AMTM) - Github - Dev: @dave14305

Routing/Networking
- Domain-based VPN Routing - Github - Dev: @Ranger802004
- x3mRouting - (AMTM) - Github - Dev: @Xentrk
- YazFi - (AMTM) - Github - Dev: @Jack Yaz

Security/Firewall
- FilterValidator
- Source / Github - Dev: @Viktor Jaep @SomeWhereOverTheRainBow
- Skynet - (AMTM) - Github - Dev: @Adamm
- Suricata - Github - Dev: @rgnldo @juched

Smart Home
- PWRMON - Github - Dev: @Viktor Jaep
- WXMON - Github - Dev: @Viktor Jaep

<continued below>

For Smart Home, would there be an addon that could provide the following features:
- command a remote reboot of the router or even the devices in a mesh network. In other words, an http call to the router's address with a command would determine a reboot;
- an http call that returns the list of connected devices, like the information we have in Network Map > View List.
The aim would be to use these resources as commands and extra information for automation using Hubitat.
Thank you.
 
For Smart Home, would there be an addon that could provide the following features:
- command a remote reboot of the router or even the devices in a mesh network. In other words, an http call to the router's address with a command would determine a reboot;
The only one I know that will do that is VPNMON-R2 at this point. It has a remote reboot feature (just the router itself), and checks an external file periodically in order to determine if it needs to reboot.
- an http call that returns the list of connected devices, like the information we have in Network Map > View List.
The aim would be to use these resources as commands and extra information for automation using Hubitat.
Thank you.
This one is not one I'm familiar with...
 
reboot;
- an http call that returns the list of connected devices, like the information we have in Network Map > View List.
The aim would be to use these resources as commands and extra information for automation using Hubitat.
Thank you.
That would require an additional webserver running IMHO. WitH an API as backend.
 
- an http call that returns the list of connected devices, like the information we have in Network Map > View List.
The aim would be to use these resources as commands and extra information for automation using Hubitat.
If you'd consider switching to (or adding) Home Assistant (I run both), HA has an Asus integration that can be used to detect individual devices connecting,

I use it to monitor presence (of family) but I know some others that use it as trigger for alarms, lights, doors, etc.

The HA information can be shared with Hubitat via the HA Device Bridge inside Hubitat, but I don't think there's a native Asus add-on for Hubitat.
 
Just to build off of this, there’s an excellent HACS (Home Assistant Custom something or other) integration that adds a ton of features. Almost all of the integrations I’m running in Home Assistant are installed via HACS, even when there is a default integration available. There’s a very similar community to SNBForums, albeit a few more heated arguments and a lot more questioning of the devs (and I think a lower overall knowledge base per capita).

A fair warning: you will pull out far more hair dealing with Home Assistant than with Merlin. Your family will yell at you more than when you break the router on Friday night, because your Bedroom lights will suddenly turn on at 3am.

The custom ASUS integration is here:
ha-asusrouter

Here’s an example of an HA Merlin Dashboard that I shamelessly stole from someone on the forums, and am still customizing:
IMG_7201.jpeg

It’s still a work in progress, both the dashboard and the integration, but it works with both Merlin and Gnuton’s fork.

It also creates individual device trackers so you can see things when devices disconnect, etc. The connection and AP data used to include the YazFi “VLAN” guests as well, and not everything is there because I’m tinkering (and thus breaking) with the dashboard to get it to where I want.

EDIT: Typo.
 
I did some commands over ssh from one router to another. It required a utility called sshpass since ssh wants a password.
Its not available (rightfully) via Entware (I asked @ryzhov_al to add it to Entware but he gently explained why he wouldn’t - big security issue).

Essentially it passes your password to an ssh session that then executes the command you want.
For reboot, it would be something like:

Code:
sshpass -p 'remotepassword' ssh admin@192.168.1.7 service reboot

Or the more marginally secure: sshpass -f file_where_password_is ssh etc.

Any command you can run on the remote router over ssh can be done. You can even invoke a shell script.

If you really wanted to try it, download sshpass (https://github.com/kevinburke/sshpass) and compile it.
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

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