This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

a better KODI handler
#6
(06.05.2019, 15:27)gjniewenhuijse Wrote:
(02.05.2019, 07:53)gilles38 Wrote: Hi did you manage to have a feedback from Kodi ? for instance having a feedback when the film is finished to open the shutters and tun on the light etc ... ?

thanks

edit this code and call a function in the main script:

Code:
-- incoming command parser
  function parse(data)
    -- log other info, not mapped, if useful
    --log("data received: "..data)
    --log(json.pdecode(data))
  end

thanks Wink

I finally add an addon to Kodi called "callback" that allow you to launch script on a specific action in Kodi.
in my case it update a group address Smile
Reply


Messages In This Thread
a better KODI handler - by gjniewenhuijse - 01.11.2017, 13:46
RE: a better KODI handler - by admin - 02.11.2017, 07:50
RE: a better KODI handler - by gjniewenhuijse - 06.11.2017, 06:50
RE: a better KODI handler - by gilles38 - 02.05.2019, 07:53
RE: a better KODI handler - by gjniewenhuijse - 06.05.2019, 15:27
RE: a better KODI handler - by gilles38 - 07.05.2019, 07:41

Forum Jump: