Restart/Shutdown openHAB 3 using ECMAScript 2021

Jeewan

I’m not 100% sure, but I think the: executeCommandLine itself is the result for the error. If you compare for instance here:

In your script you have four “text strings” that you give.
If i’m a dumb robot I connect this to: “sudoshutdown-rnow” and for sure I would reply, hmm I don’t understand.

Hope that helps :slight_smile:

1 Like