Execute external shell script

Discussions about Z-Way software and Z-Wave technology in general
fez
Posts: 118
Joined: 20 Jul 2015 23:03

Re: Execute external shell script

Post by fez »

It is an empty file. Nothing is in it.
I have now limited access to my setup, I can't send you the file. Maybe in a week or so.

fez
Posts: 118
Joined: 20 Jul 2015 23:03

Re: Execute external shell script

Post by fez »

I just tried out the 2.2.4 rc17 (because I had some annoying issues with the Fibaro dimmers)
The "issue" seems to be fixed, shell call got rejected with the empty .syscommands. I added the call to the .syscommands and it works as expected.
So far so good.

pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

Re: Execute external shell script

Post by pz1 »

PoltoS wrote:Please send me your .syscommands from automation folder. The dont see same problems
I have this for example this code:

Code: Select all

        host = system("hostname -I");
        self.vDev.set("metrics:icon","http://" + host + "8083/ZAutomation/api/v1/load/modulemedia/SolQoS/" + status + "58px.png" );
/opt/z-way-server/automation/.syscommands is zero bytes!

Generated Json looks like this:

Code: Select all

{//lines deleted
"icon":"http://192.168.78.128:8083/ZAutomation/api/v1/load/modulemedia/SolQoS/solarok58px.png",
//lines deleted
Since 29-12-2016 I am no longer a moderator for this forum

Post Reply