Phoenix CHARX: add template

This commit is contained in:
andig 2023-03-25 12:24:54 +01:00
parent bbe8e28b8c
commit 6deae92f07
2 changed files with 29 additions and 0 deletions

View 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 }}

View 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