cholzer Posted January 5, 2020 Share Posted January 5, 2020 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! Quote Link to comment
mrdreirad Posted January 5, 2020 Share Posted January 5, 2020 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. =) Quote Link to comment
LiableLlama Posted January 6, 2020 Share Posted January 6, 2020 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. Quote Link to comment
cholzer Posted January 7, 2020 Author Share Posted January 7, 2020 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? Quote Link to comment
cholzer Posted January 7, 2020 Author Share Posted January 7, 2020 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? Quote Link to comment
LiableLlama Posted January 7, 2020 Share Posted January 7, 2020 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. 1 Quote Link to comment
mrdreirad Posted January 7, 2020 Share Posted January 7, 2020 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 1 Quote Link to comment
lsaranto Posted January 28, 2020 Share Posted January 28, 2020 I have a zigbee switch that sends out a magic packet with the VM's mac address. Quote Link to comment
jang430 Posted April 4, 2020 Share Posted April 4, 2020 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. Quote Link to comment
lordbeavis Posted August 12, 2020 Share Posted August 12, 2020 (edited) @LiableLlama i would love the info on how to do this Edited August 12, 2020 by lordbeavis Quote Link to comment
FranciumF Posted September 21, 2020 Share Posted September 21, 2020 I would love more information on this as well! Possible to do a mini tutorial on this? ❤️ Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.