Smart roller blind positioning

  • Document number: PO-205-EN
  • Version: 1.0
  • Date of publication: September 5, 2023


Sun tracking block

This block helps to set roller position in relation to sun position.

Click to enlarge and open in a new tab.

Importing block

Download this json file:

Go to Node-red.

Press ctrl + i or ⌘-i in your workplace or in top right corner press settings (three horizontal lines) and Import.

Click to enlarge and open in a new tab.

Enter here file or file content, press Import.

Block configuration

From now on there should be this block in subflows.

Click to enlarge and open in a new tab.

Drag this block to your flow and double click it. Enter your data here (latitude, longitude etc.).

Click to enlarge and open in a new tab.

For block to work properly you also need to download and install Node named node-red-contrib-sun-position.

Click to enlarge and open in a new tab.

How to use configured block

Now you can just use inject block.

Click to enlarge and open in a new tab.

Just drag first block and plug in.

Click to enlarge and open in a new tab.

Press Deploy

Click to enlarge and open in a new tab.

and click on blue button.

Click to enlarge and open in a new tab.

Roller should point at sun.

If you want roller to point at sun for example every 15 minutes then double click on blue block and set repeat to interval and set interval to 15 minutes. If you also want for algorithm to start working after server restart, pick Inject once after.

Click to enlarge and open in a new tab.

Now click on blue button, after deploying interval should start working.

Additional

If you want to change variable percentage of the sun (how much of sun light enters the room), you can just edit field in the Sun tracking block and enter value from 0 to 100.

Click to enlarge and open in a new tab.