Page 1 of 1

Kodi Blockly

Posted: Wednesday 17 August 2016 9:40
by Cletus
Hello!

I'm new, just installed Domoticz last weekend with a RFLink USB Gateway! I absolutely love it! Fine piece of work! :)

I got a question though. I've added my Kodi and with a simple Blockly it works fine with Pause or Video but when i try below Blockly it doesnt work. Does anyone know why? Seems legit to me... Searched the forum but can't really find what the issue sould be.

Image

Thanks! Paul

Re: Kodi Blockly

Posted: Wednesday 17 August 2016 17:20
by StanHD
Hi,

The 'Or' statement should probably be:-

[Kodi Beneden] = [Paused] Or [Kodi Beneden] = [On]

Try right click on the [and] / [or] block and selecting "external inputs", I find it easier to read where there are "nested" blocks.

Also, the =sunset block is an "instant" in time so may not work.
Perhaps try:- > Sunset

(I think that will then be a period between Sunset & 00:00)

I tend to put > sunset and < 23:59 just to make sure ;)

Let us know how it goes. :)

Re: Kodi Blockly

Posted: Thursday 18 August 2016 10:24
by Cletus
Hi Stan,

Thanks for your reply! I got it to work. Indeed the sunset time was instant so i changed it to "equal to or greater than" and now that part works fine. Only the errormessage i got i changed the Blockly to this and all fine now.

Image

Thanks!