Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Physical push button to start a VM?

Featured Replies

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! :)

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. =)

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.

  • 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? :)

  • 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?

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.

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 ;)

  • 3 weeks later...

I have a zigbee switch that sends out a magic packet with the VM's mac address.

  • 2 months later...
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.

  • 4 months later...

@LiableLlama i would love the info on how to do this

Edited by lordbeavis

  • 1 month later...

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.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.