lorenzo999
lorenzo999
The problem is related to the "state_cmd" property, in 1.0 version it was optional and the plugin retained automatically the state remembering last action.
This feature is not available at the moment, this thread was related to a bug that has been fixed.
I used cmdswitch2 for months with no problems. Recently I did a fresh install on my Raspberry Pi 3 and now I got this error. I switched to deprecated version...
I tried again to do clear the cached stuff and I found out the first error in daemon.log is the following: ``` child_process.js:380 throw new TypeError('"file" argument must be a...
Yes I did, the config.json is a valid json.
THANK YOU! That was the problem. Since I don't have a real state command I just added this below my "Off" command: `"state_cmd": "ping -c 2 -W 1 192.168.1.1 |...