-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
This proposal suggests adding a new custom meter template to EVCC for the Cozify HAN energy reader. The template enables EVCC users to retrieve real-time energy data via HTTP from Cozify HAN devices using JQ filters.
Cozify HAN is a smart energy monitoring device that supports OpenAPI and MQTT. Many users have successfully integrated it with EVCC using a custom configuration. However, the lack of a built-in template in EVCC's UI makes it harder for new users to adopt. This template would simplify integration and improve accessibility.
The template uses HTTP as the data source and applies JQ filters to extract power, energy, currents, and voltages from the HAN reader's JSON output.
meters:
- name: cozify-han
type: custom
power:
source: http
uri: http://YOUR_HAN_IP:80/meter/data
timeout: 1s
jq: (.pi[0] - .pe[0])
energy:
source: http
uri: http://YOUR_HAN_IP:80/meter/data
timeout: 1s
jq: (.ic | tonumber)
currents:
- source: http
uri: http://YOUR_HAN_IP:80/meter/data
timeout: 1s
jq: .i[0]
- source: http
uri: http://YOUR_HAN_IP:80/meter/data
timeout: 1s
jq: .i[1]
- source: http
uri: http://YOUR_HAN_IP:80/meter/data
timeout: 1s
jq: .i[2]
voltages:
- source: http
uri: http://YOUR_HAN_IP:80/meter/data
timeout: 1s
jq: .u[0]
- source: http
uri: http://YOUR_HAN_IP:80/meter/data
timeout: 1s
jq: .u[1]
- source: http
uri: http://YOUR_HAN_IP:80/meter/data
timeout: 1s
jq: .u[2]
Please consider including this template in the EVCC default configuration or making it available via the UI for easier selection.