i`ve updated and tested it with this:
IF Stefan Handy is absent THEN stop Kodi Media Player
and get this:
09:59:59.744 [pimatic] error: Error on evaluation of rule condition of rule test: Promise is not defined
Unhandled rejection ReferenceError: Promise is not defined
at connect (/root/pimatic-app/node_modules/pimatic-kodi/node_modules/xbmc-ws/lib/xbmc-ws.js:4:13)
at /root/pimatic-app/node_modules/pimatic-kodi/kodi-plugin.coffee:80:11
at tryCatcher (/root/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/main/util.js:24:31)
at Promise._resolveFromResolver (/root/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/main/promise.js:439:31)
at new Promise (/root/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/main/promise.js:53:37)
at ConnectionProvider.getConnection (/root/pimatic-app/node_modules/pimatic-kodi/kodi-plugin.coffee:75:18)
at ConnectionProvider.getConnection (/root/pimatic-app/node_modules/pimatic-kodi/kodi-plugin.coffee:6:1)
at KodiPlayer._updatePlayer (/root/pimatic-app/node_modules/pimatic-kodi/kodi-plugin.coffee:253:28)
at KodiPlayer._updateInfo (/root/pimatic-app/node_modules/pimatic-kodi/kodi-plugin.coffee:225:35)
at null.<anonymous> (/root/pimatic-app/node_modules/pimatic-kodi/kodi-plugin.coffee:178:10)
at wrapper [as _onTimeout] (timers.js:252:14)
at Timer.listOnTimeout [as ontimeout] (timers.js:110:15)
pimatic runs on pi 1 and kodi on pi 2.
so kodi starts after pimatic. is this possible now? because you say
Also it now should support multiple instances at the same time.
thanks for that,
great work.