Skip to content

Phils Blog and Stuff

TELECOMS. VIRTUALIZATION. IT. CODING. and more…

Menu
  • Home
  • Resources
    • Subnet Mask Cheat Sheet
    • Easy Dmarc+Email
    • MX Tool Box
    • LOAD BALANCING & SRE
  • SHOP
  • SOLUTIONS
  • SERVICES
  • Contact Me
Menu

Automating your home with Home Assistant. Initial install and config (Hyper-V).

Posted on 06/04/202306/04/2023 by Phil

Installation and initial set up

Download the Hyper-V image from https://www.home-assistant.io/installation/windows/

Load the appliance image into your virtual machine hypervisor.

Minimum recommended assignments:

  • 2 GB RAM
  • 32 GB Storage
  • 2vCPU
  1. Create a new virtual machine
  2. Select “Generation 2”
  3. Select “Connection -> “Your Virtual Switch that is bridged”
  4. Select “Use an existing virtual hard disk” and select the VHDX file from above

After creation go to “Settings” -> “Security” and deselect “Enable Secure Boot”.

Adding Home Assistant Community addons

profile > enable advanced

Settings > Addons > “Terminal & SSH”

Open terminal and run – wget -q -O – https://install.hacs.xyz | bash –

settings > Devices & Services > Add Integration > HACS

setup github account and add home assistant, should give a link (https://github.com/login/device)

Installing Sonoff LAN addon by AlexxIT

HACS > search > sonoff > Sonoff LAN (AlexxIT/SonoffLAN – Integration)

modify configuration.yaml

Open terminal and go in to /config and edit configuration.yaml. append the below to the bottum of the file and reload.

sonoff:
  username: eeWelink email address (user@domain.com)
  password: eeWelink password
  force_update: [temperature, power]
  scan_interval: '00:01:00'
  sensors: [temperature, humidity, power, current, voltage]

Once reloaded you should have now devices appear.

POSTS

  • Home Assistant. Add water meter with PHP+MQTT+YML.
  • Automating your home with Home Assistant. Initial install and config (Hyper-V).
  • The importance of setting up email security correctly.
  • Automate Debian installations with Seed, DHCP and Nginx.
  • A simple link shortener.. Fun little project…

WORD CLOUD

3CX 3CX Phone System Apache Asterisk Cacti CentOS CRM DHCP DNS Email Fail over Failover File System Firewall FreeBSD FreeNAS FXO IAX install IP IP PBX Linux M0n0wall Nottingham Open Source PBX PFSense PHP Router Server SIP snom SSH TrixBox ubuntu VLAN Voice VoIP VPN vyatta WAN Website WiFi yealink ZFS

© 2025 Phils Blog and Stuff | Powered by Superbs Personal Blog theme