Phoenix CHARX: add template
This commit is contained in:
parent
bbe8e28b8c
commit
6deae92f07
2 changed files with 29 additions and 0 deletions
14
templates/definition/charger/phoenix-charx.yaml
Normal file
14
templates/definition/charger/phoenix-charx.yaml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
template: phoenix-charx
|
||||
products:
|
||||
- brand: Phoenix
|
||||
description:
|
||||
generic: CHARX
|
||||
params:
|
||||
- name: host
|
||||
- name: port
|
||||
default: 502
|
||||
- name: connector
|
||||
render: |
|
||||
type: phoenix-charx
|
||||
uri: {{ .host }}:{{ .port }}
|
||||
connector: {{ .connector }}
|
||||
15
templates/docs/charger/phoenix-charx_0.yaml
Normal file
15
templates/docs/charger/phoenix-charx_0.yaml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
product:
|
||||
brand: Phoenix
|
||||
description: CHARX
|
||||
render:
|
||||
- default: |
|
||||
type: template
|
||||
template: phoenix-charx
|
||||
host: 192.0.2.2 # IP-Adresse oder Hostname
|
||||
port: 502 # Port # Optional
|
||||
advanced: |
|
||||
type: template
|
||||
template: phoenix-charx
|
||||
host: 192.0.2.2 # IP-Adresse oder Hostname
|
||||
port: 502 # Port # Optional
|
||||
connector: 1 # Optional
|
||||
Loading…
Add table
Add a link
Reference in a new issue