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


Recommended Posts

Posted

There are new properties associated with this device. Is there any documentation on how to set up this device using a QuickApp to interface with a cloud based thermostat? Specifically I want to know what the method autoThermostatSetpoint property is intended to do? I would expect it to contain two values but when I examine the device info there is only one value and it is certainly not a realistic value for a thermostat.

 

Here's a screenshot of the swagger device dump:

 

Please login or register to see this image.

/monthly_2024_07/image.png.7e6fb6f74269f138dd7c22848c5ec8f6.png" />

 

This would appear to be not fully implemented or I'm just ignorant on discovering its use.

 

I am running version 5.160 and I've been having fits getting the two setpoints to update because of the way they get updated from the Climate panel.

 

Thank you in advance.

 

Peter

Posted
18 minutes ago, PeterV959 said:

autoThermostatSetpoint property

That is which desired temperature QA is set to.

 

Basically Setpoint == Desired temperature.

Posted (edited)

@jakub.jezekdoes this affect the other API calls ? They did not have the "auto" prefix if i remember correctly.Maybe i am wrong. Will the old commands and properties still work?

Edited by Neo Andersson
Posted
1 hour ago, Neo Andersson said:

Will the old commands and properties still work?

Dunno, only way to check is to test it.

Posted

I think the autothermostatsetpoint is what value u want it to stay on.

 

and this too sets the hystiresis.

Please login or register to see this code.

 so if you set the hysteresis too 2 and auto setpoint too 24 it will start cooling above 26 and if the temperature fall below 22 it will start heating? 
this is just a guess :D But is what seems logical too me :)

 



 

  • Topic Author
  • Posted (edited)

    So I guess it begs the question, how do I use these properties in lieu of the coolingThermostatSetpoint and heatingThermostatSetpoint properties? I am using the climate schedule panel to control my HVAC and none of those auto properties are referenced anywhere. There are also two actions I don't recall seeing before: setAutoThermostatModeAndSetpoint and setAutoThermostatSetpoint. And I don't see evidence of their being accessed either. I find it frustrating that so little integration information comes from Fibaro. Most of what I can find comes from experienced users or integrators who have fiddled with stuff until it works. I had hoped that the setAutoThermostatModeAndSetpoint would pass the mode and the heating & cooling setpoints in a table. But now I think you are right that it uses a single setpoint and the two hysteresis values instead. I can go either way. I have issues with the way the climate panel updates the thermostat since it sends each setpoint individually without regard to setting the first setpoint to an invalid state (new heating temp higher than the old cooling setpoint) which resolves when the second setpoint is sent.

     

    Thanks for your insights.

     

    Peter

    Edited by PeterV959
    Posted

    Yeah I got explained that the climate panel in fibaro sets all the values when updating the thermostat (mine have only cooling and heating).

    Even when it is set to heating only. 

    And this somtimes fucked up the thermostat 😅

  • Topic Author
  • Posted

    I am using a good QA for my Nest Thermostat by someone from France. Since he wrote it for himself, he only concerned himself with heating and his displays were in ℃. I'm in the southeast USA and we have air conditioning and heating, plus we think in ℉. I was able to update the code to better use Auto mode and display the temperature in ℉. Furthermore, the Nest Thermostat uses ℃ for its setpoints. So there needed to be a conversion between the two units. All was fine until I began to play with the climate panel. I kept having issues with one of the setpoints not updating and struggled with that for a while before I realized a couple things. First, the heat SP is sent as an action, followed immediately by the cool SP. However, in auto mode, the Nest cloud requires both setpoints to be sent. I went round and round before I realized that. So when I would send an initial heat SP which was above the old cool SP, it would throw an error. And, since I didn't know (or, more properly, I programmed defensively) whether the cool SP would be coming, I made sure that the new heat SP would be accepted by sending a new cool SP that would work. I relied on the cool SP being sent soon enough afterward that it would be a "momentary" blip. Now it seems to work fine. I wish I could get both SPs in one event message when Auto mode is used.

     

    I will say that @jgab's fibemu has been invaluable for diagnosing the above. And my Nest Thermostat QA is on github. The author is Guillaume Waignier (GuillaumeWaignier on github). He has since added support for Nest motion detector and camera although those haven't interested me.

     

    I did just look at my climate panel and when in heating or cooling mode it only has entries for one SP.

     

    Have a great weekend.

     

    Peter

    • Like 1

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Reply to this topic...

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