{"jsonrpc":"2.0","method":"Addons.ExecuteAddon","params":{"addonid":"script.json-cec","params":{"command":"activate"}},"id":1}
%7B%22jsonrpc%22%3A%222.0%22%2C%22method%22%3A%22Addons.ExecuteAddon%22%2C%22params%22%3A%7B%22addonid%22%3A%22script.json-cec%22%2C%22params%22%3A%7B%22command%22%3A%22activate%22%7D%7D%2C%22id%22%3A1%7D
<logger name="org.openhab.io.net" level="INFO" />
tcpdump -s0 -X host <ipAddress> and port 80
--
You received this message because you are subscribed to the Google Groups "openhab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openhab+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at http://groups.google.com/group/openhab.
To view this discussion on the web visit https://groups.google.com/d/msgid/openhab/84d07def-e803-4635-91bc-510265fc5764%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Sorry but I couldn't run tcpdump on the target machine still because it is running OpenElec (on a RPi) and the tcpdump utility is not available (and there is no package manager to easyly install).
12:35:00.003 DEBUG o.o.m.r.i.e.ExecuteRuleJob[:53]- Executing scheduled rule 'Pull Data from Eagle'
12:35:00.009 DEBUG o.openhab.io.net.http.HttpUtil[:190]- About to execute 'http://192.168.5.130/cgi-bin/cgi_manager'
12:35:00.299 DEBUG o.openhab.io.net.http.HttpUtil[:224]- {"meter_status":"Connected",
"demand":"-3.7140",
...
"threshold_lower_demand":"-4.685000"}
To view this discussion on the web visit https://groups.google.com/d/msgid/openhab/5e207884-71f3-4f70-80c4-10dd0d8913d8%40googlegroups.com.
with all respect , correct code for users who want to execute a addon script on kodi with Json command.