Turn on/off local wifi device with bash script

I have a raspberry pi in my local wifi network. Also I bought smart socket which can be integrated with Alexa or Google Home Assistant. What is a best option to turn the socket on/off from my raspberry? I thought about installing alexa or google home assistant on the raspberry and somehow use one of these to control my socket. However I don't want to do that by voice but simply a bash script.

Read more here: https://stackoverflow.com/questions/64485484/turn-on-off-local-wifi-device-with-bash-script

Content Attribution

This content was originally published by standy at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: