you did a really good job on this integration. I just installed and it works.
There are only some downsides that I would like to understand:
hvac_mode: there are only [HVAC_MODE_HEAT, HVAC_MODE_OFF], I checked the source code and I guess you had to choose at least one mode to manage the “on” state of Ambi Climate and you choose “heat” instead of “cool”. Is my assumption correct? So Ambi Climate at the moment can’t tell you which mode is on: heat or cool. Do you think would be a big problem to set HVAC_MODE_COOL instead?
attribute temperature: there is something weird with this value, because the value I get is the app temperature + 1. If I set 25 in the app, I get 26 in this attribute; what could it be? Did it happpened to you?
Finally the standard HA thermostat card doesn’t work well with ambi climate entity. What I mean is that it is possible to turn on/off but it is not possible to change temperature because it calls the service climate.set_temperature instead of ambiclimate.set_temperature_mode. So my question is: what kind of card do you use to control ambiclimate entity?
@antivirus68, do you have your HA instance reachable from the internet?
I tried this component and could not get it to work. I am thinking this is because the AmbiClimate service needs to be able to talk to HA, through the callback url you have to create, but the instructions are not clear on this. It is also possible that the callback url can be for your local network if the device itself (which is on the same local network) is the one doing the callback.
Any feedback on how you set this up would be appreciated.
goto Settings -> Integration and click the plus button on the bottom right, select Ambiclimate
Now you should get a message with a link to Ambiclimate to start authorization process. In this same message you should see exactly which is your callback. Following the link you should get a ambiclimate page that asks for authorization, just select “accept” button and you are asked to save a file. Just save the file wherever you want, it doesn’t matter (I saved on a temp folder of my pc).
Go back to HA and select “Submit” button, you should get a message that confirm that you successfully added ambiclimate and you should see your ambiclimate unit called: climate.[some_name]
hello.
I receive an error while configuring ambiclimate in hassio.
Invalid config for [ambiclimate]: [platform] is an invalid option for [ambiclimate]. Check: ambiclimate->ambiclimate->platform. (See /config/configuration.yaml, line xx). Please check the docs at https://home-assistant.io/integrations/ambiclimate/
Thanks for your contribution to the community. May I seek your help for one issue regarding the integration. Followed instructions from https://www.home-assistant.io/integrations/ambiclimate. Worked previously but got error in the new release of HA ( Home Assistant 0.110.2).
The ambiclimate integration threw error during configuration:
Authenticate Ambiclimate
Translation Error: The intl string context variable “b” was not provided to the string “Please follow this link and Allow access to your Ambiclimate account, then come back and press Submit below.
(Make sure the specified callback url is {cb_url})”
**** end of error ****
When I clicked the link in the message, there was no response. If open the link to a new tab, it open the same page of integration configuration as above.
Have you came across this before? Any hints? Your advice will be much appropriated.
I would like to know this too. I am unable to set up the Ambiclimate integration despite following the instructions.
I first created an app here (https://api.ambiclimate.com/clients), where the callback url is the remote Nabu Casa link that looks like https://<unique_nabu_casa_link>.ui.nabu.casa/api/ambiclimate
Then I added these lines into the configuration.yaml, saved it, and restarted:
After that, I went to Configuration > Integration > Add Integration > Ambiclimate:
Somehow, the Callback URL that shows up is the local link, instead of the external Nabu Casa link I used to create the app in Ambiclimate. Following the link just shows me a JSON 404 error:
{
"description": "not found",
"error": 404
}
Appreciate any help I can get to setup the Ambiclimate integration!
I’m glad you did, I’ve been trying for a while. Where did you find this Internal URL and External URL setting? I am using version 2021.1.5 and when I enter Configuration > General this option does not appear. Only data such as house name, place, Time Zone … Could you help me, please?
This post helped solve the problem—apparently, the bug is still there after all these years.
The settings @thedrinkeno mentions are now in Settings | System | Network
They’re now under “Home Assistant URL” and they’re called ‘Internet’ and ‘Local Network’. If you’re using Home Assistant Cloud, which I was, Ambi will get the wrong callback URL apparently; I disabled HAC and changed it to the ‘normal’ URL I get from the DuckDNS add-on, and it worked.