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

Température control with IPhone


Lae

Question

Hi

Is it possible to control home temperature with iPhone app without using timer ?

I can't change programmed temperature for all the week, only for next 6 hours.

Thanks

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

You can use holiday mode and virtual device - then you can use slider to choose which temperature you want. There is LUA examples in here, use search and "holiday mode".

Lauri

Link to comment
Share on other sites

  • 0
  • Inquirer
  • Hi Lauri

    Do you have direct link, there are too many message with "Holiday Mode" in search mode.

    Thanks

    Link to comment
    Share on other sites

    • 0

    You have to create virtual device :Holiday mode lets say

    IP is HC2 IP and port is 80

    then make a slider and add LUA

    change heating ID to what heating panel you want to change and insert your HC2 IP and login/password

    local new_temp = _sliderValue_;

    HC2 = Net.FHttp("192.168.1.72",80)

    HC2:setBasicAuthentication("admin", "admin")

    -- get harmonogram

    response ,status, errorCode = HC2:GET("/api/panels/heating?id=6")

    jsonTable = json.decode(response)

    -- change tabele in Lua

    jsonTable.properties.vacationTemperature = new_temp;

    -- send back

    json = json.encode(jsonTable);

    HC2:PUT("/api/panels/heating?id=6", json)

    fibaro:log("ready")

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • Thanks Lauri

    It's working perfect, perhaps this can be implemented in next HC2 firmware or something better ?

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