January 5, 20206 yr Hi everyone! I'd like to start a VM with a physical push button on the case of the pc (I suppose an arduino will be required?). Does anyone here use something like that? So far I could only find very old topics on the internet about projects that tried to achive this but those I found were abandoned or (according to comments) don't work anymore. Thanks in advance!
January 5, 20206 yr I use the Electric Brain Unraid API in combination with Homeassistant to passthrough a digital switch to start and shut down the VM. Maybe you can work with this. =)
January 6, 20206 yr Hey! I actually use a pushbutton switch to power on/off my virtual machine. If you've got an RPi I can share my code with you (wouldn't be too hard to replicate for an Arduino). I use an RPi Zero that connects to WiFi and just sends a request to my Unraid server.
January 7, 20206 yr Author On 1/5/2020 at 8:52 PM, mrdreirad said: I use the Electric Brain Unraid API in combination with Homeassistant to passthrough a digital switch to start and shut down the VM. Maybe you can work with this. 😃 Is that "www.home-assistant.io"? as far as i understand you use the mobile app to launch the VM, not a physical push button, is that right?
January 7, 20206 yr Author 22 hours ago, LiableLlama said: I actually use a pushbutton switch to power on/off my virtual machine. If you've got an RPi I can share my code with you (wouldn't be too hard to replicate for an Arduino). I use an RPi Zero that connects to WiFi and just sends a request to my Unraid server. That would be awesome! Do you also need a docker in unraid that the RPi sends its command to?
January 7, 20206 yr 7 hours ago, cholzer said: That would be awesome! Do you also need a docker in unraid that the RPi sends its command to? No; it just sends a request to the Unraid server. It doesn't utilize the Unraid Electric Brain API or whatever it's called. But if you wanted to PM me your discord (for easier method of communication) I can give you a shopping list of stuff that you'll need, or whether you already have the necessary items.
January 7, 20206 yr 10 hours ago, cholzer said: Is that "www.home-assistant.io"? as far as i understand you use the mobile app to launch the VM, not a physical push button, is that right? that's right, i forward it to Apple Home. and use Siri or the Home App for launching the VM. I don't have experience with an arduino or similiar but i don't expect it to be too hard to forward it to a physical switch. but i guess many routes leading to the goal. depens on what one need
April 4, 20206 yr On 1/7/2020 at 10:17 PM, LiableLlama said: No; it just sends a request to the Unraid server. It doesn't utilize the Unraid Electric Brain API or whatever it's called. But if you wanted to PM me your discord (for easier method of communication) I can give you a shopping list of stuff that you'll need, or whether you already have the necessary items. @LiableLlama, I'd like to be able to do this. This is great! Can you show me how? Whichever you are more comfortable with, PM or post here.
August 12, 20205 yr @LiableLlama i would love the info on how to do this Edited August 12, 20205 yr by lordbeavis
September 21, 20205 yr I would love more information on this as well! Possible to do a mini tutorial on this? ❤️
Archived
This topic is now archived and is closed to further replies.