hi guys,
im looking for a virtual device (multilevel switch) to control all of my roller shutter with on (multilevel) switch.
any ideas to resolve this?
thank
dk00000
[Solved] virtual device to controll a lot of real devices
hi guys,
im looking for a virtual device (multilevel switch) to control all of my roller shutter with on (multilevel) switch.
any ideas to resolve this?
thank
dk00000
hi,
have a look at "pimatic/device-config-schema.coffee "
there are several dummy-devices, like Shutter, Buttons, Dimmer and others.
I hope that helps
greetings
jensebub
@jensebub
thanks a lot for the buzzword “dummy” device. so with this word i found something in the forum.
it works really good:
{
"class": "DummyDimmer",
"id": "wohnzimmer",
"name": "Wohnzimmer"
},
if $wohnzimmer.dimlevel changes then dim "... my devices" to $wohnzimmer.dimlevel
so now i have a dummy multilevel switch and can also use this dummy switch for the rules in combination with sunrise/sunset. it not neccessary the have one rule per device. now i just have one sunset rule for the dummy device, and if the dummy device changes than the next rule starts… look above.
@dk00000 u’re wellcome
another hint for that is to look at https://github.com/pimatic/pimatic/blob/master/device-config-schema.coffee
there are the different types of “dummy”-devices listed.