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

Temperature scene


Question

Posted

Hi all,

Is it possible to set the temperature in a room based on outdoor temperature?

I want to overide the temperature panel when the outside temperature drops below a certain point. I have set the temperature to drop to 18 degrees at daytime, when we ar at work, but I don't won't that to happen when it is freezing cold outside.

3 answers to this question

Recommended Posts

  • 0
Posted

HI@te2603

Yes it is possible. Write simple scene to check temperature outside and depend on it override Your heating panel.

  • 0
  • Inquirer
  • Posted
    11 hours ago, domin12 said:

    HI@te2603

    Yes it is possible. Write simple scene to check temperature outside and depend on it override Your heating panel.

    Hi @domin12 

    I have done that, but i want my scene to set an sertain temperature, if I just make a scene that turns on the heating panel it stays on until I switch it off, and I tend to forget that :-)

     

    • 0
    Posted

    HI @te2603

    as i said before simple scene and use a VD to set up a temperature in heating panel , You can use this code for it:

     

    local response ,status, errorCode = HC2:GET("/api/panels/heating")
    if (status == "200") then
            local panels = json.decode(response)
            -- For each panel/zone, get the panel details, and check if the selected room is
            -- controlled by the heating panel. If so, then return the details.
            for panelKey, panelValue in pairs(panels) do
                response ,status, errorCode = HC2:GET("/api/panels/heating/" .. panelValue.id)  
                if (status == "200") then
                  local panel = json.decode(response)
                  fibaro:debug(panel.id.."-"..panel.name)
                    if panel.id == 410 then --for this panel id set up 4, rest 18
                        temp = 4
                        else
                        temp = 18
                    end
                      ZoneId = tonumber(panel.id)
                      fibaro:debug(tonumber(temp))
                    panel = api.get("/panels/heating/"..ZoneId)
                    panel.properties.vacationTemperature = temp
                    api.put("/panels/heating/"..ZoneId, panel)
                     
                  end
            end

    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...