Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


  • 0

Scene shut off valve and weekly schedule


Question

Posted

Hello, 

 

I have problem with heat controller. I have scene which Turn valve off if open window is breached, and is turned back on if Windows is closed. How ever if I have weekly schedule it will override scene.

 

So for example window is open from 6pm on and weekly schedule have set for example at 8pm to Turn to 21 degree, even if window is open the valve will set to 21 which it shouldnt until window gets closed. 

 

IS there a way to fix this.

 

Thank you

1 answer to this question

Recommended Posts

  • 0
Posted
W dniu 13.10.2019 o 16:43, Rok napisał:

Hello, 

 

I have problem with heat controller. I have scene which Turn valve off if open window is breached, and is turned back on if Windows is closed. How ever if I have weekly schedule it will override scene.

 

So for example window is open from 6pm on and weekly schedule have set for example at 8pm to Turn to 21 degree, even if window is open the valve will set to 21 which it shouldnt until window gets closed. 

 

IS there a way to fix this.

 

Thank you

 

Try to control the schedule. When the window is open set the schedule in holiday mode. 
You will do it with VD You must change the heating zone ID, provide login, password and IP for HC2. 
In a line: local new_temp = 0 indicates the auto schedule mode local new_temp = 15 means 15st vacancy mode

The scene that turns off the heating valve must activate the corresponding VD button
When the window is open, press the VD manual button or when the window is closed, press the VD auto button

 

local new_temp = 10; --temp
local heating_section = 795; -- ID 
HC2=Net.FHttp("192.168.1.xxx") --IP HC2
HC2:setBasicAuthentication("login","pass") --Login
response ,status, errorCode = HC2:GET("/api/panels/heating/"..heating_section) --wersja dla 4.x
fibaro:log("Status = " .. status)
fibaro:sleep(3000)
  jsonTable = json.decode(response)
  jsonTable.properties.vacationTemperature = tonumber(new_temp);
  local  json2 = json.encode(jsonTable);
  HC2:PUT("/api/panels/heating/"..heating_section, json2) -- wersja dla 4.x
fibaro:sleep(5000) 
 

and

 

local new_temp = 0; --temp
local heating_section = 795; -- ID 
HC2=Net.FHttp("192.168.1.xxx") --IP HC2
HC2:setBasicAuthentication("login","pass") --Login
response ,status, errorCode = HC2:GET("/api/panels/heating/"..heating_section) --wersja dla 4.x
fibaro:log("Status = " .. status)
fibaro:sleep(3000)
  jsonTable = json.decode(response)
  jsonTable.properties.vacationTemperature = tonumber(new_temp);
  local  json2 = json.encode(jsonTable);
  HC2:PUT("/api/panels/heating/"..heating_section, json2) -- wersja dla 4.x
fibaro:sleep(5000) 
 

 

Please login or register to see this attachment.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...