Openhab2 Start a Script (VBScript)

openhab2
scripts
vbs
Tags: #<Tag:0x00007fe0576b5e10> #<Tag:0x00007fe0576b5c08> #<Tag:0x00007fe0576b5a78>

(Michael) #1

Hello Everbody,
i search a lot, maybe anybody could help me?

I want to start a VBScript by turning a switch on. (test.vbscript)

Is there a way to do it?

Thanks for your help

greetings


(Angelos) #2

You could try: http://docs.openhab.org/addons/bindings/exec1/readme.html


(Michael) #3

Hallo, Thanks for Your fast answer i search a lot, and tried many thing like that:

Switch networkLamp “Mirror” (GF_Toilet, Lights) {exec=">[ON:“C:\Users\admin\Desktop\test.bat”]" }

but no reaction, also nothing shown in the log files. the item works but no command sarted.

the Exec binding ist succesfully installed and shown in the bindings.

Any more idea it would be great.

thank you