Giter Club home page Giter Club logo

daikin_residential_altherma's Introduction

Important

This integration will not work anymore after March 11th 2024 due to changes made by Daikin (see #226). Please migrate to the daikin_onecta integration which supports the Daikin Altherma but also other types of Daikin devices.

Daikin Residential for Altherma 3 Heat Pump

Home Assistant Integration for Daikin Altherma 3 Heat Pump (natively for models BRP069A78 but users have good experience also for BRP069A62 and BRP069A61 despite they have not been tested).

This integration can coexist with the [daikin_residential] integration (https://github.com/rospogrigio/daikin_residential).

This integration is maintained by @speleolontra and @jwillemsen.

Installation using HACS:

Install with HACS: Search for "Daikin Residential for Altherma 3" in the default repository,

Manual Installation

Copy the daikin_residential_altherma folder and all of its contents into your Home Assistant's custom_components folder. This is often located inside of your /config folder. If you are running Hass.io, use SAMBA to copy the folder over. If you are running Home Assistant Supervised, the custom_components folder might be located at /usr/share/hassio/homeassistant. It is possible that your custom_components folder does not exist. If that is the case, create the folder in the proper location, and then copy the daikin_residential_altherma folder and all of its contents inside the newly created custom_components folder. Then you have to restart Home Assistant for the component to be loaded properly.

Using config flow

Start by going to Configuration - Integration and pressing the + ADD INTEGRATION button to create a new Integration, then select Daikin Residential Controller for Altherma in the drop-down menu.

Follow the instructions, you just have to type the email and password used in the Daikin Residential App. After pressing the "Submit" button, the integration will be added, and the Daikin devices connected to your cloud account will be created.

YAML config files

Just add the following lines to your configuration.yaml file specifying the email and password used in the Daikin Residential App, and the Daikin devices connected to your cloud account will be created. After making changes to your configuration.yaml file you need to restart home assistant.

daikin_residential_altherma:
  email: 'your_email'
  password: 'your_pwd'

Setting the log level

If you'd like to see more granular logs, to investigate the communication or for other debugging purposes, you can set the log level in the Home Assistant config. The following lines can be added to set the overall log level for the component:

logger:
  logs:
    custom_components.daikin_residential_altherma: debug

If you only want to change log level on a per module basis, you can do that as well, for example if you only want debug logs for the climate:

logger:
  logs:
    custom_components.daikin_residential_altherma.climate: debug

Thanks to:

This code is based on @rospogrigio work that in turn is based on @Apollon77 work, in finding a way to retrieve the token set, and to send the HTTP commands over the cloud. This integration would not exist without their precious job, my job was to try and debug Rospogrigio's code to adapt at JSON from Altherma 3 controlled by Daikin Residential App.

Next steps

  • Simplify integration by grouping all sensors in their management point, there is a lot of code duplication and special handling for the Altherma water tank in the current code which we want to simplify

daikin_residential_altherma's People

Contributors

christophcaina avatar dependabot[bot] avatar jwillemsen avatar misa1515 avatar speleolontra avatar varchar42 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

daikin_residential_altherma's Issues

Read madoka wired thermostat values

Hi there,

Great work on the integration. would it be possible to also pull data from the madoka thermostat ( for example current temperature )?

The temperature from madoka is seen in the native android app

Integration stopped working

The integration stopped working with an altherma 3 heat pump a couple of days ago. Problem seems to be at refreshing the token. Location is Romania

Tried re-adding this from scratch, but no luck. I am currently using the Onecta app on my mobile phone and the user and passwords that I set there

Am I doing something wrong or is this a limitation from Daikin's cloud ?

Way to know altherma is working ?

Hello,

Thanks for this beautiful integration !

Is there a way to know if altherma compressor is working or sleeping ?
Thanks :)

Cedric

Export heat pump status flags

The heat pump itself has various status flags

                "isHolidayModeActive": {
                    "requiresReboot": false,
                    "settable": false,
                    "value": false
                },
                "isInEmergencyState": {
                    "requiresReboot": false,
                    "settable": false,
                    "value": false
                },
                "isInErrorState": {
                    "requiresReboot": false,
                    "settable": false,
                    "value": false
                },
                "isInInstallerState": {
                    "requiresReboot": false,
                    "settable": false,
                    "value": false
                },
                "isInWarningState": {
                    "requiresReboot": false,
                    "settable": false,
                    "value": false
                },

Change the schedule of heating and cooling from home assistant

Hello,

I want to be able to change the schedule of the Altherma. This way in home assistant I can create an automation for the schedule to be changed based on the surplus energy of my solar Panels.

Is anyone up to help find a solution to this?
I already looked into the raw data file. And it is a value that is settable.

Can login but no devices are created

I installed the integration as described, entered my login and password. The integration seems to connect but doesn't create any device or entities. Am I doing something wrong? I attached the downloaded diagnostics, seems like data was pulled. But no devices show up.

diagnostic.json.txt

Error at Login Terminal

Hi and many thanks for the Project!
I think that I've installed everything right but still get the error message "Failed to retrieve access token set." It's when o enter the mail an password for Daikin cloud.
Anyone an idea?

Many thanks an kind regards

Cannot see integration

HACS created custom component files.
Restarted
Cannot find integration to add!

Any help appreciated

Pw at walker.id

temperature offset

Hello,
i have not room thermostat,temperature is controlled by equitherm regulation.From this reason i dont setup heat temperature,but just setup offset +- 10.
In Daikin app it is working but in Ha not.
is possible to change the control from temperature to offset?
thanks for help.

Screenshot_2022-02-18-20-17-13-819_com daikineurope online controller

Screenshot_2022-02-18-20-16-56-135_io homeassistant companion android

Automations based on temperature don't work

I have this integration installed in HA and I'm using a BRP069A78 unit. All information from the unit seems to be correctly displayed in my HA instance, however I'm not able to use the temperature sensors in automations.

#Not sure if this is related to #48

Example automation:

alias: Notify when tank temp is at 60
description: ""
trigger:
  - platform: numeric_state
    entity_id: sensor.altherma_tank_temperature
    attribute: ""
    below: "51"
    for:
      hours: 0
      minutes: 0
      seconds: 0
condition: []
action:
  - service: notify.pushover
    data:
      message: Legionella programma uitgevoerd
mode: single

Add sensor for setpointMode

We should export the setpointMode to HA, I have two values, one for the heat pump and one for the hot water tank

                "setpointMode": {
                    "requiresReboot": true,
                    "settable": false,
                    "value": "weatherDependentHeatingFixedCooling",
                    "values": [
                        "fixed",
                        "weatherDependentHeatingFixedCooling",
                        "weatherDependent"
                    ]
                },
                "setpointMode": {
                    "requiresReboot": false,
                    "settable": false,
                    "value": "fixed",
                    "values": [
                        "fixed",
                        "weatherDependent"
                    ]
                },

Interface update 6.9.0

Hello,

Be careful before installing version 6.9.0 instead of 6.8.0 !
Now the API is updated every 15 mins instead of near real time :(
Even Onecta app have a delay about 15 mins

Have you the same problem ?

Edit: A new option appeared in Installer menu "daikin home control". But no effect with API

"Failed to retrieve access token set."

Hi,

I'm not able to connect with Daikin "API", i always got "Failed to retrieve access token set."

And the log said:

2022-10-12 00:12:55.928 ERROR (MainThread) [custom_components.daikin_residential_altherma.config_flow] Failed to retrieve Access Token: ('Failed to retrieve access token: %s', IATError('Issued in the future'))

Any idea ?

Regards

Not working :(

I have installed and entered correct username and password, nothing shows up :(

I have my Daikin Altherma EHVZ08S18DA9W(G) in the Daikin Residential Controller App fully working and even linked to Google Home , but it is not showing up in this integration. Further i have a Daikin ALtherma LAN-Adapter BRP069A62 & a BRC 1HHDAW Human Comfort Interface and a EKRTWA Room thermostat
[](ur
1
2
Skärmavbild 2021-12-04 kl  10 55 37
l)

Fallback code for BigFoot2020

In several files there is code which does something special when None is returned, there is a comment "BigFoot2020" related to those lines, do those need to be kept, at least with my daikin units I do get values with these calls

Add all information available in the Heat Pump display

I just love this repo as I am able to see and control my Daikin Heat Pump in Home Assistant, but I realised there are a lot of information available in the heat pump display that is not available using this integration (i.e. status of the pump/compressor/diverter-valve, refrigerant temperature, inlet PHE water temperature, etc), could this information be added to the integration?

Add text sensor for controlMode

Should export the controlMode to HA

                "controlMode": {
                    "requiresReboot": false,
                    "settable": false,
                    "value": "roomTemperature",
                    "values": [
                        "leavingWaterTemperature",
                        "externalRoomTemperature",
                        "roomTemperature"
                    ]
                },

Not updating

Hi nice to have the option for the controller, thank you!
Unfortunately I only get data once after each reload of the integration, after which all entities stays in that state.
Does anyone else experience this?

Sensors not updating

Hello,

Few days I got Daikin installed and I have manage to add integration to HA, but it looks like all sensor values are not updated, unless I restart HA, after restart value updates for one time, but it stays constant. All values in climate integration are updated.

image

From graph you can see that Altherma Leaving Water Temperature is staying constant, but Altherma current temperature is changing.

I tried to debugging and what I was able to find out is that all parameters from climate.py are updating, and from sensor.py are not updating. Sensor are initialized during startup, but sensor.py async_update() is never called.

I'm new to HA development, so maybe someone could suggest some places which I could look into.

Provide offset values when there is no roomTemperature

OK,
it seems that is optional value...

In fact is not present in my interface...
immagine

I can only set the offset from climatic curve.
At the moment I didn't find a solution for transfer constants to configuration file, that is a possible solution to mantain only one integration.
If you have an idea...

Lontra

Originally posted by @speleolontra in #2 (comment)

Add support for errorCode

When the device has a problem there is an errorCode set, at this moment I have a AH-00 meaning it hasn't been able to run the desinfection run (heating the water to 60C). Available for the altherma and the hot water tank seperately

                "errorCode": {
                    "maxLength": 16,
                    "requiresReboot": false,
                    "settable": false,
                    "value": "AH-00"
                },

hot water setpoint temperature?

this is a really great project! Since I have a solar system, I would of course like to store the excess energy in the hot water tank, so it would be very important if you could set the hot water setpoint temperature.

would be really great if this would be integrated.

Can not integrated my BRP069A78

Good evening, I have a problem with the integration of my BRP069a78. i tried this project, both from hacs and by copying the folder in custom components. When I try to add this integration I get this message: "Questa integrazione non supporta la configurazione tramite l'interfaccia utente. Se hai seguito questo link dal sito Web di Home Assistant, assicurati di avere l'ultima versione di Home Assistant.". Usando google translate: "Questa integrazione non supporta la configurazione tramite l'interfaccia utente. Se hai seguito questo link dal sito Web di Home Assistant, assicurati di avere l'ultima versione di Home Assistant."
When I had home assistant version 2022.6.7 the integration was fine. can you help me?

Altherma Yearly Heat Energy Consuption not present

Hello
i have problem to get Yearly statistics from Altherma 3.
Direct on device display it is visible. But in Daikin residental application and HA is still 0.
For Tank it is available.

Do you know help?
Thank You

image

Failed to retrieve access token set

Hi,

When entering the user/pass from 'Integration' I get

image

...and this in the log:

 Logger: custom_components.daikin_residential_altherma.config_flow
Source: custom_components/daikin_residential_altherma/config_flow.py:59
Integration: daikin_residential_altherma (documentation, issues)
First occurred: 6:49:48 PM (2 occurrences)
Last logged: 6:58:39 PM
Failed to retrieve Access Token: ('Login failed: %s', Exception('Unknown Login error: Login Failed Captcha Required'))

Seems they now require Captcha???

COP/SCOP calculation

Thanks for the adaptation for Atlherma 3 device!
I confirm it works.

Checking the response json from Daikin it seems that they are not sharing/sending produced energy data. I suppose without it it's impossible to auto calculate anything? Interestingly it's available and stored on device but Daikin is not interested themselves to see how their devices perform in different conditions....

Cannot start after upgrade to 2022.7

After upgrading to 2022.7 I've gotten the following error:

Setup failed for custom integration daikin_residential_altherma: Unable to import component: cannot import name 'Mapping' from 'collections'

Am I the only one with this error?

Althermal heating turing on and off status delay

Hello, i have an issue with turning on and off and also the temperature control i noticed that there is a delay of fetching the current status, for example when i turn on the heating it takes around 1 minute to take affect in home assistant while when i turn on the heating from home assistant i can see immediately without delay the change in daikin application, so i assume that there is an issue with fetching the current status (delay) I have attached a video with the issue

SVID_20221101_212958_1_compressed.mp4

"Invalid Add-on repository!"

Trying to add repository to HACS I get "invalid add-on repository"...maybe is missing something required in new versions?

This is my installation:
Home Assistant Core 2022.6.7
Home Assistant Supervisor 2022.05.3
Home Assistant OS 8.2

Thank you!
Matteo

Export hot water tank heatupMode

                "heatupMode": {
                    "requiresReboot": false,
                    "settable": false,
                    "value": "reheatOnly",
                    "values": [
                        "reheatOnly",
                        "reheatSchedule",
                        "scheduleOnly"
                    ]
                },

Problem not see devices of entiteiten

hello I have this installed but I can also log in with my cloud login and the integration is added in home assistant only he does not see any devices what could I have done wrong?
9C0B3F50-9A96-41B2-BFBE-DCF4C634DAD2
6C1CDFBF-CC29-49F8-B43D-4AFF9F2916BF
991EEDD2-7B5D-4F47-860C-07884A8DC1BF

Only few entities shown for Altherma 3 and BRP069A78

Trying to get our Altherma 3 heat pump with BRP069A78 wifi module connected to home assistant. This integration does show the alterma 3 within home-assistant but it only shows whether boost is enabled, the acs state and once 30C.

In addition to the alterma 3 we do have 4 wifi units, they are all visible within the Daikin Residential Controller, could this be a problem?

daikin_data.json.txt

Daikin airco

55D7344E-E3D5-43ED-8815-07FB27A077E0
Hi I don't know if this is right place
but is for the daikin air conditioning with wifi module see image also an integration or link for i can't find anywhere on github for install on hacs

energy dasboard

Hello
my question is not direct about this addon but has consequences.
Do You use energy dasboard for count consuption of daikin heat pump?I have problem that data in energy dont correspond with data from daikin sensors and the price is not counted correct.
Have You similiar expirience?Or do you know how to tune it to be ok? Thanks for help.

Export hot water tank status flags

the hot water tank has various status flags

                "isHolidayModeActive": {
                    "requiresReboot": false,
                    "settable": false,
                    "value": false
                },
                "isInEmergencyState": {
                    "requiresReboot": false,
                    "settable": false,
                    "value": false
                },
                "isInErrorState": {
                    "requiresReboot": false,
                    "settable": false,
                    "value": false
                },
                "isInInstallerState": {
                    "requiresReboot": false,
                    "settable": false,
                    "value": false
                },
                "isInWarningState": {
                    "requiresReboot": false,
                    "settable": false,
                    "value": false
                },
                "isPowerfulModeActive": {
                    "requiresReboot": false,
                    "settable": false,
                    "value": false
                },

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.