Add MQTT topic config to Basics Station config.

This commit is contained in:
Orne Brocaar 2023-08-26 16:37:04 +01:00
parent 2a1b62bd51
commit f691d6c849
37 changed files with 185 additions and 0 deletions

View File

@ -6,6 +6,11 @@ servers=["tcp://mosquitto:1883"]
username=""
password=""
[integration.mqtt]
event_topic_template="as923/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
state_topic_template="as923/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
command_topic_template="as923/gateway/{{ .GatewayID }}/command/#"
[backend]
type="basic_station"

View File

@ -6,6 +6,11 @@ servers=["tcp://mosquitto:1883"]
username=""
password=""
[integration.mqtt]
event_topic_template="as923_2/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
state_topic_template="as923_2/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
command_topic_template="as923_2/gateway/{{ .GatewayID }}/command/#"
[backend]
type="basic_station"

View File

@ -6,6 +6,11 @@ servers=["tcp://mosquitto:1883"]
username=""
password=""
[integration.mqtt]
event_topic_template="as923_3/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
state_topic_template="as923_3/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
command_topic_template="as923_3/gateway/{{ .GatewayID }}/command/#"
[backend]
type="basic_station"

View File

@ -6,6 +6,11 @@ servers=["tcp://mosquitto:1883"]
username=""
password=""
[integration.mqtt]
event_topic_template="as923_4/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
state_topic_template="as923_4/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
command_topic_template="as923_4/gateway/{{ .GatewayID }}/command/#"
[backend]
type="basic_station"

View File

@ -6,6 +6,11 @@ servers=["tcp://mosquitto:1883"]
username=""
password=""
[integration.mqtt]
event_topic_template="au915_0/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
state_topic_template="au915_0/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
command_topic_template="au915_0/gateway/{{ .GatewayID }}/command/#"
[backend]
type="basic_station"

View File

@ -6,6 +6,11 @@ servers=["tcp://mosquitto:1883"]
username=""
password=""
[integration.mqtt]
event_topic_template="au915_1/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
state_topic_template="au915_1/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
command_topic_template="au915_1/gateway/{{ .GatewayID }}/command/#"
[backend]
type="basic_station"

View File

@ -6,6 +6,11 @@ servers=["tcp://mosquitto:1883"]
username=""
password=""
[integration.mqtt]
event_topic_template="au915_2/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
state_topic_template="au915_2/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
command_topic_template="au915_2/gateway/{{ .GatewayID }}/command/#"
[backend]
type="basic_station"

View File

@ -6,6 +6,11 @@ servers=["tcp://mosquitto:1883"]
username=""
password=""
[integration.mqtt]
event_topic_template="au915_3/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
state_topic_template="au915_3/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
command_topic_template="au915_3/gateway/{{ .GatewayID }}/command/#"
[backend]
type="basic_station"

View File

@ -6,6 +6,11 @@ servers=["tcp://mosquitto:1883"]
username=""
password=""
[integration.mqtt]
event_topic_template="au915_4/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
state_topic_template="au915_4/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
command_topic_template="au915_4/gateway/{{ .GatewayID }}/command/#"
[backend]
type="basic_station"

View File

@ -6,6 +6,11 @@ servers=["tcp://mosquitto:1883"]
username=""
password=""
[integration.mqtt]
event_topic_template="au915_5/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
state_topic_template="au915_5/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
command_topic_template="au915_5/gateway/{{ .GatewayID }}/command/#"
[backend]
type="basic_station"

View File

@ -6,6 +6,11 @@ servers=["tcp://mosquitto:1883"]
username=""
password=""
[integration.mqtt]
event_topic_template="au915_6/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
state_topic_template="au915_6/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
command_topic_template="au915_6/gateway/{{ .GatewayID }}/command/#"
[backend]
type="basic_station"

View File

@ -6,6 +6,11 @@ servers=["tcp://mosquitto:1883"]
username=""
password=""
[integration.mqtt]
event_topic_template="au915_7/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
state_topic_template="au915_7/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
command_topic_template="au915_7/gateway/{{ .GatewayID }}/command/#"
[backend]
type="basic_station"

View File

@ -6,6 +6,11 @@ servers=["tcp://mosquitto:1883"]
username=""
password=""
[integration.mqtt]
event_topic_template="cn470_0/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
state_topic_template="cn470_0/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
command_topic_template="cn470_0/gateway/{{ .GatewayID }}/command/#"
[backend]
type="basic_station"

View File

@ -6,6 +6,11 @@ servers=["tcp://mosquitto:1883"]
username=""
password=""
[integration.mqtt]
event_topic_template="cn470_1/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
state_topic_template="cn470_1/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
command_topic_template="cn470_1/gateway/{{ .GatewayID }}/command/#"
[backend]
type="basic_station"

View File

@ -6,6 +6,11 @@ servers=["tcp://mosquitto:1883"]
username=""
password=""
[integration.mqtt]
event_topic_template="cn470_10/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
state_topic_template="cn470_10/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
command_topic_template="cn470_10/gateway/{{ .GatewayID }}/command/#"
[backend]
type="basic_station"

View File

@ -6,6 +6,11 @@ servers=["tcp://mosquitto:1883"]
username=""
password=""
[integration.mqtt]
event_topic_template="cn470_11/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
state_topic_template="cn470_11/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
command_topic_template="cn470_11/gateway/{{ .GatewayID }}/command/#"
[backend]
type="basic_station"

View File

@ -6,6 +6,11 @@ servers=["tcp://mosquitto:1883"]
username=""
password=""
[integration.mqtt]
event_topic_template="cn470_2/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
state_topic_template="cn470_2/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
command_topic_template="cn470_2/gateway/{{ .GatewayID }}/command/#"
[backend]
type="basic_station"

View File

@ -6,6 +6,11 @@ servers=["tcp://mosquitto:1883"]
username=""
password=""
[integration.mqtt]
event_topic_template="cn470_3/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
state_topic_template="cn470_3/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
command_topic_template="cn470_3/gateway/{{ .GatewayID }}/command/#"
[backend]
type="basic_station"

View File

@ -6,6 +6,11 @@ servers=["tcp://mosquitto:1883"]
username=""
password=""
[integration.mqtt]
event_topic_template="cn470_4/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
state_topic_template="cn470_4/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
command_topic_template="cn470_4/gateway/{{ .GatewayID }}/command/#"
[backend]
type="basic_station"

View File

@ -6,6 +6,11 @@ servers=["tcp://mosquitto:1883"]
username=""
password=""
[integration.mqtt]
event_topic_template="cn470_5/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
state_topic_template="cn470_5/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
command_topic_template="cn470_5/gateway/{{ .GatewayID }}/command/#"
[backend]
type="basic_station"

View File

@ -6,6 +6,11 @@ servers=["tcp://mosquitto:1883"]
username=""
password=""
[integration.mqtt]
event_topic_template="cn470_6/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
state_topic_template="cn470_6/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
command_topic_template="cn470_6/gateway/{{ .GatewayID }}/command/#"
[backend]
type="basic_station"

View File

@ -6,6 +6,11 @@ servers=["tcp://mosquitto:1883"]
username=""
password=""
[integration.mqtt]
event_topic_template="cn470_7/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
state_topic_template="cn470_7/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
command_topic_template="cn470_7/gateway/{{ .GatewayID }}/command/#"
[backend]
type="basic_station"

View File

@ -6,6 +6,11 @@ servers=["tcp://mosquitto:1883"]
username=""
password=""
[integration.mqtt]
event_topic_template="cn470_8/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
state_topic_template="cn470_8/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
command_topic_template="cn470_8/gateway/{{ .GatewayID }}/command/#"
[backend]
type="basic_station"

View File

@ -6,6 +6,11 @@ servers=["tcp://mosquitto:1883"]
username=""
password=""
[integration.mqtt]
event_topic_template="cn470_9/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
state_topic_template="cn470_9/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
command_topic_template="cn470_9/gateway/{{ .GatewayID }}/command/#"
[backend]
type="basic_station"

View File

@ -6,6 +6,11 @@ servers=["tcp://mosquitto:1883"]
username=""
password=""
[integration.mqtt]
event_topic_template="eu433/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
state_topic_template="eu433/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
command_topic_template="eu433/gateway/{{ .GatewayID }}/command/#"
[backend]
type="basic_station"

View File

@ -6,6 +6,11 @@ servers=["tcp://mosquitto:1883"]
username=""
password=""
[integration.mqtt]
event_topic_template="eu868/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
state_topic_template="eu868/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
command_topic_template="eu868/gateway/{{ .GatewayID }}/command/#"
[backend]
type="basic_station"

View File

@ -6,6 +6,11 @@ servers=["tcp://mosquitto:1883"]
username=""
password=""
[integration.mqtt]
event_topic_template="in865/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
state_topic_template="in865/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
command_topic_template="in865/gateway/{{ .GatewayID }}/command/#"
[backend]
type="basic_station"

View File

@ -6,6 +6,11 @@ servers=["tcp://mosquitto:1883"]
username=""
password=""
[integration.mqtt]
event_topic_template="kr920/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
state_topic_template="kr920/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
command_topic_template="kr920/gateway/{{ .GatewayID }}/command/#"
[backend]
type="basic_station"

View File

@ -6,6 +6,11 @@ servers=["tcp://mosquitto:1883"]
username=""
password=""
[integration.mqtt]
event_topic_template="ru864/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
state_topic_template="ru864/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
command_topic_template="ru864/gateway/{{ .GatewayID }}/command/#"
[backend]
type="basic_station"

View File

@ -6,6 +6,11 @@ servers=["tcp://mosquitto:1883"]
username=""
password=""
[integration.mqtt]
event_topic_template="us915_0/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
state_topic_template="us915_0/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
command_topic_template="us915_0/gateway/{{ .GatewayID }}/command/#"
[backend]
type="basic_station"

View File

@ -6,6 +6,11 @@ servers=["tcp://mosquitto:1883"]
username=""
password=""
[integration.mqtt]
event_topic_template="us915_1/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
state_topic_template="us915_1/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
command_topic_template="us915_1/gateway/{{ .GatewayID }}/command/#"
[backend]
type="basic_station"

View File

@ -6,6 +6,11 @@ servers=["tcp://mosquitto:1883"]
username=""
password=""
[integration.mqtt]
event_topic_template="us915_2/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
state_topic_template="us915_2/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
command_topic_template="us915_2/gateway/{{ .GatewayID }}/command/#"
[backend]
type="basic_station"

View File

@ -6,6 +6,11 @@ servers=["tcp://mosquitto:1883"]
username=""
password=""
[integration.mqtt]
event_topic_template="us915_3/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
state_topic_template="us915_3/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
command_topic_template="us915_3/gateway/{{ .GatewayID }}/command/#"
[backend]
type="basic_station"

View File

@ -6,6 +6,11 @@ servers=["tcp://mosquitto:1883"]
username=""
password=""
[integration.mqtt]
event_topic_template="us915_4/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
state_topic_template="us915_4/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
command_topic_template="us915_4/gateway/{{ .GatewayID }}/command/#"
[backend]
type="basic_station"

View File

@ -6,6 +6,11 @@ servers=["tcp://mosquitto:1883"]
username=""
password=""
[integration.mqtt]
event_topic_template="us915_5/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
state_topic_template="us915_5/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
command_topic_template="us915_5/gateway/{{ .GatewayID }}/command/#"
[backend]
type="basic_station"

View File

@ -6,6 +6,11 @@ servers=["tcp://mosquitto:1883"]
username=""
password=""
[integration.mqtt]
event_topic_template="us915_6/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
state_topic_template="us915_6/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
command_topic_template="us915_6/gateway/{{ .GatewayID }}/command/#"
[backend]
type="basic_station"

View File

@ -6,6 +6,11 @@ servers=["tcp://mosquitto:1883"]
username=""
password=""
[integration.mqtt]
event_topic_template="us915_7/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
state_topic_template="us915_7/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
command_topic_template="us915_7/gateway/{{ .GatewayID }}/command/#"
[backend]
type="basic_station"