From a149fed5924ecda82733ac1f298d66732126e89f Mon Sep 17 00:00:00 2001 From: Ranlvor Date: Wed, 13 Mar 2019 18:40:29 +0100 Subject: [PATCH] Move Printer from Olymp to Fablab/alte Werkstatt (#98) * Move Printer from Olymp to Fablab/alte Werkstatt --- config/rzl/index.js | 21 +++++++++++++++++++++ config/rzl/olymp.js | 21 --------------------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/config/rzl/index.js b/config/rzl/index.js index e027eae..2dc0000 100644 --- a/config/rzl/index.js +++ b/config/rzl/index.js @@ -220,6 +220,7 @@ const config: Config = { } }, //Tasmota-Dosen + tasmota.topics("2", "printerAnnette"), tasmota.topics("6", "snackbar"), tasmota.topics("7", "infoscreen"), tasmota.topics("9", "pilze"), @@ -541,6 +542,26 @@ const config: Config = { } ] }, + printerAnnette: { + name: "Drucker", + position: [800, 350], + icon: mdi("printer"), + iconColor: tasmota.iconColor("printerAnnette"), + ui: [ + { + type: "toggle", + text: "Drucker", + topic: "printerAnnette", + icon: mdi("power") + }, + { + type: "link", + link: "http://annette.rzl/", + text: "Open Annette", + icon: mdi("open-in-new") + } + ] + }, nebenraumPowerStatus: { name: "Strom Fablab", position: [613, 537], diff --git a/config/rzl/olymp.js b/config/rzl/olymp.js index 0ed8822..e3810bc 100644 --- a/config/rzl/olymp.js +++ b/config/rzl/olymp.js @@ -39,7 +39,6 @@ export const topics: Topics = { }, defaultValue: "off" }, - ...tasmota.topics("2", "printerOlymp"), ...tasmota.topics("8", "ledOlymp"), ...esper.topics("afba45", "alarm") }; @@ -89,26 +88,6 @@ export const controls: Controls = { } ] }, - printerOlymp: { - name: "Drucker", - position: [335, 90], - icon: mdi("printer"), - iconColor: tasmota.iconColor("printerOlymp"), - ui: [ - { - type: "toggle", - text: "Drucker", - topic: "printerOlymp", - icon: mdi("power") - }, - { - type: "link", - link: "http://annette.rzl/", - text: "Open Annette", - icon: mdi("open-in-new") - } - ] - }, rundumleuchte: { name: "Rundumleuchte", position: [310, 275],