RZL: Add kitchen floalt light
This commit is contained in:
parent
75f2aea345
commit
ff67bcf2f8
5 changed files with 134 additions and 9 deletions
101
config/rzl.js
101
config/rzl.js
|
|
@ -2,7 +2,7 @@
|
|||
import type { Config } from "config/flowtypes";
|
||||
import * as types from "config/types";
|
||||
import { hex, rgb, rgba, rainbow } from "config/colors";
|
||||
import { esper_topics, esper_statistics } from "./utils";
|
||||
import { esper_topics, esper_statistics, floalt } from "./utils";
|
||||
|
||||
const config : Config = {
|
||||
space: {
|
||||
|
|
@ -165,6 +165,10 @@ const config : Config = {
|
|||
type: msg => JSON.parse(msg.toString()).progress || 0
|
||||
}
|
||||
},
|
||||
floalt.topics("65537"),
|
||||
floalt.topics("65538"),
|
||||
floalt.topics("65539"),
|
||||
floalt.topics("65540"),
|
||||
esper_topics("afba40", "flyfry"),
|
||||
esper_topics("afba45", "alarm")
|
||||
],
|
||||
|
|
@ -500,6 +504,101 @@ const config : Config = {
|
|||
text: "Open Partkeepr"
|
||||
}
|
||||
]
|
||||
},
|
||||
kitchen_light: {
|
||||
name: "Deckenlicht Küche",
|
||||
position: [325, 407],
|
||||
icon: "ceiling-light",
|
||||
ui: [
|
||||
{
|
||||
type: "section",
|
||||
text: "Lampe Eingang"
|
||||
},
|
||||
{
|
||||
type: "slider",
|
||||
min: 0,
|
||||
max: 100,
|
||||
text: "Helligkeit",
|
||||
icon: "brightness-7",
|
||||
topic: floalt.brightness("65537"),
|
||||
delayedApply: true
|
||||
},
|
||||
{
|
||||
type: "slider",
|
||||
min: 0,
|
||||
max: 100,
|
||||
text: "Farbtemperatur",
|
||||
icon: "weather-sunset-down",
|
||||
topic: floalt.color("65537"),
|
||||
delayedApply: true
|
||||
},
|
||||
{
|
||||
type: "section",
|
||||
text: "Lampe Hauptraum"
|
||||
},
|
||||
{
|
||||
type: "slider",
|
||||
min: 0,
|
||||
max: 100,
|
||||
text: "Helligkeit",
|
||||
icon: "brightness-7",
|
||||
topic: floalt.brightness("65538"),
|
||||
delayedApply: true
|
||||
},
|
||||
{
|
||||
type: "slider",
|
||||
min: 0,
|
||||
max: 100,
|
||||
text: "Farbtemperatur",
|
||||
icon: "weather-sunset-down",
|
||||
topic: floalt.color("65538"),
|
||||
delayedApply: true
|
||||
},
|
||||
{
|
||||
type: "section",
|
||||
text: "Lampe Spüle"
|
||||
},
|
||||
{
|
||||
type: "slider",
|
||||
min: 0,
|
||||
max: 100,
|
||||
text: "Helligkeit",
|
||||
icon: "brightness-7",
|
||||
topic: floalt.brightness("65539"),
|
||||
delayedApply: true
|
||||
},
|
||||
{
|
||||
type: "slider",
|
||||
min: 0,
|
||||
max: 100,
|
||||
text: "Farbtemperatur",
|
||||
icon: "weather-sunset-down",
|
||||
topic: floalt.color("65539"),
|
||||
delayedApply: true
|
||||
},
|
||||
{
|
||||
type: "section",
|
||||
text: "Lampe Herd"
|
||||
},
|
||||
{
|
||||
type: "slider",
|
||||
min: 0,
|
||||
max: 100,
|
||||
text: "Helligkeit",
|
||||
icon: "brightness-7",
|
||||
topic: floalt.brightness("65540"),
|
||||
delayedApply: true
|
||||
},
|
||||
{
|
||||
type: "slider",
|
||||
min: 0,
|
||||
max: 100,
|
||||
text: "Farbtemperatur",
|
||||
icon: "weather-sunset-down",
|
||||
topic: floalt.color("65540"),
|
||||
delayedApply: true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
layers: [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue