Home-Automation Systems based on Raspberry PI



Documents describing a Raspberry PI based home automation solution - Documents for free download without guarantee by or liability of the author 


User Interface

 

EV charging 

  • Best price charging for dynamic electricity pricing (set SOC target & time to complete) 
  • Alternatively:
    • Surplus charging with priority car or home battery (automatic phase switching)
    • Standard charging @ # amps &  # phases
  • Phase current protection
  • Communication with Wallbox  via MODBUS (ABL eMH1 or Amperfied Energy Control)
Home Energy Management
  • Modbus‑TCP communication with the Huawei SUN2000‑6KTL inverter and LUNA2000 home battery                           
  • Scheduling of home‑battery charging and discharging based on dynamic electricity pricing
  • Integration of the heat pump via Modbus TCP (Heliotherm) or via the Vaillant API (Vaillant HP)
  • Dynamic adjustment of room‑heating and hot‑water setpoints based on dynamic electricity prices
  • Tracking, logging, and analysis of energy consumption and energy costs

  

Electricity Cost Forecast

  • red - gross electricity price (incl. grid fees and VAT)
  • dark red - compound electricity price (gross price devaluated by PV contribution) governing HP temp. scheduling
  • green - PV power forecast (Externer Link wird in einem neuen Tab oder Fenster geöffnetwww.solcast.com or www. openweathermap.org)
  • cyan - net electricity price (www.awattar.com)
  • amber - heatpump room temperature setpoint
  • dark blue - heatpump - hotwater temperature setpoint
  • yellow shade - time battery charge freeze
  • grey shade - time of best price car charging
  • white shade - time of maximum self consumption (emptying of battery)
  • red shade - time of battery charging from grid

Car Communication Window

Car data                                                                                                                                                                                                             
  • via Volkswagen WeConnect API via CarConnectivity package (Github)
  • remote control of start/stop car charging
  • remote control of start/stop car climatization
  • trigger refreshing of WeConnect API

Monthly and daily evaluation of energy data


Usage of home battery:
  • Storage of surplus PV energy
  • Storage of low cost grid power


Schematic