But then the code is already there and there is no need to do anything. I am assuming that wiringPi gets installed when installed openSprinkler, is not it?
Found the issue.
Yes, “,” is a delimiter , so the workaround is to use HEX equivalent %2C instead.
In my case, the complete command is “control?cmd=relay%2C0%2C1”
Cheers,
Instead of modify your code, What if I can emulate darksky API. So basically hook up the sensors with small script to read them and create a file that emulates darksky api.Actually noticed that DarkSky is now own by Apple . Is the API format available? BTW, read that this service might shut down during 2021. Is this correct? How easy is to change the weather service provider?
Cheers,