Hi there,
i’m trying to make a roller shutter item with my siemens logo but it does not work.
I have two different items - one for all “UP” and one for all “DOWN”.
Now i want to combine them in one Rollershutter.
The switches works fine. But the Shutter doesn’t do anything.
here my things:
Bridge plclogo:device:Logo2 “Logo_Rollo” [ address=“192.168.178.22”, family=“0BA8”, localTSAP=“0x0200”, remoteTSAP=“0x0200”, refresh =333 ]
{
Thing memory WG_Shutter_down_all “Rollos runter” [ block=“VB101.0” ]
Thing memory WG_Shutter_up_all “Rollos hoch” [ block=“VB101.1” ]
}
here my items:
Switch WG_Rollo_runter_SET “Rollo runter SET” { channel=“plclogo:memory:Logo2:WG_Shutter_down_all:state”}
Switch WG_Rollo_hoch_SET “Rollo hoch SET” [“Switchable”] { channel=“plclogo:memory:Logo2:WG_Shutter_up_all:state”}
Rollershutter WG_Rollo
here my rule:
rule “Wintergarten Shutter”
when
Item WG_Rollo received command
then
switch (receivedCommand) {
case UP: sendCommand(WG_Rollo_hoch_SET, ON)
case STOP:
case DOWN: sendCommand(WG_Rollo_runter_SET, ON)
}
end