Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue]: Missing data with new cloud API #46

Open
jwillemsen opened this issue Feb 21, 2024 · 59 comments
Open

[Issue]: Missing data with new cloud API #46

jwillemsen opened this issue Feb 21, 2024 · 59 comments
Labels
waiting on daikin Waiting on Daikin for a necessary change/fix

Comments

@jwillemsen
Copy link
Owner

jwillemsen commented Feb 21, 2024

A quick comparison between the old and new cloud API shows less sensors in HA:

  1. streamer mode
  2. econo mode
  3. delta D
  4. dry keep setting
  5. fan motor rotation speed
  6. heat exchanger temperature
  7. suction temperature
  8. Wifi diagnostics
  9. fanControl floorHeatingAirflow,
  10. demand control
  11. gateway serial number
  12. eco mode (supported by D2CND Gas boiler)
  13. Outdoor Silent
  14. Intelligent Eye
  15. hvac action (is the device currently heating, cooling, or idle)
  16. debiet

The following sensors are provided by Daikin but aren't exposed as separate sensors to HA anymore, use the climate and water heater entities, see https://www.home-assistant.io/integrations/climate and https://www.home-assistant.io/integrations/water_heater

  1. On/Off
  2. Powerful
  3. OperationMode

The following issues are known:

  1. Powerful mode doesn't work with BRP069Cx devices, should be fixed with 1.31.0 firmware

We would like to also see the following data to be exported:

  1. Data to calculate the COP
  2. Schedule names as shown in the Onecta app, currently schedule ids are exported and name is empty
  3. Thermal output (provided in the Onecta app for newer DX units)
  4. Internal sensors like flow rate, pressure, and others which are shown on the internal screen of the Alterma

The following issues are found in the Daikin documentation

  1. No documentation for humidification operation mode
  2. Flags as documented as part of the user interface are not matching the json
  3. Some calls return a 422 (holidaymode for example) which is not documented
  4. The possible units are not documented

The following limitations in HA are related

  1. No humidity hvac mode as part of the climate entity (see climate: support for humidification devices home-assistant/architecture#288)

The following features would be helpful

  1. Push model where Daikin pushes device changes to HA instead of having to poll
@jwillemsen jwillemsen added the waiting on daikin Waiting on Daikin for a necessary change/fix label Feb 21, 2024
@hmaki
Copy link

hmaki commented Feb 23, 2024

  1. demand control

@kimme1024
Copy link

Does that mean you can’t turn it on/off anymore when for example a window is opened? That’s one of the main features I’m using it for.

@jwillemsen
Copy link
Owner Author

Does that mean you can’t turn it on/off anymore when for example a window is opened? That’s one of the main features I’m using it for.

That is still possible, but through the climate entity, I added a link to that. Before there was a separate onOffMode but that broke the caching in some use cases

@AbeltjeNL
Copy link

I added the new integration as described but there are no devices synced back to HA. Am I missing something?

@jwillemsen
Copy link
Owner Author

I added the new integration as described but there are no devices synced back to HA. Am I missing something?

Please open a new issue and attach your log and the integration diagnostics (see readme)

@jwillemsen
Copy link
Owner Author

At the moment demand control is exported again by Daikin the DaikinDemandSelect class needs to be updated to work with the coordinator

@OcinO88
Copy link

OcinO88 commented Mar 16, 2024

First of all: Thanks for all your great work! I'm glad I can re-add daikin to HA again. Now to get all my automations working again.
Do you happen to know when the ECO setting will be available again?

@jwillemsen
Copy link
Owner Author

Please contact Daikin for ECO mode, they currently don’t provide it with the new API

@Webreaper
Copy link

Webreaper commented Mar 17, 2024

I don't know if it's ever been available, even in the old integration, but if there's any way to get the system pressure (in bar) out of the API, now or in the future, it would be handy for setting up an automation to alert me when I need to clamber up in the loft and bleed the buffer tank. :)

Thanks for the new integration though - it was great to find it when my Altherma graphs started flatlining in HA yesterday!

@jwillemsen
Copy link
Owner Author

I don't know if it's ever been available, even in the old integration, but if there's any way to get the system pressure (in bar) out of the API, now or in the future, it would be handy for setting up an automation to alert me when I need to clamber up in the loft and bleed the buffer tank. :)

Thanks for the new integration though - it was great to find it when my Altherma graphs started flatlining in HA yesterday!

That data is not exported by Daikin to the cloud, see the integration diagnostics for the raw data we retrieve from Daikin. For the Altherma Daikin announced the home hub, see https://www.daikin.eu/en_us/products/product.html/EKRHH.html which should provide more data.

@1mfaasj
Copy link

1mfaasj commented Apr 5, 2024

Hi
I just switched to this daikin integration in HA and notice that the 'firmware update' sensor is missing.
Maybe you could add this one to the list above.

It's mentioned here:
https://developer.cloud.daikineurope.com/docs/b0dffcaa-7b51-428a-bdff-a7c8a64195c0/supported_features
Look at the "User interface info" tab and then "firmwareUpdate"
The desciption of firmwareUpdate is: "This specifies if a new firmware version is available. Three types are available:..."

It would be great if I could see any available updates in HA. At this moment I don't get notified in anyway.

Note; I see the sensor "Gateway Is Firmware Update Supported" but thats something else.

@jwillemsen
Copy link
Owner Author

Hi I just switched to this daikin integration in HA and notices that the 'update' sensor is missing. Maybe you could add this one to the list above.

It's mentioned here: https://developer.cloud.daikineurope.com/docs/b0dffcaa-7b51-428a-bdff-a7c8a64195c0/supported_features Look at the "User interface info" tab and then "firmwareUpdate" The desciption of firmwareUpdate is: "This specifies if a new firmware version is available. Three types are available:..."

It would be great if I could see any available updates in HA. At this moment I don't get notified in anyway.

Note; I see the sensor "Gateway Is Firmware Update Supported" but thats something else.

The Daikin documentation is not matching with the real data we get, already reported that directly to Daikin but no response yet

@jrodan
Copy link

jrodan commented Apr 5, 2024

Regarding the demand control: is there already an integration? Having a look at the device info, I can not see anything demand control related. Thanks!

@jwillemsen
Copy link
Owner Author

Daikin removed demand control in the new api, it was there in the old one. Maybe you can send daikin an email and ask them to add it

@jwillemsen
Copy link
Owner Author

jwillemsen commented Apr 19, 2024

Read on tweakers someone who sees power power produced in the onecta app for AC units. I don't see it, but when looking at my data json I found new consumptionDataTimeSeries data, opened an issue for it, see #167. When someone sees power produced in the onecta app, please attach your integration diagnostics here with a screenshot of the onecta app so that I can try to relate the data between the two

@jwillemsen
Copy link
Owner Author

Newer DX units will have thermal output in the onecta app, but that data is not available to 3rd party applications. When you have a newer DX unit which does show thermal output in the onecta app please contact Daikin to ask them to make the underlying data available to 3rd party integrations.

@jwillemsen
Copy link
Owner Author

The consumptionDataTimeSeries was internal Daikin data and will be removed from the provided data soon, closed #167

@dahadd
Copy link

dahadd commented Jun 18, 2024

demand Control is still Missing?

@jwillemsen
Copy link
Owner Author

demand Control is still Missing?

Yes, still missing.

@SteffenM-DE
Copy link

Streamer switching ist still missing too? With the old integration I have a entity like this switch.daikin_ac_schlafzimmer_climatecontrol_streamer_mode

@jwillemsen
Copy link
Owner Author

Streamer switching ist still missing too? With the old integration I have a entity like this switch.daikin_ac_schlafzimmer_climatecontrol_streamer_mode

Yes, still missing, please contact Daikin to ask them to add this feature back again. At the moment they provide it a reload of the daikin_onecta integration should add it back again to HA

@macekkrystof
Copy link

macekkrystof commented Aug 22, 2024

Did anyone contact Daikin about Demand Control? Any response from them? I'm really sad I used demand control in my HA automations to regulate power of my air to air units based on outside temperature. I was able to significantly lower heating costs and make heating much more smooth.

@jwillemsen
Copy link
Owner Author

Did anyone contact Daikin about Demand Control? Any response from them? I'm really sad I used demand control in my HA automations to regulate power of my air to air units based on outside temperature. I was able to significantly lower heating costs and make heating much more smooth.

The more people complain the better, it are all business decisions and the more people ask for it the better

@Rayzbam
Copy link

Rayzbam commented Oct 7, 2024

Hi,

Do you have any update about the intelligent eye ?

@jwillemsen
Copy link
Owner Author

Do you have any update about the intelligent eye ?

I haven't seen any new data being exported by Daikin, please contact Daikin to let them know about your requirement.

@byte-for-byte
Copy link

Hi group,
as many of you, I am also missing several functions in the latest Daikin/ONECTA Cloud API.

However, I wonder if it is really beneficial if we all try to reach out to Daikin individually and ask for specific features. From their point of view it might feel pretty much like a flood of unstructured request, which probably will not get a high priority.
Would it maybe help if there was a single point of contact between Daikin and this great project here?
Is there a line of communication between the authors and Daikin? If not, could this be established?

@jwillemsen
Copy link
Owner Author

I am in contact with the Daikin developers, but they can't do much about this, as far as I know the device itself doesn't expose all data to the cloud, and the data removed compared to the old API are done because of business decisions. The only thing that could help is to complain to Daikin, the more people ask for a feature, the more likely it is added to the list of tasks for their developers.

@byte-for-byte
Copy link

byte-for-byte commented Oct 10, 2024

Hi, thanks for the quick reply. I agree on both points and will contact my local Daikin customer care dept.

UPDATE:
... which I did some weeks ago; the local customer support promised to send the request to the European Dev Dept and get back to me as soon as there is an answer.
That did not happen until now....

@Sonusss
Copy link

Sonusss commented Dec 18, 2024

Few month ago I created a ticket with my installer regarding lack of sensors through the API, but of course no feedback at all !
I personnally think that Daikin will never give full access to data and parameters from the API

For those (like me) who like to go further without waiting for Daikin good will...

I got all missing information I needed with this:
https://raomin.github.io/ESPAltherma/

I can process values to have instant and mean COP, etc...
( You can get data but not control )

image

@macekkrystof
Copy link

macekkrystof commented Dec 19, 2024

Hi guys, finally figured out how to control daikin ac demand control via homeassistant. It can be done via http request to your units.
just add this to Configurations.yaml and use it in automations :)
rest_command: daikin_set_demand_control: url: "http://{{ ip }}/aircon/set_demand_control?lpw=&en_demand=1&mode=0&type=1&max_pow={{ max_pow }}" method: GET content_type: "application/json"

Example from my automation

action: rest_command.daikin_set_demand_control metadata: {} data: ip: "{{ states('sensor.obyvak_gateway_ip_address_2') }}" max_pow: "{{ 40 }}"

@dahadd
Copy link

dahadd commented Dec 19, 2024

@macekkrystof
Which Controller? Local or cloud? Your solution sounds like a local Adapter.

@macekkrystof
Copy link

Which Controller? Local or cloud? Your solution sounds like a local Adapter.

Yes it is local solution. I use this daikin_onecta for everything else. But this local control is the only way to set demand_control :)

@dahadd
Copy link

dahadd commented Dec 19, 2024

@macekkrystof
Your system has only the Cloud Controller with Onecta?

@macekkrystof
Copy link

@dahadd Not sure if I understand your question. I have 2 daikin Stylish units which can be controller over cloud via onecta app or this github integration but local API works too. I just don't need to use it except for demand control :)

@dahadd
Copy link

dahadd commented Dec 19, 2024

@macekkrystof
I mean the Version of the WLAN Controller / gateway f.e. BRP069C4x

@macekkrystof
Copy link

@macekkrystof I mean the Version of the WLAN Controller / gateway f.e. BRP069C4x

In HA I can see BRP069B4x (dx23)
od Daikin
Firmware: 1.14.88

@dahadd
Copy link

dahadd commented Dec 19, 2024

BRP069B4x is/was a local adapter

@macekkrystof
Copy link

@dahadd and? It works with cloud Onecta app too

@dahadd
Copy link

dahadd commented Dec 19, 2024

BRP069C4x can not controlled with the local ip

@dahadd
Copy link

dahadd commented Dec 19, 2024

B4x local and cloud
C4x Cloud only

@macekkrystof
Copy link

B4x local and cloud C4x Cloud only

Yeah sorry, didn't read that code you wrote.

@dahadd
Copy link

dahadd commented Dec 19, 2024

The old controller could always be controlled via http

@byte-for-byte
Copy link

daikin makes me pretty unhappy... specifically b/c the API does not support setting eco mode....

btw: has anybody ever looked into using an ep8288/esp32, directly connected to the device, maybe controlling it by emulating the IR receiver, or similar?

@macekkrystof
Copy link

daikin makes me pretty unhappy... specifically b/c the API does not support setting eco mode....

btw: has anybody ever looked into using an ep8288/esp32, directly connected to the device, maybe controlling it by emulating the IR receiver, or similar?

@byte-for-byte look at this repo https://github.com/revk/ESP32-Faikin
I bought two of them but never installed. Since I can control everything I need with combination of cloud API and local control. I'd install them but haven't found place to buy right connector for my units to connect with ESP. It's listed in the repo but idk where to buy it and too lazy to make my own connector.

@OcinO88
Copy link

OcinO88 commented Dec 22, 2024

daikin makes me pretty unhappy... specifically b/c the API does not support setting eco mode....

btw: has anybody ever looked into using an ep8288/esp32, directly connected to the device, maybe controlling it by emulating the IR receiver, or similar?

Yes, I feel the same. I had to reduce the default polling time, because otherwise a couple of hours before the day was over, I couldn't control them anymore.

Setting Eco mode isn't possible anymore.

Controlling via local lan isn't possible, so when internet is down, they're uncontrollable.

I'm thinking about ordering the faikin modules for each of my airconditioning units, so everything can be controlled again, without limitations. It's dumb of them that moved to the cloud service for the current modules. I really wish I had one of the older ones.

@Sesshoumaru-sama
Copy link

Sesshoumaru-sama commented Dec 22, 2024

I want to know how much heat my heatpump actually claims to have outputed, but there seems to be no sensor for that. Can it be that such a fundamental information is missing from the API? Produced Heat (Heating/Hotwater)?

@jwillemsen
Copy link
Owner Author

jwillemsen commented Dec 23, 2024

I want to know how much heat my heatpump actually claims to have outputed, but there seems to be no sensor for that. Can it be that such a fundamental information is missing from the API? Produced Heat (Heating/Hotwater)?

There are no sensors for produced heat, so data is missing. Maybe #360 can help with the idea for a estimated Carnot COP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting on daikin Waiting on Daikin for a necessary change/fix
Projects
None yet
Development

No branches or pull requests