Turn on/off Raspberry PI wirelessly

For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
abell118
 
Posts: 9
Joined: Mon Mar 21, 2016 3:53 pm

Turn on/off Raspberry PI wirelessly

Post by abell118 »

Hello,

I would like to turn on and off my Raspberry PI project and have seen several examples but I am not sure which one is the best answer.

option 1 - use the Keyfob 2-Button RF Remote Control - 315MHz and Simple RF L4 Receiver - 315MHz Latching Selector Type as a starting point. I would still need a relay like the Adafruit Latching Mini Relay FeatherWing.
option 2 - mimic what was shown in the https://www.adafruit.com/product/2923 video. However, she says "she uses an ESP Feather" but I am not sure what that is? Is that the Assembled Feather HUZZAH w/ ESP8266 WiFi With Stacking Headers https://www.adafruit.com/product/3213? Still would need the latching relay.
option 3 - maybe I could use a Mini Remote Control with an IR Sensor and relay?
option 4 - maybe one of the other RF modules LoRa or something else.

Suggestions?

Thanks
Andy Bell

User avatar
PWK
 
Posts: 39
Joined: Wed Mar 06, 2019 9:08 am

Re: Turn on/off Raspberry PI wirelessly

Post by PWK »

Andy

Not sure which software you are running on your RasPi but connecting a relay to power may not be the best best way to shut it down. This could cause corrupt files and or configuration issues. There are commands that can be run from a PuTTY session on another computer which will shut it down properly and also remotely (wirelessly). This software is very easy and free to install on a PC. Hope this helps.

Paul

User avatar
Franklin97355
 
Posts: 23911
Joined: Mon Apr 21, 2008 2:33 pm

Re: Turn on/off Raspberry PI wirelessly

Post by Franklin97355 »

A little more information would help make a better suggestion. How far do you need to be from the Pi and what will you be using? Why will you need to turn off the Pi? Do you need the Pi to complete a task when on before going off? Thanks for giving us the info.

User avatar
abell118
 
Posts: 9
Joined: Mon Mar 21, 2016 3:53 pm

Re: Turn on/off Raspberry PI wirelessly

Post by abell118 »

We have a PI in a display case that is controlling two eyes (https://www.adafruit.com/product/3356). The power for the PI is provided by a solar panel (https://www.adafruit.com/product/200) that charges (https://www.adafruit.com/product/390) a battery (https://www.adafruit.com/product/328) and a small boot power supply (https://www.adafruit.com/product/2030) provide 5V to the PI. I don't want the PI running all the time and want to remotely turn it on and off. I think I can turn it on and off with the USB Power Cable with a Switch (https://www.adafruit.com/product/2379). However, I would need to open the display case to turn it on and off. I was just looking for an easy way to turn off the PI using some sort of Wireless interface.

Locked
Please be positive and constructive with your questions and comments.

Return to “Wireless: WiFi and Bluetooth”