[HC2] Save energy with FIBARO and Hunter Douglas (Lua)

Description

FIBARO System will detect too high or too low temperature in your house and will adjust your shades or blades to save energy and decrease your bills.

 

Requirements

 

Step-by-step guide

  1. Log in to your FIBARO Home Center.
    loginpanel
  2. Click on Scenes.
    Scenes
  3. Choose Add scene.
    Add_scene
  4. Find Add scene in LUA and click on Add.
    Add
  5. As described, the LUA scene below will set your shades in the right position whenever there is too cold or too warm in your house.


Comments what does the code do:

  • fibaro:getValue(145, “value”) – reads the temperature from the FIBARO Motion Sensor
  • tonumber(fibaro:getValue(145, “value”) – simplifies the temperature reading to just a number
  • > 20 – compares it with our set threshold
  • fibaro:call(406, “playScene”) – executes the scene from the PowerView plugin
  • ( tonumber(fibaro:getValue(145, “value”)) > 24 ) – repeats the sequence for the upper limit

September 5, 2018   3828    Use Cases    
Total 3 Votes:
0

Tell us how can we improve this post?

+ = Verify Human or Spambot ?

Comments are closed.