Show number of WLAN-devices

This commit is contained in:
Ranlvor 2018-06-24 13:20:47 +02:00
parent 8a37cf2c95
commit 75816dc15c
Signed by untrusted user who does not match committer: Ranlvor
GPG key ID: 5E12D04750EF6F8E

View file

@ -123,6 +123,12 @@ const config : Config = {
values: {}, values: {},
type: msg => JSON.parse(msg.toString()).join(", ") type: msg => JSON.parse(msg.toString()).join(", ")
}, },
devices_status: {
state: "/service/status/devices",
command: "",
defaultValue: "",
values: {}
},
infoscreen: { infoscreen: {
state: "/service/openhab/out/pca301_infoscreen/state", state: "/service/openhab/out/pca301_infoscreen/state",
command: "/service/openhab/in/pca301_infoscreen/command", command: "/service/openhab/in/pca301_infoscreen/command",
@ -458,7 +464,14 @@ const config : Config = {
text: "Anwesend", text: "Anwesend",
topic: "presence_status", topic: "presence_status",
icon: "account" icon: "account"
},
{
type: "text",
text: "Devices",
topic: "devices_status",
icon: "wifi"
} }
] ]
}, },
infoscreen: { infoscreen: {