OpenHAB Blockly Rules Tutorial is Online - Part 1, 2 and 3

@MichaelBrunner and @stefan.hoehn did a Video Tutorial Series on Blockly which has been published on the openHAB Video Channel

As the session we did together became so long and the content so comprehensive we decided to split it into several videos in which we dive deeply in many of the different block areas and individual blocks.

The first episode has the following content

[0:00] Introduction
[4:55] Quick Intro Blockly Rules
[5:25] Debugging Rules with OpenHAB Developer Tools to watch Item-Status
[7:09] Creating a Blockly Rule
[9:18] Overview of the Blockly Sections
[11:10] Logging
[13:10] Working with Items
[16:15] Working with Text-Blocks
[17:57] Sending Commands
[22:46] Using Color-Blocks and HSB-Conversion
[26:40] Waiting in Rules
Various Help Documentation available in openHAB Blocky
Blockly as an ECMA-Script code generator
[32:27] Loops in Blockly
[33:55] Playing sounds on audio sinks
[39:55] Using Text-to-speach easily with blocks
[42:18] Streaming Music

The second episode has the following content

[0:00] Introduction
[1:00] Functions
[2:50] Parameter
[5:35] Play Stream
[7:25] IF ELSE
[10:30] Timers
[17:26] Burglar Alarm Example
[27:48] Disable Rules

The third episode has the following content

[00:45] Datetimes and Cron-Triggers
[06:15] Copy-Of, Datetime-Now with Math-Operations
[06:50] Temporal Units
[08:40] Date comparison
[09:30] Convert item states to Datetimes
[15:30] Send Notifications to the openHAB mobile app
[21:15] Using Ephemeris information
[24:00] Using Persistence data
[28:00] Wrap up and short overview on basic blocks
[28:50] Basic: Logic, Loops, Variables overview
[30:20] Basic: Math
[30:35] Basic: Text
[31:50] Basic: Lists, Colors
[32:25] openHAB Blocks Wrap up
[33:30] Creating Datetimes and other datetime blocks
[34:20] Global Value Storage
[35:10] Run & Process blocks, transform
[36:05] Inline Scripts
[37:37] Outro

We hope that this makes the OpenHAB Blocklies even more known to the community and allows many more people to write home automation rules easily.

Cheers
Michael and Stefan

PS: If you feel after the last video that something is missing, let us know and we may do a follow up on these topics.

14 Likes

I’ll make sure this gets linked to in the Getting Started Tutorial.

1 Like

The second episode has arrived.

This time the topics are

[0:00] Introduction
[1:00] Functions
[2:50] Parameter
[5:35] Play Stream
[7:25] IF ELSE
[10:30] Timers
[17:26] Burglar Alarm Example
[27:48] Disable Rules

Cheers
Stefan and Michael

2 Likes

I don’t know if this is possible but could a link to the second video be added to the first video? That would make it a little bit easier for users to follow from one video to the next. At least for me, YouTube doesn’t necessarily jump to the next video.

I think another alternative might be to create a collection so all the videos are automatically queued up in order.

1 Like

Yep, I will ask @MichaelBrunner, whether he can put that into the video.

2 Likes

yes @rlkoshak I’ll create a playlist and link the second video to the first one. Good call :wink: thanks

2 Likes

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.

The third episode has also arrived on July 23rd. Here are the chapters of that episode

[00:45] Datetimes and Cron-Triggers
[06:15] Copy-Of, Datetime-Now with Math-Operations
[06:50] Temporal Units
[08:40] Date comparison
[09:30] Convert item states to Datetimes
[15:30] Send Notifications to the openHAB mobile app
[21:15] Using Ephemeris information
[24:00] Using Persistence data
[28:00] Wrap up and short overview on basic blocks
[28:50] Basic: Logic, Loops, Variables overview
[30:20] Basic: Math
[30:35] Basic: Text
[31:50] Basic: Lists, Colors
[32:25] openHAB Blocks Wrap up
[33:30] Creating Datetimes and other datetime blocks
[34:20] Global Value Storage
[35:10] Run & Process blocks, transform
[36:05] Inline Scripts
[37:37] Outro

2 Likes