Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 1.34 KB

README.md

File metadata and controls

18 lines (13 loc) · 1.34 KB

iotawatt-to-chargehq

IoTaWatt to Charge HQ integration

A PowerShell script which reads current values from your IoTaWatt energy monitoring system and passes it to Charge HQ. Charge HQ uses these values to charge your EV battery maximising solar energy use.

Developed against IoTaWatt with 13 CT sensors which track solar production and house usage, although the script can be used with as few as 2 CT sensors. At minimum we require 3 outputs from IoTaWatt:

  • Solar production
  • House consumption
  • Net grid import/export (negative values being export)

Configuration

Modify $IOTAWATT_IP_ADDRESS, $IOTAWATT_GRIDNET_KEY, $IOTAWATT_PRODUCTION_KEY, $IOTAWATT_CONSUMPTION_KEY and $CHARGE_HQ_APIKEY at the top of the script. You can get your Charge HQ API key using following the instructions here.

Schedule the script to run every minute using the following trigger in Windows Task Scheduler: trigger - Screenshot 2022-12-11 192359

The action should be to run PowerShell with the arguments -File [script location]: action - Screenshot 2022-12-11 192449