• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
TRIGGERcmd
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  1. Home
  2. farol
  3. Posts
  • Profile
  • Following 0
  • Followers 0
  • Topics 1
  • Posts 3
  • Best 1
  • Controversial 0
  • Groups 0

Posts made by farol

  • RE: \ are disapearing

    @farol Nevermind. Found it.

    posted in Linux
    F
    farol
    Jun 20, 2021, 6:56 PM
  • RE: \ are disapearing

    @Russ Thank you ! Worked as a charm !
    Any clue how can I auto-start the agent as a daemon ?

    posted in Linux
    F
    farol
    Jun 20, 2021, 6:44 PM
  • \ 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 ?

    posted in Linux
    F
    farol
    Jun 19, 2021, 10:45 PM