Merge branch 'master' of github.com:raumzeitlabor/Map
This commit is contained in:
commit
48a96b57fa
2 changed files with 59 additions and 0 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
node_modules/
|
||||||
|
public/
|
||||||
|
|
@ -19,6 +19,24 @@ const config : Config = {
|
||||||
defaultValue: "OFF",
|
defaultValue: "OFF",
|
||||||
values: { on: "ON", off: "OFF" }
|
values: { on: "ON", off: "OFF" }
|
||||||
},
|
},
|
||||||
|
fan: {
|
||||||
|
state: "/service/openhab/out/pca301_fan/state",
|
||||||
|
command: "/service/openhab/in/pca301_fan/command",
|
||||||
|
defaultValue: "OFF",
|
||||||
|
values: { on: "ON", off: "OFF" }
|
||||||
|
},
|
||||||
|
videogames: {
|
||||||
|
state: "/service/openhab/out/pca301_videogames/state",
|
||||||
|
command: "/service/openhab/in/pca301_videogames/command",
|
||||||
|
defaultValue: "OFF",
|
||||||
|
values: { on: "ON", off: "OFF" }
|
||||||
|
},
|
||||||
|
olymp_pc: {
|
||||||
|
state: "/service/openhab/out/pca301_olymp_pc/state",
|
||||||
|
command: "/service/openhab/in/pca301_olymp_pc/command",
|
||||||
|
defaultValue: "OFF",
|
||||||
|
values: { on: "ON", off: "OFF" }
|
||||||
|
},
|
||||||
flyfry: {
|
flyfry: {
|
||||||
state: "/service/openhab/out/wifi_flyfry/state",
|
state: "/service/openhab/out/wifi_flyfry/state",
|
||||||
command: "/service/openhab/in/wifi_flyfry/command",
|
command: "/service/openhab/in/wifi_flyfry/command",
|
||||||
|
|
@ -106,6 +124,45 @@ const config : Config = {
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
fan: {
|
||||||
|
name: "Ventilator",
|
||||||
|
position: [530, 450],
|
||||||
|
icon: "toys",
|
||||||
|
iconColor: state => state.fan == "on" ? "#00FF00" : "#000000",
|
||||||
|
ui: [
|
||||||
|
{
|
||||||
|
type: "toggle",
|
||||||
|
text: "Ventilator",
|
||||||
|
topic: "fan"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
videogames: {
|
||||||
|
name: "Videospiele",
|
||||||
|
position: [79, 50],
|
||||||
|
icon: "videogame_asset",
|
||||||
|
iconColor: state => state.videogames == "on" ? "#00FF00" : "#000000",
|
||||||
|
ui: [
|
||||||
|
{
|
||||||
|
type: "toggle",
|
||||||
|
text: "Videospiele",
|
||||||
|
topic: "videogames"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
olymp_pc: {
|
||||||
|
name: "Rechner und Drucker",
|
||||||
|
position: [298, 20],
|
||||||
|
icon: "desktop_windows",
|
||||||
|
iconColor: state => state.olymp_pc == "on" ? "#00FF00" : "#000000",
|
||||||
|
ui: [
|
||||||
|
{
|
||||||
|
type: "toggle",
|
||||||
|
text: "Rechner und Drucker",
|
||||||
|
topic: "olymp_pc"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
flyfry: {
|
flyfry: {
|
||||||
name: "Fliegenbratgerät",
|
name: "Fliegenbratgerät",
|
||||||
position: [450, 560],
|
position: [450, 560],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue