Forums : designer or controller bug for command params?
This page last changed on Jun 14, 2013 by jmspooner.
Just thought I'd mention, I created a standard protocol shell command in the designer which runs a bash script of mine. The script simply determines if a host is "up" and returns on/off.
While testing I purposely changed the ip address of the command under the params box to an ip on my network that had no host. I wanted to see the nice green indicator on my mobile phone turn red
The problem occurred when the icon did not turn red. I checked the dev.log and saw that the test was returning "on". I checked the controller.xml file and could see my changes including the invalid ip address were present... so out of desperation I kept doing ps -ax in my linux shell looking out for my script when openremote executed it (every 30s). Sure enough the IP address had not changed!! it was still pinging the original valid IP address that I used!
This is a strange one so if any openremote devs want me to provide any other specific info or tests then let me know... just thought I'd mention this as it all made no sense.
FYI I'm using version 2.0.2 build.
|Document generated by Confluence on Jun 05, 2016 09:30|