Jump to content

Network Resource to reset router


Recommended Posts

4 minutes ago, glsmith777 said:

I am looking for a connection to my router via a Netword Resource.  It accepts SSH and Telnet.  For the purposes of sending it a reboot command.  Is this possible?

thank you

I don't know if it's possible. However, a simple controlled outlet would allow you to do reboot it

Link to comment

Thank you for your response

I am already using an Insteon micro open/close with a normally closed relay.  I can send an open command to the Insteon and it opens the relay, turning power off to the router.  The micro switch times out in about 45 secs, releasing the relay and the router power comes back on.  Works great - but would prefer sending a reboot signal.  I can send the commands over telnet and SSH - so the router will accept a reboot over intranet.  And I have created a script and scheduled the script with the Windows scheduler.  That works also.  But I am trying to use the ISY as THE controller and allow me to reboot whenever I want.

I have Network Resources now that control all of my TVs (either direct command or via an IR blaster), my DirecTV boxes, my Bose stereo (in 9 rooms), all my IR LED candles, my LIFX LED lights, my CYRON LED lights (via WL2CC) and SIRS LED lights (via WL2CC).  I just assumed a router reboot would be trivial.

 

Link to comment
1 hour ago, glsmith777 said:

And I have created a script and scheduled the script with the Windows scheduler.  That works also.  But I am trying to use the ISY as THE controller and allow me to reboot whenever I want.

If the router has an API  then it's trivial to create a network resource.    What does your windows scheduler actually do?   If you can hit a url like http:/<local IP of router>/reboot then it's simple with network resources.   If you need to SSH or Telnet then login and issue commands you can't do it via network resources.  You could however create a nodeserver that could do that.

Just to make the discussion simpler for all concerned, what make and model router are you using?

Link to comment

thank you for the response - 

Router is a Zyxel C3000Z

The Windows scheduler runs a Telnet script each evening at 4 AM.  The telnet script

192.168.0.1
WAIT "Login:"
SEND "admin\m"
WAIT "Password:"
SEND "mypassword\m"
WAIT ">"
SEND "reboot\m"

then reboots my router

If I could use an HTTP call, I would not have asked for help (of course).  Router does not accept user name of password or commands over HTTP.   Telenet works fine, would be nice to have the ISY control it vs the Windows scheduler.

If its is not possible, I certainly understand

Thanks again!

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...