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

[SOLVED]Scene for Manual mode of heating panel


Denis_K

Question

Dear colleagues,

does anybody know how to create scene in LUA for switching a heating panel to the manual mode?

 

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

The topic has been moved from "

Please login or register to see this link.

" to "

Please login or register to see this link.

".

 

Temat został przeniesiony z "

Please login or register to see this link.

" do "

Please login or register to see this link.

".

Link to comment
Share on other sites

  • 0

I don't have an anwer 

On 1-12-2017 at 11:02 AM, Denis_K said:

Dear colleagues,

does anybody know how to create scene in LUA for switching a heating panel to the manual mode?

 

I don't have an answer to that question but like to know also...

 

The heating of my house is completely in the hands of my HC2 but not through the heating panel.

Every room has different temperature needs at different times and that is well covered by the panel.

But my heating (and airco) switches off also automatically when a window or door (to the outside) is opened or when a room is scheduled to be heated but no motion is detected in that room for more than half an hour etc..

Maybe (and probably) I miss something but I didn't find a way to get this 'micromanagement' through the heating panel.

Link to comment
Share on other sites

  • 0

Look at the code below that I use for a humidity panel.

The principle is the same for heating panels

Replace humidity by heating and reverse the principle of the examples below. My examples disable manual mode and vacation mode

 

local IdPanel  = 261  -- id from the Humidity Panel 

----------------------------------------------------------------------------------
-- Cancel the Manual mode in the humidity panel if activate
----------------------------------------------------------------------------------
local panel = api.get("/panels/humidity/" .. IdPanel)
if panel.properties.handHumidity ~= 0 then
    panel.properties.handHumidity = 0
    api.put("/panels/humidity/"..IdPanel, panel)
end

----------------------------------------------------------------------------------
-- Cancel the Holiday mode in the humidity panel if activate
----------------------------------------------------------------------------------
local panel = api.get("/panels/humidity/" .. IdPanel)
if panel.properties.vacationHumidity ~= 0 then
    panel.properties.vacationHumidity = 0
    api.put("/panels/humidity/"..IdPanel, panel)
end

  • Thanks 1
Link to comment
Share on other sites

  • 0
On 02/12/2017 at 11:28 AM, wienog said:

I don't have an anwer 

I don't have an answer to that question but like to know also...

 

The heating of my house is completely in the hands of my HC2 but not through the heating panel.

Every room has different temperature needs at different times and that is well covered by the panel.

But my heating (and airco) switches off also automatically when a window or door (to the outside) is opened or when a room is scheduled to be heated but no motion is detected in that room for more than half an hour etc..

Maybe (and probably) I miss something but I didn't find a way to get this 'micromanagement' through the heating panel.

That's exactly how I want to do from mime. Did you write the code urself if so is it possible to share it?

So the heating panel controls when it come on but also u have a script to control motion and old  Windows?

Link to comment
Share on other sites

  • 0
  • Inquirer
  • @MAM78 Many thanks for comments, it was a right direction.

    In my case I use a heating panel, but a four default period in some cases is not enough for me and sometimes I have to set a manual mode for 1 hour. Of course it's possible to do through menu, but a more convenient  (smarter :)) to do that via scene.  This one was tested and works: 


    local IdPanel  = 63  -- id from the heating Panel 

    ----------------------------------------------------------------------------------
    -- Manual mode in the heating panel with temp 20°C for 1 hour

    ----------------------------------------------------------------------------------
    local panel = api.get("/panels/heating/" .. IdPanel)
        panel.properties.handTemperature = 20
        panel.properties.handTimestamp = os.time() + (60*60)
        api.put("/panels/heating/"..IdPanel, panel)

     

    By the way, here is you can find some additional information with this topic:

    Please login or register to see this link.

    Link to comment
    Share on other sites

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