{"id":917,"date":"2023-08-10T01:39:17","date_gmt":"2023-08-09T23:39:17","guid":{"rendered":"https:\/\/sweetweb.blog\/?p=917"},"modified":"2023-08-10T02:59:13","modified_gmt":"2023-08-10T00:59:13","slug":"home-assistant-on-vsphere-7-0","status":"publish","type":"post","link":"https:\/\/sweetweb.blog\/index.php\/2023\/08\/10\/home-assistant-on-vsphere-7-0\/","title":{"rendered":"Home Assistant on vSphere 7.0"},"content":{"rendered":"\n
All my home lab run on vSphere 7, my Raspberry Pi is too old with his 256MB RAM, so let’s see how to run Home Assistant on our vSphere. Clic Next<\/strong> and then Finish<\/strong>. Let’s go back to your Home Assistant VM<\/strong>, and Edit settings<\/strong>, clic on Add hard disk<\/strong> > Existing hard disk<\/strong> and select your new VM folder and select haos_ova-10.4.vmdk<\/em><\/strong> or select the new disk home-haos-001.vmdk<\/em><\/strong> (check below to understand how to create it) There is a KB about this error on VMware website : haos_ova-10.4.vmdk<\/em><\/strong> is our vmdk downloaded and home-haos-001.vmdk<\/em><\/strong> will be the new vmdk.<\/p>\n\n\n\n Then now we got our Hard disk 1<\/strong>, but we need to add a SCSI Controller<\/strong>, Add other device<\/strong> > SCSI Controller<\/strong> You should get something like that :<\/p>\n\n\n\n <\/p>\n\n\n\n Save<\/strong> and start<\/strong> your VM and Voil\u00e0 !<\/p>\n\n\n\n Enjoy your home assistant \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":" All my home lab run on vSphere 7, my Raspberry Pi is too old with…<\/p>\n","protected":false},"author":1,"featured_media":922,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[102,101,100],"tags":[105,106,107,103,104],"featured_image_urls":{"full":["https:\/\/sweetweb.blog\/wp-content\/uploads\/2023\/08\/homeassistant-vsphere.png",762,593,false],"thumbnail":["https:\/\/sweetweb.blog\/wp-content\/uploads\/2023\/08\/homeassistant-vsphere-720x300.png",720,300,true],"medium":["https:\/\/sweetweb.blog\/wp-content\/uploads\/2023\/08\/homeassistant-vsphere.png",762,593,false],"medium_large":["https:\/\/sweetweb.blog\/wp-content\/uploads\/2023\/08\/homeassistant-vsphere.png",640,498,false],"large":["https:\/\/sweetweb.blog\/wp-content\/uploads\/2023\/08\/homeassistant-vsphere.png",640,498,false],"1536x1536":["https:\/\/sweetweb.blog\/wp-content\/uploads\/2023\/08\/homeassistant-vsphere.png",762,593,false],"2048x2048":["https:\/\/sweetweb.blog\/wp-content\/uploads\/2023\/08\/homeassistant-vsphere.png",762,593,false],"newsphere-slider-full":["https:\/\/sweetweb.blog\/wp-content\/uploads\/2023\/08\/homeassistant-vsphere.png",762,593,false],"newsphere-featured":["https:\/\/sweetweb.blog\/wp-content\/uploads\/2023\/08\/homeassistant-vsphere.png",762,593,false],"newsphere-medium":["https:\/\/sweetweb.blog\/wp-content\/uploads\/2023\/08\/homeassistant-vsphere-720x380.png",720,380,true]},"author_info":{"display_name":"maxence","author_link":"https:\/\/sweetweb.blog\/index.php\/author\/maxence\/"},"category_info":"Home Assistant<\/a> VMware<\/a> vSphere<\/a>","tag_info":"vSphere","comment_count":"0","jetpack_featured_media_url":"https:\/\/sweetweb.blog\/wp-content\/uploads\/2023\/08\/homeassistant-vsphere.png","jetpack-related-posts":[{"id":796,"url":"https:\/\/sweetweb.blog\/index.php\/2010\/09\/01\/how-to-swap-raid0-avec-des-cartes-lsi-ovh-serveur-hybrid\/","url_meta":{"origin":917,"position":0},"title":"How to : Swap Raid0 avec des cartes LSI \u2013 OVH Serveur Hybrid","author":"maxence","date":"September 1, 2010","format":false,"excerpt":"J\u2019ai plein de notes sur mon google docs, et je me suis dit pourquoi pas partager mon exp\u00e9rience avec vous. Je me suis inspir\u00e9 du tuto de @Toorop_ (blog.toorop.fr) visible \u00e0 cette adresse :How To: Serveur OVH Hybrid (SSD+SATA) sous openvz \u00ab In My Mind Je suis en plein test\u2026","rel":"","context":"In "HowTo"","block_context":{"text":"HowTo","link":"https:\/\/sweetweb.blog\/index.php\/category\/howto\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/sweetweb.blog\/wp-content\/uploads\/2010\/09\/SSDRaid0-transformed.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/sweetweb.blog\/wp-content\/uploads\/2010\/09\/SSDRaid0-transformed.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/sweetweb.blog\/wp-content\/uploads\/2010\/09\/SSDRaid0-transformed.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":661,"url":"https:\/\/sweetweb.blog\/index.php\/2009\/05\/20\/serveur-linux-chez-soi-eeebox-debian\/","url_meta":{"origin":917,"position":1},"title":"Serveur Linux chez soi \u2013 EEEBOX & DEBIAN","author":"maxence","date":"May 20, 2009","format":false,"excerpt":"Quoi de mieux pour\u00a0stocker ses informations chez soit sur une machine d\u00e9di\u00e9\u00a0\u00e0 \u00e7a, qui serait\u00a0connect\u00e9 24h\/24\u00a0et\u00a0reli\u00e9 \u00e0 internet\u00a0et donc acc\u00e8ssible partout dans le monde. Le probl\u00eame qui se pose souvent, c\u2019est la place qui peut manquer, ou encore la consomation \u00e9lectrique voir aussi la nuissance sonore du au DD, et\u2026","rel":"","context":"In "EEEBox"","block_context":{"text":"EEEBox","link":"https:\/\/sweetweb.blog\/index.php\/category\/tech\/eeebox\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/sweetweb.blog\/wp-content\/uploads\/2009\/05\/8-asus-eee-box-transformed.jpeg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/sweetweb.blog\/wp-content\/uploads\/2009\/05\/8-asus-eee-box-transformed.jpeg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/sweetweb.blog\/wp-content\/uploads\/2009\/05\/8-asus-eee-box-transformed.jpeg?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/sweetweb.blog\/wp-content\/uploads\/2009\/05\/8-asus-eee-box-transformed.jpeg?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":642,"url":"https:\/\/sweetweb.blog\/index.php\/2009\/05\/16\/monitorer-sa-livebox-avec-munin\/","url_meta":{"origin":917,"position":2},"title":"Monitorer sa Livebox avec Munin","author":"maxence","date":"May 16, 2009","format":false,"excerpt":"R\u00e9cup\u00e9rer quelques informations de votre\u00a0livebox, comme sa consomation en ram, son traffic pour\u00a0g\u00e9n\u00e9rer des graphiques sous munin.Sa faisait depuis un moment que je voulais connaitre mon traffic mensuel du reseau de mon chez moi, chose faite ! Ce tutoriel est consacr\u00e9 \u00e0 la livebox Sagem F@ST3202 Livebox1. Un peu d\u2019histoire\u2026","rel":"","context":"In "Livebox"","block_context":{"text":"Livebox","link":"https:\/\/sweetweb.blog\/index.php\/category\/livebox\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/sweetweb.blog\/wp-content\/uploads\/2009\/05\/livebox-transformed.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/sweetweb.blog\/wp-content\/uploads\/2009\/05\/livebox-transformed.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/sweetweb.blog\/wp-content\/uploads\/2009\/05\/livebox-transformed.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/sweetweb.blog\/wp-content\/uploads\/2009\/05\/livebox-transformed.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/sweetweb.blog\/wp-content\/uploads\/2009\/05\/livebox-transformed.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":799,"url":"https:\/\/sweetweb.blog\/index.php\/2010\/04\/03\/les-applications-mac-que-jutilise-tous-les-jours\/","url_meta":{"origin":917,"position":3},"title":"Les applications Mac que j\u2019utilise tous les jours","author":"maxence","date":"April 3, 2010","format":false,"excerpt":"Vous venez de faire le grand saut ? Switcher de Windows \u00e0 mac OS ou de Linux \u00e0 mac OS peut \u00eatre tr\u00e8s d\u00e9routant (moins pour ceux venant de linux peut \u00eatre) ! Comme beaucoup de switcher, les premi\u00e8res heures se transforment en une recherche minutieuse d\u2019applications plus ou moins\u2026","rel":"","context":"In "My life"","block_context":{"text":"My life","link":"https:\/\/sweetweb.blog\/index.php\/category\/my-life\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/sweetweb.blog\/wp-content\/uploads\/2010\/04\/Bureau1-300x225-transformed.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":694,"url":"https:\/\/sweetweb.blog\/index.php\/2009\/12\/13\/spotify-deezer-a-t-il-du-soucis-a-ce-faire\/","url_meta":{"origin":917,"position":4},"title":"Spotify, Deezer a t-il du soucis \u00e0 ce faire ?","author":"maxence","date":"December 13, 2009","format":false,"excerpt":"Spotify, c\u2019est quoi ? C\u2019est tout simplement un des concurrents \u00e0 deezer qui est un service illimit\u00e9 d\u2019\u00e9coute de musique en ligne. Acutellement en beta, il est possible de tester ce nouveau service via une invitation ou en s\u2019inscrivant \u00e0 leur abonnement premium qui est \u00e0 9,99\u20ac D\u2019ailleurs pour les\u2026","rel":"","context":"In "Music"","block_context":{"text":"Music","link":"https:\/\/sweetweb.blog\/index.php\/category\/music\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/sweetweb.blog\/wp-content\/uploads\/2009\/12\/Spotify_logo_3-1.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/sweetweb.blog\/wp-content\/uploads\/2009\/12\/Spotify_logo_3-1.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/sweetweb.blog\/wp-content\/uploads\/2009\/12\/Spotify_logo_3-1.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":709,"url":"https:\/\/sweetweb.blog\/index.php\/2009\/09\/03\/break-time\/","url_meta":{"origin":917,"position":5},"title":"Break Time","author":"maxence","date":"September 3, 2009","format":false,"excerpt":"D\u00e9j\u00e0 ! alors que je venais de trouver la motivation pour poster plus de billets sur mon blog, je fais d\u00e9j\u00e0 un break ! Je suis donc en vacance pendant 2 semaines, je reste connect\u00e9 \u00e0 internet malgr\u00e9 tout gr\u00e2ce \u00e0 mon iPhone mais je pense pas r\u00e9diger de billet\u2026","rel":"","context":"In "My life"","block_context":{"text":"My life","link":"https:\/\/sweetweb.blog\/index.php\/category\/my-life\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/sweetweb.blog\/index.php\/wp-json\/wp\/v2\/posts\/917"}],"collection":[{"href":"https:\/\/sweetweb.blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sweetweb.blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sweetweb.blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sweetweb.blog\/index.php\/wp-json\/wp\/v2\/comments?post=917"}],"version-history":[{"count":8,"href":"https:\/\/sweetweb.blog\/index.php\/wp-json\/wp\/v2\/posts\/917\/revisions"}],"predecessor-version":[{"id":935,"href":"https:\/\/sweetweb.blog\/index.php\/wp-json\/wp\/v2\/posts\/917\/revisions\/935"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sweetweb.blog\/index.php\/wp-json\/wp\/v2\/media\/922"}],"wp:attachment":[{"href":"https:\/\/sweetweb.blog\/index.php\/wp-json\/wp\/v2\/media?parent=917"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sweetweb.blog\/index.php\/wp-json\/wp\/v2\/categories?post=917"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sweetweb.blog\/index.php\/wp-json\/wp\/v2\/tags?post=917"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
I followed this link :
https:\/\/www.home-assistant.io\/installation\/linux<\/a>
You can download a vmdk on their webpage, here is the link for lazy people :
https:\/\/github.com\/home-assistant\/operating-system\/releases\/download\/10.4\/haos_ova-10.4.vmdk.zip<\/a>
Ok while your browser download it, connect to your vSphere to create a new virtual machine.
Choose as a Guest OS family<\/strong> : Linux and Version<\/strong> : Other Linux 4.x or later kernel 64-bit<\/p>\n\n\n\n
Home Assistant recommend a minimum of 2 vCPU, 2 GB RAM and 32 GB Storage<\/strong> but we don’t need to create a storage here since we’ll use the VMDK we are downloading right now!
On CPU you can edit Cores per Socket<\/strong> to set it as 1 socket.
Delete the Hard disk, delete SCSI Controller, delete SATA Controller, and delete CD\/DVD Drive, you should get something like this :<\/p>\n\n\n\n
<\/figure><\/li>
<\/figure><\/li><\/ul><\/a><\/a><\/a>
Your VMDK download should be done, unzip it and go to your datastore<\/strong> > Datastore browser<\/strong> > select your new VM folder and then clic on Upload<\/strong> and select your VMDK<\/strong> (haos_ova-10.4.vmdk)
<\/p>\n\n\n\n
So, for me I wasn’t able to run this vmdk directly on a VM.
I was stuck with this error :<\/p>\n\n\n\nUnsupported and\/or invalid disk type<\/code><\/pre>\n\n\n\nModule DevicePowerOn power on failed.\nUnable to create virtual SCSI device for scsi0:0, '\/vmfs\/volumes\/datastorename\/VirtualMachineHome\/VirtualMachineDisk.vmdk'\nFailed to open disk scsi0:0: Unsupported and\/or invalid disk type 7. Did you forget to import the disk first?<\/code><\/pre>\n\n\n\n
https:\/\/kb.vmware.com\/s\/article\/1028943<\/a>
So you need to login to your vSphere server and you’ll need to use vmkfstools
<\/p>\n\n\n\nvmkfstools -i \/vmfs\/volumes\/dsm-home-01\/home-haos-001\/haos_ova-10.4.vmdk \/vmfs\/volumes\/dsm-home-01\/h\nome-haos-001\/home-haos-001.vmdk\n<\/code><\/pre>\n\n\n\n
On SCSI Controller<\/strong> select LSI Logic SAS<\/strong> and on your Hard Disk 1<\/strong> select SCSI controller 0<\/strong> and then SCSI (0:0)<\/strong><\/p>\n\n\n\n
<\/figure>\n\n\n\n
<\/figure>\n\n\n\n