@farol Nevermind. Found it.
F
Best posts made by farol
Latest posts made by farol
-
RE: \ are disapearing
@Russ Thank you ! Worked as a charm !
Any clue how can I auto-start the agent as a daemon ? -
\ are disapearing
I'm trying to use Triggercmd to control a Sensibo Smart Air Conditioning with the string:"
curl -X PUT https://home.sensibo.com/api/v2/pods/<deviceid>/smartmode?apiKey=<mykey> -d "{"enabled":false}
I've added the command to the commands.json, but when it runs, the "" from the -d arguments are removed.
I've tried to use "\" instead, but then when "node src/agent.js --console" it errors and goes back to last good file.
The command doesn't work without the "", it's required on the API syntax.
How should I fix it ?