1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-21 01:27:01 +02:00

update mosquitto

This commit is contained in:
kev 2024-01-24 16:06:11 +08:00
parent 222ceac712
commit 37d1186e68

View File

@ -8,6 +8,7 @@
"zigbee2mqtt/+",
]
data_format = "json"
json_string_fields = ["contact", "occupancy", "action"]
username = "telegraf"
password = "telegraf"
@ -23,3 +24,9 @@
[processors.enum.mapping.value_mappings]
false = 0
true = 1
[[processors.enum.mapping]]
field = "action"
[processors.enum.mapping.value_mappings]
single = 1
double = 2
long = 3