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

Change heating panel


Jordi
 Share

Question

Hello
First steps in HCL

I have the need to activate and deactivate a thermostat,

 

Active 1 week to apply the planing of the heating panel
the next week or deactivate the device or change the thermostat's planning, so that it does not turn on.

Virtua l Device?  VAriables?

 

Any contribution will be well received.

Many thanks

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0
  • Inquirer
  • Small advance

    I got a variable in one scene, change the temperature of the radiator, but at the most I changed it automatically for 2 hours

    Edited by Jordi
    Link to comment
    Share on other sites

    • 0

    @Jordi

    Maybe you can do something with the next code. 

     

    --[[
    %% properties
    %% events
    %% globals
    --]]

     

    local PanelID = 317 
    local panel, status = api.get("/panels/heating/" ..PanelID)
    local currentTemp = panel.properties.currentTemperature 
    local tempset = tonumber(fibaro:getValue(58, "targetLevel"))
    local HuidigeTijd = os.date("*t")
     

        panel.properties.handTemperature = tempset
        panel.properties.handTimestamp = os.time() + (60*60)
        api.put("/panels/heating/"..PanelID, panel)

     

    Link to comment
    Share on other sites

    • 0
    27 minutes ago, Reinhold said:

    @Jordi

    Maybe you can do something with the next code. 

     

     

     

     

    I think there is no LUA. I see only HCL...

    Link to comment
    Share on other sites

    • 0
    1 hour ago, Milan Takacs said:

     

    I think there is no LUA. I see only HCL...

    Yes you're right i haven't seen that. 

    Link to comment
    Share on other sites

    • 0

    Did you finde a solution?

     

    I am looking to find a way to disable the heating panel certain temperatures are hight enough in the house- and then circulate only the most heated rooms and the bathrooms and basement, to distribute the heat.

    I have a water floor heating system, with a circulation pump. 

     

    So my code would be:
    if temperatureAverage> 25

    then turn off heating panel

    and open certain floor heating actuators.

    then if temperature is below xx

    then re-enable heating panel

     

     

    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.

     Share

    ×
    ×
    • Create New...