I have started using Kerberos.io and I would like to start motiondetection when the alarm is armed. Kerberos.io has a Restfull API but as a copy/paste ‘programmer’ I lack the skills to convert the python script example to a Restfull command.
That looks simple but unfortunately nothing happens on the API, but also nothing is showing in the Hass logfile when testing from the developer tools. Changed some things which led to errors in the log so my changes are processed.
Just to see if the API is working I tested with curl and with the following command I had success:
curl -u user:password http://xxx.xxx.xxx.xxx/api/v1/condition/enabled --header Content-Type:application/json --request PUT --data {\"active\":\"true\"}
I looks quite the same! Any ideas for additional testing and/or logging?