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


Question

Posted

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

6 answers to this question

Recommended Posts

  • 0
  • Inquirer
  • Posted (edited)

    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
    • 0
    Posted

    @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)

     

    • 0
    Posted
    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...

    • 0
    Posted
    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. 

    • 0
    Posted

    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

     

     

    • 0
    Posted

    Hello ThomasHC2, I am more or less in the same case of you. Did you resolve it?

    Yhank you very much.

    Kind regards

     

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