When an alert happen i would like to do "curl -X PUT "http://192.168.0.1/ssapi/zb/dev/1/ldev/smartplug/data/onoff" -H "accept: application/json" -H "Content-Type: application/json" -d "{ \"value\": false}""
or simply post some json to http://192.168.1.73/ssapi/zb/dev/1/ldev/smartplug/data/onoff
I really appreciate your response. I am completely new to these and went through the documentation but couldn’t understand the nuances between alert-template and row-template.
In my case , I just need to send json { "value": false} ,but i don’t understand where( alert-template/row-template) and how to put it ?
I had a problem when i placed the above script in Kapacitor configuration file. I am using the sandbox and the kapacitor Docker is exiting exiting instantly after restarting the sandbox and i have posted the question in here.