[SOLVED] Groovy version for referencing Rule DSL getActions() command

Hi All,

I have the following small Rule DSL script to send a pushover message to my devices:

val actions = getActions("pushover","pushover:pushover-account:xxxxxxxxxx")
actions.sendMessage("Hello World", "openHAB")

I would like to convert this to a Groovy script. Anyone know the commands to use?

Thanks,
Randy

You can find some details hete…

I’ll get the Groovy tabs filled in, but they will be much like the Jython.

Thank-you @5iver. I actually have that website bookmarked (and it’s been very helpful to me for many situations), but, as you mentioned, the Groovy tabs are yet to be filled in. I’ll use the Jython syntax as a guide.

1 Like