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

🚀 Exciting News: Announcing Daikin Europe Developer Portal! 🚀 #182

Closed
Daikin-Europe opened this issue Nov 20, 2023 · 170 comments
Closed

Comments

@Daikin-Europe
Copy link

Dear Developers and Tech Enthusiasts,

We are thrilled to announce the new Daikin Europe Developer Portal. This platform is dedicated to empowering developers like you to unlock the full potential of Daikin air2air and air2water heat pumps, fostering innovation in the world of climate control.

🌐 What is the Developer Portal?

Our Developer Portal is your gateway to a world of endless possibilities with Daikin products.
Whether you're an experienced developer, a company exploring opportunities or just starting your coding journey, this platform is your ultimate resource for building and integrating with our technologies.
It's a one-stop destination for all things development-related, offering documentation and resources to supercharge your projects.

🛠️ Key Features?

📚 Comprehensive Documentation: Access documentation that provide a deep dive into our APIs, ensuring you have everything you need to get started and excel with your integration.

🚀 Interactive API Explorer: Experiment with our APIs in real time using our interactive API explorer, making the integration process smooth and intuitive.

🔌 Easy integration: Integrate directly onto the Onecta ecosystem with your own units to develop or test your integration. No special hardware required!

🔑 Rate Limitation: To continue offering the Onecta API for free to all our customers a default rate limitation will be implemented.

💼 B2B Business Case Validation: Explore hassle free if your companies business case works together with the Daikin APIs. Get in contact with us when you want to become a partner.

🚧 What's Next?

This is just the beginning! We're committing to expand and enhance our Developer Portal, with new features and resources in the future.
Your feedback and suggestions will be invaluable as we evolve the portal to meet the needs of our customers.

🔧 What changes can already be prepared from your application?
Make your current application compatible with the upcoming rate-limitation of 150 calls/day. This will allow everyone to query at least every 15 minutes for temperature changes in their home of all their devices. Temperature variation in the home is often not so fast that a faster update rate is required.

🌟 Ready to Get Started?

We're targeting beginning 2024 for the first access to the Daikin Europe Developer Portal. With later in Q1-2024 the release of self service within the developer portal.
Get ready to innovate, build, and make a lasting impact with our Developer Portal. We can't wait to see the incredible solutions you'll create!

Stay tuned for more !

Daikin Europe

@jwillemsen
Copy link
Contributor

Great news @Daikin-Europe ! Hopefully there will be much more information available from the Daikin devices, especially from the Altherma 3 device I would like to see much more details!

@rospogrigio
Copy link
Owner

Thank you @Daikin-Europe . I have created a new PR #183 that reduces the polling time to every 15 minutes, as you suggested, for everybody to try.
A couple of questions: is there (or will be in the future) the possibility to send commands locally in the LAN instead of passing through the cloud? Many users (including myself) have been asking for this. Thank you for letting us know.

@jwillemsen
Copy link
Contributor

A rate limit of 150 calls is enough for an AC unit, but not for an Altherma, those change much faster, would love to see a higher rate there

@VolkerH
Copy link

VolkerH commented Nov 20, 2023

As @rospogrigio said, implement local network access!
Rate limiting is a no-go if you don't provide it.
I bought and my airconditioning systems specifically because they can be controlled via Wifi. This was listed as a feature of the device when i bought it (not as an optional service), you can't take it away after I paid for it.
I use Home Assitant together with Zigbee sensors to implement my own thermostats. This is for 5 devices. If querying and setting a state is one API access each, that already requires 10 calls for 5 devices.
I don't see why there should be any limit at all.

P.S. I will send some feedback to my installer. Until this is fixed I will not recommend this product to anyone. Good hardware, but if you decide to cripple it ...
P.P.S: I also don't see why you should have access to our data

@jwillemsen
Copy link
Contributor

jwillemsen commented Nov 22, 2023

For the Altherma there is a separate HA integration, at some point I want to extend that integration also with support for the AC devices, see https://github.com/jwillemsen/daikin_residential_altherma

@Apollon77
Copy link

@Daikin-Europe Cool, good news, keep us updated. But basically I agree to the discussed topics above about rate limits vs local access.

@barryvdh
Copy link

1 update per 15 minutes seems a bit low ..? My AC goes from 18 to 23 degrees in 15 minutes (small room)..

I can understand limiting to 1 call a minute (instead of 15 seconds) or 150 change operations/day (setting temp/hvac mode), but it's also about showing the actual state in Home Assistant (current/target temperate, hvac mode, on/off), so 15 minutes seems a long time to reflect the current state on your dashboards, which means the dashboard is not really useful.

Thanks for the Developer API though, just hope it doesn't cripple the HA integration, instead of making it better..

@VolkerH
Copy link

VolkerH commented Nov 23, 2023

To elaborate on my earlier comment. Maybe I am jumping the gun here, but this announcement seems like a crass form of corporate language to me. DAIKIN describing a serious deterioration in thier product as a great new feature for developers. Maybe my concern is unfounded, but there are recent examples of other companies ... this is called enshittification https://doctorow.medium.com/the-enshittification-of-garage-door-openers-reveals-a-vast-and-deadly-rot-eed85da5b0ba

As for the corporate speak: you are not making sure you are able to continue this free service. This is not a free service. As customers, we already paid for this feature, so it is not free. I paid for a device, I didn't subscribe to a service. In my case, I paid a 5 digit EUR sum for DAIKIN devices.

There is no technical reason for denying local access. This is proven by my Comfora unit with the older WIFI modules (if I had known I would only have installed the cheaper Comfora units and not the more expensive, newer units). Local access works well, no cloud needed (so no cost for DAIKIN to run servers for a "free" cloud service most customers don't want). The only reason to make cloud mandatory is to grab data and lock us into using their apps. The B2B stuff in combination with the rate limiting suggests to me that any access with more than 15 min interval access will either be through Onecta or some subscription based model. So, we're being dis-owned of our devices for which we paid! I would hope DAIKINs business model is about selling good hardware, not about dealing/collecting in data and selling subscriptions to their API. I would love it if @Daikin-Europe proves my suspicions wrong and enables local access.

Since my last comment, I found this https://github.com/revk/ESP32-Faikin and ordered several of the pre-assembled PCBs. I fear this will be the only way to truely own the DAIKIN devices that I paid for. But again, please prove me wrong @Daikin-Europe .

To all the others who left ❤️ emojis, please re-read the announcement carefully, with the garage door enshittification in mind and your translator for corporate speak turned to "on". There needs to be massive push-back against @Daikin-Europe disowning its customers.

@rospogrigio
Copy link
Owner

Yes @VolkerH , I see a common trend with several other IOT vendors about this, that set up everything to be cloud-oriented, and then they realize how high is the cost for them to maintain the cloud connection, and consequently start cutting off the service. My Xiaomi vacuum cleaner, for example, now no longer shows the real time map if you make too many requests, and so we users needed so setup a hack within HA in order to reduce the calls and stay within the rate limitation. I really don't understand this approach, as you say local access is faster and more secure. Cloud connection is nice to have as an add-on, but shouldn't be the only way to interact with the device on the network. Just my 2 cents, let's wait and check wheter @Daikin-Europe want to reply something.

@rgerhards
Copy link

I guess @Daikin-Europe will never reply here. Just dropped the "bad news PR".

BTW: the same also happened to the VW API for their electric cars. And there even is an annual subscription fee for "connected services".

I am/was thinking about purchasing an Altherma. I am now reconsidering. Albeit is is becoming really hard to own any hardware I paid for. General trend.

@andreas-bulling
Copy link

Yes @VolkerH , I see a common trend with several other IOT vendors about this, that set up everything to be cloud-oriented, and then they realize how high is the cost for them to maintain the cloud connection, and consequently start cutting off the service. My Xiaomi vacuum cleaner, for example, now no longer shows the real time map if you make too many requests, and so we users needed so setup a hack within HA in order to reduce the calls and stay within the rate limitation. I really don't understand this approach, as you say local access is faster and more secure. Cloud connection is nice to have as an add-on, but shouldn't be the only way to interact with the device on the network. Just my 2 cents, let's wait and check wheter @Daikin-Europe want to reply something.

The only solution to all of these issues is to go with an alternative (open source) firmware, e.g. Faikin for Daikin ACs and valetudo for vacuum cleaners. Leave their cloud and never look back. Maybe this will make them sane again once enough customers stop using/buying their products.

@pjgoodall
Copy link

No Faikin for FTXM71WVMA with wifi controller BRP084C44. Restricting API call frequency to 15m shows that the whole ‘cloud only’ drive was marketing not engineering or customer based at Daikin. Marketing people should only be in meetings at a ratio of 1 in 5. There should never be rooms with only marketing people in them.
So how does the cloud-centric control go when Optus falls flat during a 40c heatwave?

@Apollon77
Copy link

The more interesting question from my perspective is how that should work withthe Onecta App? All the non tech users will use the app whenever they want and expect current data ... So the App-API will then maybe not have such rate limits (because honestly else normal users will make big noise) , but an "open API" will have? This also makes not that much sense ...

@rospogrigio
Copy link
Owner

The more interesting question from my perspective is how that should work withthe Onecta App? All the non tech users will use the app whenever they want and expect current data ... So the App-API will then maybe not have such rate limits (because honestly else normal users will make big noise) , but an "open API" will have? This also makes not that much sense ...

I believe the app will be allowed to perform more frequent polling, or possibly it would update -let's say- every 5 minutes and I highly doubt that anyone would notice. Still would be nice from @Daikin-Europe to have some answers to all the questions asked in the thread so far... but they just threw the stone and hid their hand, as we say in Italy 😉

@RadianM
Copy link

RadianM commented Dec 16, 2023

If polling for dashboard status updates is rate-limited to the imposed maximum of 150 calls/day, that doesn't seem to leave sufficient 'bandwidth' for actual commands? I want to use automations to operate the A/C under my own scheduling and these additional calls would be on top of those performing the 15m polling. And how does this all work out when multiple A/C units are being polled?

@rospogrigio
Copy link
Owner

If all the units are connected to the same account, with each polling you get the data from all the units so don't worry for this. But you do are right when you say that each command you send is a call that goes on top of the polling commands.

@RadianM
Copy link

RadianM commented Dec 17, 2023

each command you send is a call that goes on top of the polling commands

In which case it would definitely appear that we need a way of setting the polling rate as has been suggested. Personally I think I will be removing the cards from the dashboard as such stale information is offensive.

I also wonder if the 'too frequent' polling is what is affecting my use of the Onecta app to control the A/Cs? I don't know if it's a general thing but the response time is lousy when using the app - very often a new setting does nothing and then shortly after the displayed new setting reverts to how the device was. A frequent culprit is "Powerful mode" which needs several goes at selecting it before it engages.

@rgerhards
Copy link

I also wonder if the 'too frequent' polling is what is affecting my use of the Onecta app to control the A/Cs? I don't know if it's a general thing but the response time is lousy when using the app - very often a new setting does nothing and then shortly after the displayed new setting reverts to how the device was. A frequent culprit is "Powerful mode" which needs several goes at selecting it before it engages.

I noticed that problem as well. I "fixed" it by increasing the polling time to 90 seconds inside the current code. I think the value is definined in init.

@RadianM
Copy link

RadianM commented Dec 18, 2023

I noticed that problem as well. I "fixed" it by increasing the polling time to 90 seconds inside the current code. I think the value is definined in init.

So this lends support to having a user-adjustable polling time. At the moment, this integration would appear to be interfering with my domestic heating system.

Can you be a bit more specific about the whereabouts of the polling time you made an edit to? I searched the repo but could only find TIMEOUT = 60 in custom_components/daikin_residential/const.py
or maybe this is it in__init__.py: MIN_TIME_BETWEEN_UPDATES = datetime.timedelta(seconds=15)

@shermozle
Copy link

The rate limits seem substantially low, and if this is a problem removing local API access seems like you're intentionally removing a great number of use cases. Let me explain my use case (via Home Assistant):

  • Every minute, my solar power inverter tells me how much power was generated vs consumed
  • If I have >1,000W of energy being exported, I set the thermostat 4º lower than the target
  • If I have <1,000W of energy being exported, I set the thermostat to the target

This means I can pre-chill my house while the sun is shining to give us good comfort with no or low energy usage in the evening, while accounting for variable solar input and variable other loads. When the dishwasher is running its heater, the air con temperature is allowed to warm up a bit.

@cypherbits
Copy link

Does these rate limits mean that someone can start the AC from Onecta or IR and Home Assistant will only know after 15 minutes?

That is shit @Daikin-Europe .

Where is the local control we wanted for months that do not suppose a cost for your cloud?

@jwillemsen
Copy link
Contributor

I have to come back on my previous comment, a rate of 1 times per minute still looks slow when the AC is controlled through onecta and monitored through HA, a rate of 1 times per 10 minutes is really too slow

@RadianM
Copy link

RadianM commented Jan 4, 2024

IMO It's all a bit of an unpleasant mess now. I suspect the choice of rate limiting to 50/day has been set by them to cover half-hourly dynamic energy pricing. It's not been chosen with a view to real time monitoring but for slow 'smart grid' applications. Ultimately this is my goal so I can live without the 'nice to have' dashboard integration. But I'll be sad to have to remove it. And it definitely rules out fine-grained adaptive solar PV integration.

My family wouldn't appreciate losing control using the Onecta app on their smartphones - otherwise the brilliant Faikin would be my go-to solution.

I currently have polling from HA set to every 5 minutes and it's still getting the 288 calls a day through OK. The Onecta app is still a bit laggy but I don't feel it's any worse than before I started using this integration.

@barryvdh
Copy link

barryvdh commented Jan 4, 2024

My family wouldn't appreciate losing control using the Onecta app on their smartphones - otherwise the brilliant Faikin would be my go-to solution.

Depending of the availability of the S21 port, I think you can use both? Eg. the Perfera has built-in Wifi for Onecta, so adding Faikin would allow both Onecta and direct Faikin control I think?

@RadianM
Copy link

RadianM commented Jan 4, 2024

Depending of the availability of the S21 port, I think you can use both?

Possibly, - I know there's a modbus adaptor available for most indoor units and I had the impression both could co-exist.

@Gtwizzy
Copy link

Gtwizzy commented Jan 12, 2024

Is there any updated release ETA on this yet?

@eskey0
Copy link

eskey0 commented Jan 17, 2024

Commenting just to note that, while is honourable that Daikin is trying to acommodate some "extreme cases", as others already said that feels way underwhelming.
Just for reference, I have my units at home, I do have a HA at home, today they have a downtime from 8am to 4pm (or something like that, don't quote me), while that downtime I CANNOT control my units.

I am sorry this is not acceptable, sadly after expending a good amount of money for the WIFI module, I see myself looking for fakin and the likes.

@pjgoodall
Copy link

pjgoodall commented Apr 24, 2024 via email

@Ing-Dom
Copy link

Ing-Dom commented Apr 29, 2024

what morons.
Party their new API while making it useless with that rate limit. Oh its about cost?
THEN WHY YOU FORCE US TO USE YOUR FUCKIN CLOUD SHIT ?
Bought Diakin ONLY because of that local api, only to find out (after installed) that it was gone..

@Daikin-Europe
Copy link
Author

Dear Open-Source Community,

We want to announce a new feature to our developer portal: the launch of self-service functionality.
Here's what you can do:

  1. Create Your Application: Gain access to your own client ID and client secret credentials by creating your application. You can customize your app with a unique name, description, and redirect URI to suit your needs.
  2. Update App Specifications: Easily modify your app's specifications as your project evolves. Whether it's tweaking the description or updating the redirect URI, you have the flexibility to make changes as necessary.
  3. Delete Your App: Need to start fresh or no longer using an application? Simply delete it from your account with ease.

Integrations that were using the temporary client ID emU20GdJDiiUxI_HnFGz69dD will keep functioning till End of August before we revoke these credentials. Please create you own application and migrate on time to avoid any impact on your current integration.

Ready to get started? Head over to our Developer Portal to explore this new feature.

@WegnerDan
Copy link

Does the self service client id have any implication on the rate limiting?

And no word about local api access...

@tetele
Copy link

tetele commented May 6, 2024

@Daikin-Europe lovely to see you address all concerns expressed in this thread. You can peacefully close the issue now. 🤦‍♂️

@wittimagic
Copy link

Tell your friends and everyone you know about this.
Advise them not to buy Daikin, point them to home automation and user friendly alternatives instead.

This is the only way to make them listening.

@WegnerDan
Copy link

Advise them not to buy Daikin, point them to home automation and user friendly alternatives instead.

Do you have any suggestions for air conditioners that fit that criteria? As far as I know there aren't any

@Hexadecimalism
Copy link

I paid thousands for 5 units and their installation, only to have features I paid for taken away. This is absolutely insufferable.

@wittimagic
Copy link

Advise them not to buy Daikin, point them to home automation and user friendly alternatives instead.

Do you have any suggestions for air conditioners that fit that criteria? As far as I know there aren't any

Panasonic:
https://github.com/sockless-coding/panasonic_cc

Or Midea Group brands (Hualing, Senville, Klimaire, AirCon, Century, Pridiom, Thermocore, Comfee, Alpine Home Air, Artel, Beko, Electrolux, Galactic, Idea, Inventor, Kaisai, Mitsui, Mr. Cool, Neoclima, Olimpia Splendid, Pioneer, QLIMA, Rotenso, Royal Clima, Qzen, Toshiba, Carrier, Goodman, Friedrich, Samsung, Kenmore, Trane, Lennox, LG and much more):
https://github.com/mac-zhou/midea-ac-py

@jwillemsen
Copy link
Contributor

I tried to create an application and setup the daikin_onecta integration using a new client id/secret, but it failed, am I the only one, or more people having the same issue?

@jwillemsen
Copy link
Contributor

Got it to work with daikin_onecta after a restart, will make a new release with an updated readme.

@Frits1980
Copy link

It's funny. I'm in the market for a rather big AC system. But this is a big red flag. The way Daikin is toying around with it's customers is terrible. It's also killing innovation. The airconditioning market is in my opinion very conservative. Daikin just proved that by doing something other players in other markets did 10 years ago and paid the price for. I hope they wake up soon. But it will be too late for my system.

@trungbtsb60687
Copy link

onecta app discovered my daikin unit, but refused to connect. Its said the thailand region is not supported.
Is there a way to switch daikin wifi adapter to EU region?
z5721419144941_8219b98319a7157e748de0f503880e45
z5721419182989_1d9b3d189ea4e96a1fdb5b2895c9ef8c
Thai region is supposed to go with daikin mobile controller app, but only onecta app can integrate with home assistant, isn't it.

@Apollon77
Copy link

I think you should contact Daikin for this question. We can not tell more

@carlosamus123
Copy link

Guys I also agree the rate limit of 200 a day is crazy low! I have come up with a work around while is not ideal.. it may allow you to do fine level controls without using up your rate limits, which will allow a more frequent polling interval as you will be splitting up 'controls' and 'data' essentially.

Hear me out.. Alexa skill.. doesnt count towards your API calls.. link the onecta account to alexa

ensure you can turn your heating on/off as well as your water heater etc

now create home assistant booleans in this example I will use
'ALEXA_HOTWATER', ALEXA_HOTWATER_PERFORMANCE, and ALEXA_HEATING

these 3 can be exposed to Alexa.

Once they are in alexa and the actions to turn them off and on,results in them turning on and off in both alexa and HA

now you can create multiple automations, one for when they turn on, and one for when they turn off

for example if the 'ALEXA_HOTWATER' is turned on in HA ( by an automation etc) then the action for alexa is to turn on the Onecta (linked) water heater and so on

the delay is at most 3-5 seconds

Again its not perfect but losing the ability to control your devices due to the rate limit is less ideal!

I hope I helped even just 1 person because i'm very happy with the outcome :)

@RadianM
Copy link

RadianM commented Oct 13, 2024

I'm desperately trying to 'get on board' with the new Onecta regime (i.e. learn to live with highly restrictive usage limits) but everything about Daikin's design seems to get in the way. Because I have Agile Octopus energy tariff, I need to be able to turn down (during expensive energy pricing periods), or turn up the A/C (during very cheap or even negative pricing periods).

With Agile pricing, there are 48 half-hourly slots and I thought the most efficient way to do this would be to set up the three available schedules (think: cheap, medium, expensive) with appropriate temperature, fan speed, energy saving etc. parameters in the Onecta app. Then my HA automation can switch between schedules in one action at the appropriate pricing thresholds.

Except, when switching schedules, no change in state is effected by the A/C until the next timed change in the schedule occurs. I had assumed the unit would say 'oh, a change of schedule - what should I be doing right now in this new schedule?) - but no, the Onecta app spells it out - "Next scheduled action..." showing some future time and state.

The only way this might be made to work is to put 48 entries in each schedule - but even then, there's likely going to be a half-hour lag in responding. Anyone facing a similar challenge?

@carlosamus123
Copy link

I am pretty sure the command to change a device settings is instant or at least should be. do you mean it does listen to your command but Home assistant wont show changes that fast?

I created an automation that refreshes the entity/device here is the code

action: homeassistant.update_entity
data:
entity_id:
- water_heater.altherma
- climate.altherma_room_temperature

and it will instantly update those entities ( it will use one of your 200 requests)

@RadianM
Copy link

RadianM commented Oct 15, 2024

do you mean it does listen to your command but Home assistant wont show changes that fast?

No, the command to switch schedules is issued and received instantly. The delay is that the Daikin units, while acknowledging the change in schedule, only obey the new schedule at the next scheduled change in the equipment's settings.

I had rather hoped the units would say to themselves 'I've just been switched to a new schedule... what should I be doing right now' rather than 'OK, my schedule just changed... I'll stay exactly the way I am now and defer changes to my settings until the next timed event'.

@carlosamus123
Copy link

carlosamus123 commented Oct 15, 2024 via email

@RadianM
Copy link

RadianM commented Oct 15, 2024

OK, but the regular scheduling needs to be switched off for cheap/expensive price slots to prevent it overriding the changes. Then I guess the appropriate forced temperature/fan/economy setting for these conditions will have to be made. But then when the pricing lands between the upper and lower limits once again, I hope turning back on the normal schedule will make it change to the appropriate settings for that particular time - but I doubt it will (I can't test this at the moment it doesn't) but if it doesn't, explicitly setting the parameters and duplicating them for each half hour slot is not even going to guarantee it makes the change on time.

I think the only practical way I can cater for the (rather complicated) normal schedule is to go beyond the simple UI automation setup and do something with pyscript. And then I might as well include the two extreme cases in that script. All this would be unnecessary if the schedule switchover was slightly more intelligent.

@carlosamus123
Copy link

carlosamus123 commented Oct 15, 2024 via email

@GiedriusN1
Copy link

Hi, what is the best way to acces Daikin unit by LAN ?

@carl-hussain-bloom
Copy link

I looked into it and someth9ling called Faikin. But it's very involved. I would suggest ypu get a powerline adapter that gives wifi. And use that wherever your daikin is and connect to that. This will ensure a strong connection. The amount of data it sends is minimal really so the wifi in the same room will sort it

@GiedriusN1
Copy link

I looked into it and someth9ling called Faikin. But it's very involved. I would suggest ypu get a powerline adapter that gives wifi. And use that wherever your daikin is and connect to that. This will ensure a strong connection. The amount of data it sends is minimal really so the wifi in the same room will sort it

We dont have wifi for security reasons ...

@Webreaper
Copy link

We dont have wifi for security reasons ...

Okay, I'll bite. What possible security reasons could there be to not have WiFi?

@carl-hussain-bloom
Copy link

Yes I am confused too. If you setup wpa3 it will be pretty secure. And even if not secure what is so sensitive that you can't risk it being accessed? Any IOT device can be used to hack your network if someone really wanted to. If you are online you are not safe. The only reason you are not compromised is because people don't know if you have anything of value :)

@GiedriusN1
Copy link

We dont have wifi for security reasons ...

Okay, I'll bite. What possible security reasons could there be to not have WiFi?

Wifi can be accessed from outside and hacked.

@Apollon77
Copy link

Apollon77 commented Oct 20, 2024

Come on guys, please lets stay on topic ...
The whole topic here is about the Wifi interfaces of the Daikin devices. If Wifi is no option then the topic is wrong here.

@Webreaper
Copy link

This thread hasn't been on topic for months. It's just become a general dumping ground of issues and questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests