Welcome to my Home Automation Adventures. If you are like me, new and interested in Human-Machine Interaction (HMI) follow me on my journey as a novice in this topic struggling through this vast wealth of information and learn what works for me.

My goals are to integrate devices such as a heat pump, lights, and smart plugs in a family- and spouse-approved manner into a new-build house and have it controlled with an aesthetically pleasing dashboard.

Testing EnvironmentProduction Environment
Raspberry Pi 3 with 16GB SanDisk SD-CardVirtual Machine in a 3 Node Proxmox Cluster
  • Zigbee
    • Controller
      • Sonoff Zigbee 3.0 USB Dongle Plus V2 (Production)
      • Sonoff Zigbee 3.0 USB Dongle Plus (Testing)
  • Core tools
  • Home Assistant – Integrations in production
  • Home Assistant – Add ons

Sensors

boiler serviceplug location
  • Washing Machine
    • Miele W1 (SmartStart/SmartGrid-Funktion)
  • Zigbee
    • Controller
      • Sonoff Zigbee 3.0 USB Dongle Plus V2 (Production)
      • Sonoff Zigbee 3.0 USB Dongle Plus (Testing)
  • Lights
    • IKEA TRADFRI LED Starter-Set (7,3W)
    • IKEA TRADFRI Driver (30W)
      • IKEA ÖVERSIDAN LED light bar (4,6W)
  • Sensors
    • Sonoff SNZB-02D (Temperature/Humidity Sensor)
  • Smart plugs
    • IKEA TRETAKT
  • Lights
    • IKEA KAJPLATS LED E27 470lm
    • IKEA KAJPLATS LED E27 1055lm
    • IKEA KAJPLATS LED E27 1521lm
  • Sensors
    • MYGGSPRAY – Wireless motion sensor
    • Klippbok – Water leakage sensor

Start by removing the front cover by loosening the top screw, pushing in the two tabs, and lifting off the cover.

boiler top screw

Remove the top screw

boiler front cover tabs

Remove the front cover by pushing in the two tabs to release the front cover.

boiler serviceplug location

Locate the service port (headphone jack).

boiler service plug

Attach the EMS Gateway to the service port


How to setup the BBQKees Electronics Gateway E32 V2


How to intergrate the BBQKees Electronics Gateway E32 V2 into HMI (Home Assistent)

How to integrate the stromleser.tasmota

Helpful links

Configure the device to your preferences
(IP-Address, etc.)

IMPORTANT: DO NOT UPGRADE THE FIRMWARE VIA THE WEB SERVER !

Configure the MQTT settings

>D
>B
=>sensor53 r
>M 1
+1,3,s,16,9600,E320,1
1,77070100010800ff@1000,Verbrauch,kWh,E_in,3
1,77070100020800ff@1000,Einspeisung,kWh,E_out,3
1,77070100100700ff@1,akt. Leistung,W,Power,0
1,=h--
1,77070100600100ff@#,Server-ID,,Meter_Number,0
#

After entering the PIN into the Smartmeter you need to

  • set the option “INFO PIN” to off (light on for 5 sec)
  • set the option “INFO inf” to on (light on for 5 sec)

To display the correct unit of measurement in Home Assistant, you need to customize the sensor.

Add the below code (for Landis + Gyr E320) to the “configuration.yaml” file to set the unit of measurement (kWh).

homeassistant:
  customize_glob:
    sensor.tasmota_e320_e_in:
      unit_of_measurement: "kWh"    
      device_class: energy
      state_class: total_increasing
      last_reset: 1970-01-01T00:00:00+00:00
    sensor.tasmota_e320_e_out:
      unit_of_measurement: "kWh"    
      device_class: energy
      state_class: total_increasing
      last_reset: 1970-01-01T00:00:00+00:00
 
utility_meter:
  stromverbrauch_aktuell_daily:
    source: sensor.tasmota_e320_e_in
    cycle: daily
  stromverbrauch_aktuell_weekly:
    source: sensor.tasmota_e320_e_in
    cycle: weekly
  stromverbrauch_aktuell_monthly:
    source: sensor.tasmota_e320_e_in
    cycle: monthly
  stromverbrauch_aktuell_yearly:
    source: sensor.tasmota_e320_e_in
    cycle: yearly

How to integrate the wasserleser

Helpful links