Hi,
I have a DSC alarm system and I have configured it to work with openhab. It uses the EnvisaLink EVL-3 and I have not had any problems getting everything to work well with openhab. Except when I came to implement my PGM toggle. I included the DSC Alarm Action bundle in the Addons folder and I added an item to the item file. I then added a rule to trigger my item and a switch to my sitemap.
Here is my item config:
Switch GARAGETOGGLE “Garage door toggle”
Here is my enrty into the site map:
Switch item=GARAGETOGGLE label=“Toggle Garage Door”
Here is my rule for this item:
rule “GARAGETOGGLE”
when
Item GARAGETOGGLE received command
then
** sendDSCAlarmCommand(“071”, “1*71”)**
end
(Right away I can see there might be a problem because a little red x appears in the side column that gives me a pop up that says:
Multiple markers at this line - Couldn’t resolve reference to JvmIdentifiableElement ‘sendDSCAlarmCommand’. - This expression is not allowed in this context, since it doesn’t cause any side effects.
In any case, I can slide the switch back and forth in my browser, but the command is not being sent to my alarm panel.
The pertinent part of the error log says:
Error during the execution of rule ‘GARAGETOGGLE’: The name ‘sendDSCAlarmCommand(,)’ cannot be resolved to an item or type.
Can anyone give me some help of insight into this problem?
Thanks
Sam Bozman