Integrate MyEnergi Zappi and Harvi units with Home Assistant
1 min read

Integrate MyEnergi Zappi and Harvi units with Home Assistant

You need:

  • A myenergi hub and harvi device (and optionally Zappi / Eddi devices)
  • Home Assistant running locally

I chose to run Home Assistant in Docker using the LinuxServer.io image rather than the official image provided by HA.

Use the following docker compose file:

---
version: "2.1"
services:
  homeassistant:
    image: lscr.io/linuxserver/homeassistant
    container_name: homeassistant
    network_mode: host
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/London
    volumes:
      - /home/dockeruser/appdata/homeassistant/config:/config
      # change the first part of the line above - it should point to an existing folder on your docker host where homeassistant can store its config files.
    ports:
      - 8123:8123 
    restart: unless-stopped

1) Install Home Assistant

2) Find your myEnergi hub serial number (located on the hub) and your password (provided to you when you got the hub installed). You will need this later.

3) Install the ha-myenergi custom component - by Johan Isacsson

  • wget the files from the github repo
  • copy the custom_components folder into your HA config directory

4) Restart home assistant

5) install the component - integrations > add > search: energi. Configure with password and serial from step 1

If you have forgotten your hub password, you need to contact myenergi to reset it. Unfortunately there is no automated password reset for this yet! (Yes, really.)