Will the virtual box run on boot without logging into the PC? I plan to install this on an desktop that is set to automatically power on upon being connected to power, and would want to insure that it comes up without having to log into a user account on the PC itself for it to come on and function.
You mentioned how you can use this technology as a test instance of HA. I'd like to see a video of how you go through that process. I understand how you can update this one and leave the production HA server alone without the update. How do you shut down the production HA and still have access to the Z-Wave devices it's connected to? My question may show my newb-ness but I'm probably not alone in that. I may use an old Windows laptop as a test platform. Thank you.
Z-wave would be a bit of a pain. You'd have to move the dongle from your production instance to the test one. As for how to make them the same... I've got a video already recorded and scheduled for somewhere in the coming weeks (I forget exactly when, but I've got a video coming out every Friday for the next month) about how to restore from backup. That would be the closest you'll get to an exact copy of your production system. I've never had to restore from backup myself, but I've had a LOT of people ask me about the process, so I wanted to make a video showing it. I ran through it once, and was like "that's it?" then wiped it all and made a video about it. Super simple.
That was just a premiere. UA-cam will take any pre-recorded video and let you watch it live with your subscribers and have a chat on the side about it. Still haven't done a live yet, working on it!
Thanks, it was usefull. I installed as your instruction. Now I want to use node red installed under HA, but I dont see the serialm ports for my modbus serial devices. Can you help me how can I get the serial ports of the Windows host machine?
You have to edit the vm settings and map them in, they don't get added by default. I'm not sure if serial is possible though, never tried it. Usb should be, but...
@@MsOmgnowai2 I did not figure it out using the virtual machine but when I loaded it onto a cheap elite desk mini PC it did work. Still learning how to use it but I was able to connect
Had this issue and sorted it out. It is probably because you are connecting via WiFi. It must be hardwired, wireless is NOT a supported method to connect. From the instructions: Please keep in mind that the bridged adapter only functions over a hardwired Ethernet connection. Using Wi-Fi on your VirtualBox host is unsupported.
When I enter my web address for Home Assistant, it shows that you entered it, but in the end, I get a "This site can't be reached." Any tips would be greatly appreciated!
I used all the installation and setting steps. The image doesn't work for me. :( AS SYSTEM I HAVE A MINI PC LENOVO PROCESSOR I5-6500T, HDD I HAVE A KINGSTON SNV2S1000G ON SLOT M2, GRAPHICS CARD HD GRAPHICS 530, DDR 31.9 GB. Can you help me with some advice so that I can boot? Is it possible from hdd which is m2?
Hey Jeff, quick question. I’m currently running my Home Assistant through a virtual machine on virtual box, however, the problem im running into is, when I restart windows, my zigbee/zwave usb disconnects and the only way to get it to be recognized in home assistant again is to physically unplug and replug the device, and then restart home assistant. Any tips on how to get this fixed? Thanks! Great video by the way!
Sorry, no.. Haven't run into that since I only use my windows vm one as a lab/test/dev environment. My main production HA instance currently runs baremetal on a NUC. I'm looking at moving it to proxmox, however, so I'll probably make a video about that this fall (I spend my summers fishing, so most of my summer content is already in some various stage of planned/shot/completed).
mine keeps failing stating VM Name: HomeAssistant3 Not in a hypervisor partition (HVP=0) (VERR_NEM_NOT_AVAILABLE). AMD-V is disabled in the BIOS (or by the host OS) (VERR_SVM_DISABLED). Result Code: E_FAIL (0X80004005) Component: ConsoleWrap Interface: IConsole {6ac83d89-6ee7-4e33-8ae6-b257b2e81be8} please help me
That's done using usb pass-thru. Most people don't do that since by the time you get to zigbee, running it as a VM on windows isn't a good plan. Usually people do this for a test/dev system, not for production. Thanks for watching!
@@fasthowto works for me and I haven't had any issues associated with this as far as I know. But then again I'm using a dedicated Lenovo Thinkcentre M93P that only runs HA.
If you're going to run HA in a VM like VirtualBox, it's likely easier to go with a network-connected Zigbee Coordinator, the likes of TubesZB for example with ethernet, wi-fi, and PoE options, instead of trying to figure out USB passthrough.
I haven't tried to do that just yet, but I *think* you'd need to just deploy one, and then clone it. I do know that if you try to deploy 2 using the save virtual disk image, you'll get an error because of a duplicated GUID.
You should be able to just run two Pis then. I've done that before when migrating from my Pi to my NUC. The level of difficulty involved is going to depend on exactly how closely you want those two systems to be mirrored. Things like Zigbee and Z-wave devices can only pair to one controller at a time, so I usually don't worry about those for my test system. I'm more worried about HA itself and the weird things that may happen there.
This video worked for me to get started with HA, thanks!
Not sure what the issue was with the other one, but I'm glad this one worked for you! :)
How can i make the vm with HA run on windows boot or after a windows update?
Will the virtual box run on boot without logging into the PC? I plan to install this on an desktop that is set to automatically power on upon being connected to power, and would want to insure that it comes up without having to log into a user account on the PC itself for it to come on and function.
You mentioned how you can use this technology as a test instance of HA. I'd like to see a video of how you go through that process. I understand how you can update this one and leave the production HA server alone without the update. How do you shut down the production HA and still have access to the Z-Wave devices it's connected to? My question may show my newb-ness but I'm probably not alone in that. I may use an old Windows laptop as a test platform. Thank you.
Z-wave would be a bit of a pain. You'd have to move the dongle from your production instance to the test one. As for how to make them the same... I've got a video already recorded and scheduled for somewhere in the coming weeks (I forget exactly when, but I've got a video coming out every Friday for the next month) about how to restore from backup. That would be the closest you'll get to an exact copy of your production system. I've never had to restore from backup myself, but I've had a LOT of people ask me about the process, so I wanted to make a video showing it. I ran through it once, and was like "that's it?" then wiped it all and made a video about it. Super simple.
Great to see you live!
That was just a premiere. UA-cam will take any pre-recorded video and let you watch it live with your subscribers and have a chat on the side about it. Still haven't done a live yet, working on it!
Thanks, it was usefull. I installed as your instruction. Now I want to use node red installed under HA, but I dont see the serialm ports for my modbus serial devices. Can you help me how can I get the serial ports of the Windows host machine?
You have to edit the vm settings and map them in, they don't get added by default. I'm not sure if serial is possible though, never tried it. Usb should be, but...
when i enter the IP into my browser it doesnt load anything, not sure what i missed. any help would be appreciated !
hey, did you figure this out? I’m having the same problem
@@MsOmgnowai2 I did not figure it out using the virtual machine but when I loaded it onto a cheap elite desk mini PC it did work. Still learning how to use it but I was able to connect
Had this issue and sorted it out. It is probably because you are connecting via WiFi. It must be hardwired, wireless is NOT a supported method to connect. From the instructions: Please keep in mind that the bridged adapter only functions over a hardwired Ethernet connection. Using Wi-Fi on your VirtualBox host is unsupported.
@@sanelselimovic Oh my lord, thank you 😅
Did you guys add :8123 to the end of your IP?
When I enter my web address for Home Assistant, it shows that you entered it, but in the end, I get a "This site can't be reached." Any tips would be greatly appreciated!
lol i just had the ssame question, got the VM installed home assistant opens in the VM but when i enter the IP nothing comes up in my browser
I used all the installation and setting steps. The image doesn't work for me. :( AS SYSTEM I HAVE A MINI PC LENOVO PROCESSOR I5-6500T, HDD I HAVE A KINGSTON SNV2S1000G ON SLOT M2, GRAPHICS CARD HD GRAPHICS 530, DDR 31.9 GB. Can you help me with some advice so that I can boot? Is it possible from hdd which is m2?
I made a video about how to boot from hard drive. If that's what you're trying to do, you should check that one out.
Köszönjük!
Thank you!
Hey Jeff, quick question. I’m currently running my Home Assistant through a virtual machine on virtual box, however, the problem im running into is, when I restart windows, my zigbee/zwave usb disconnects and the only way to get it to be recognized in home assistant again is to physically unplug and replug the device, and then restart home assistant.
Any tips on how to get this fixed? Thanks! Great video by the way!
Sorry, no.. Haven't run into that since I only use my windows vm one as a lab/test/dev environment. My main production HA instance currently runs baremetal on a NUC. I'm looking at moving it to proxmox, however, so I'll probably make a video about that this fall (I spend my summers fishing, so most of my summer content is already in some various stage of planned/shot/completed).
Thanks Jeff!
Is it a must to use lan cable or is it possible to use a wifi network ?
You should never put server infrastructure on wireless.
mine keeps failing stating VM Name: HomeAssistant3
Not in a hypervisor partition (HVP=0) (VERR_NEM_NOT_AVAILABLE).
AMD-V is disabled in the BIOS (or by the host OS) (VERR_SVM_DISABLED).
Result Code:
E_FAIL (0X80004005)
Component:
ConsoleWrap
Interface:
IConsole {6ac83d89-6ee7-4e33-8ae6-b257b2e81be8}
please help me
Never seen that before, but I'm gonna take a flyer and say the answer is in the error: Try enabling virtualization in the BIOS.
@@fasthowto that’s worked!! Thank you.
You didnt cover how to install a Zigbee hub or any hub on the USB port.
That's done using usb pass-thru. Most people don't do that since by the time you get to zigbee, running it as a VM on windows isn't a good plan. Usually people do this for a test/dev system, not for production. Thanks for watching!
@@fasthowto works for me and I haven't had any issues associated with this as far as I know. But then again I'm using a dedicated Lenovo Thinkcentre M93P that only runs HA.
If you're going to run HA in a VM like VirtualBox, it's likely easier to go with a network-connected Zigbee Coordinator, the likes of TubesZB for example with ethernet, wi-fi, and PoE options, instead of trying to figure out USB passthrough.
@@ShooterQ yes it's tricky using a VM but so far it's been stable.
Is it fine to just run HA off the VM as your main source instead of getting a pi and doing all that?
I made a lengthy video already that compares and contrasts the various deployment types. If you're trying to decide, that's a great place to start.
@@fasthowto I'll be sure to check it out thanks mate
My pleasure. Enjoy! :)
Why did you not use Hyper-V? 1:17
Great question! Because this is far easier, and not every version of Windows includes hyper-v
How do I run two instances
I haven't tried to do that just yet, but I *think* you'd need to just deploy one, and then clone it. I do know that if you try to deploy 2 using the save virtual disk image, you'll get an error because of a duplicated GUID.
@@fasthowto I want 2 raspberry pi's on same network, ie live and development version
You should be able to just run two Pis then. I've done that before when migrating from my Pi to my NUC. The level of difficulty involved is going to depend on exactly how closely you want those two systems to be mirrored. Things like Zigbee and Z-wave devices can only pair to one controller at a time, so I usually don't worry about those for my test system. I'm more worried about HA itself and the weird things that may happen there.
Hey there Jeff!
Hi Simon! :)