I need some help. I would like to switch the wifi radio of my Asus AC66U router from my Hassio (0.84.6) runnung on RPi3.
I can connect using PuTTY with ssh from my desktop pc. Using the wl -i eth1 down
command the radio turns off and wl -i eth1 up
turns it on.
But I don’t know how to create a working script or I don’t know how to use ssh (telnet) under hassio at all.
So please help me. Thank you in advance for any help you can provide.
Does anyone have any idea?
ceh
January 15, 2019, 3:13pm
3
ssh user@ip_address “wl -i eth1 down”
Thanks. And how can I run it from Hassio?
Edit: and one more question: how can I store the password?
And the answer is: https://megamorphf.github.io/homeassistant/hyperion/ssh/hassio/2018/01/22/controlling-anything-via-ssh.html#fn:3
I know this is a ‘late’ answer, but I better leave this here:
For anyone who is not familiar with SSH connection from HA to a router, here’s a good walkthrough:
I’ve noticed there’s a significant number of posts looking for help on this topic and the posters all seem to struggle with a few common issues. I realized I’ve been almost copying and pasting my responses on these topics so it seemed like a good case for a community guide.
What will this cover
This guide will walk through the process of getting a command which ssh’s into another machine to get some simple data ready to be included in a command line sensor . To keep it simple I’ll use the same …