Kodi Blockly

Moderator: leecollings

Post Reply
Cletus
Posts: 54
Joined: Wednesday 17 August 2016 9:32
Target OS: Raspberry Pi / ODroid
Domoticz version: Latest
Location: Purmerend, Netherlands
Contact:

Kodi Blockly

Post 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
This is our world now... the world of the electron and the switch, the beauty of the baud.
User avatar
StanHD
Posts: 347
Joined: Friday 12 July 2013 16:09
Target OS: Windows
Domoticz version:
Location: East Sussex, UK
Contact:

Re: Kodi Blockly

Post 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. :)
Domoticz Main - Intel nuc, Windows, RFXTRX433E. Lan Relay Boards, Aeon Z-Stick Gen 5, Evohome HGI80, Milight WiFi, MySensors Ethernet Gateway, Harmony Hub
Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa
Cletus
Posts: 54
Joined: Wednesday 17 August 2016 9:32
Target OS: Raspberry Pi / ODroid
Domoticz version: Latest
Location: Purmerend, Netherlands
Contact:

Re: Kodi Blockly

Post 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!
This is our world now... the world of the electron and the switch, the beauty of the baud.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest