informatie over RULES
https://community.openhab.org/t/problem-using-executecommandline-and-curl/2148/5
probleem dat een commando die via command line correct,
niet wordt uitgevoerd bij het oproepen in OpenHAB.
// command line: curl -d '{"hold":0}' http://192.168.224.50/tstat
executeCommandLine("curl -d '{\"hold\":0}' http://192.168.224.50/tstat")
Changed this:
executeCommandLine("curl -d '{\"hold\":0}' http://192.168.224.50/tstat")
To this:
executeCommandLine("curl@@-d@@{\"hold\":0}@@http://192.168.224.50/tstat")
Spaces replaced by @@ and '{\"hold\":0}' deleted.
debug
http://karaf.apache.org/manual/latest/#_commands_2
is een tutorial over de verschillende mogelijkheden van loggen/debuggen.
http://docs.openhab.org/administration/logging.html
userdata/logs
The default installation of openHAB generates two log files:
#create-log-entries-in-own-rules