relaybox stuff

This commit is contained in:
2018-03-27 20:44:49 +02:00
parent 7992ccd7a1
commit 71f00fdf31
5 changed files with 103 additions and 28 deletions

View File

@ -21,6 +21,8 @@ import { UrlSwitchItem } from './UrlSwitchItem'
import { Cron } from './Cron'
import { HueColorBulbItem } from './HueColorBulbItem'
import { TouchSwitchMultiButtonThing, TouchSwitchButtonSingleItem } from './TouchSwitchMultiButtonThing'
import { RelayBoxThing } from './RelayBox'
logger.info("Dispatcher starting")
@ -319,6 +321,12 @@ let thermostatKitchenCron = new Cron('thermostatKitchenCron', thermostatKitchen,
])
thermostatKitchenCron.start()
// ----------------------------------------------------------------------------------------------------------
let relayBox = new RelayBoxThing('base', 'labor', 'relaybox', 'IoT/Command/RelayBox', 'IoT/Status/RelayBox', [
"Küche", "Herd", "Waschküche", "Licht Keller", "Licht EG", "Licht OG"
])
relayBox.start()
// ----------------------------------------------------------------------------------------------------------
let testFourButton = new HomematicFourButtonThing('Gnd', 'Hallway', 'TestButton', 9, [
new HomematicFourButtonSingleItem('dispatcher_ng/items/Gnd/Hallway/Testlight/dimmerIn'),