Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TQ Energy Manager #3147

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions templates/definition/meter/tq-em2xx.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
template: tq-em2xx
products:
- brand: TQ
description:
generic: Energy Manager EM2xx
params:
- name: usage
choice: ["grid"]
- name: host
- name: port
default: 80
render: |
type: custom
power:
source: http
uri: http://{{ .host }}:{{ .port }}/mum-webservice/data.php
jq: ."1-0:1.4.0*255"-."1-0:2.4.0*255" # Active power+ - Active power-
27 changes: 27 additions & 0 deletions templates/definition/meter/tq-em3xx.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
template: tq-em3xx
products:
- brand: TQ
description:
generic: Energy Manager EM3xx
params:
- name: usage
choice: ["grid"]
- name: host
- name: port
default: 80
render: |
type: custom
power:
source: http
uri: http://{{ .host }}:{{ .port }}/mum-webservice/data.php
jq: ."1-0:1.4.0*255"-."1-0:2.4.0*255" # Active power+ - Active power-
currents:
- source: http
uri: http://{{ .host }}:{{ .port }}/mum-webservice/data.php
jq: ."1-0:31.4.0*255" # Current (L1)
- source: http
uri: http://{{ .host }}:{{ .port }}/mum-webservice/data.php
jq: ."1-0:51.4.0*255" # Current (L2)
- source: http
uri: http://{{ .host }}:{{ .port }}/mum-webservice/data.php
jq: ."1-0:71.4.0*255" # Current (L3)
11 changes: 11 additions & 0 deletions templates/docs/meter/tq-em2xx_0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
product:
brand: TQ
description: Energy Manager EM2xx
render:
- usage: grid
default: |
type: template
template: tq-em2xx
usage: grid
host: 192.0.2.2 # IP-Adresse oder Hostname
port: 80 # Port # Optional
11 changes: 11 additions & 0 deletions templates/docs/meter/tq-em3xx_0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
product:
brand: TQ
description: Energy Manager EM3xx
render:
- usage: grid
default: |
type: template
template: tq-em3xx
usage: grid
host: 192.0.2.2 # IP-Adresse oder Hostname
port: 80 # Port # Optional