home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
69.74k stars 28.91k forks source link

Integration Daikin stopped working #111200

Open trvrcr opened 4 months ago

trvrcr commented 4 months ago

The problem

image

The integration cannot connect to the units anymore (stopped working on the 15th Febuary which does not coincide with an update. The units are still available in the onecta app of Daikin

image

What version of Home Assistant Core has the issue?

core-2024.2.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Daikin

Link to integration documentation on our website

https://www.home-assistant.io/integrations/daikin

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 4 months ago

Hey there @fredrike, mind taking a look at this issue as it has been labeled with an integration (daikin) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `daikin` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign daikin` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


daikin documentation daikin source (message by IssueLinks)

peedub commented 4 months ago

My unit with an older AP (BRP072A42) has stopped working recently but one with the newer version (BRP072C42) is still working fine. Have tried removing and not having any luck trying to add again.

trvrcr commented 4 months ago

For completeness mine are version (BRP069B4x)

007hacky007 commented 4 months ago

I had the same issue. It turned out to be due different IP assigned by the DHCP server. This integration depends on the static IPs of the Daikin controllers. Check whether the IP address of your Daikin controllers did not change over the time - and if it did, set bind it to the IP address it used before when it was working fine.

This fixed it for me. Unfortunately power consumption related entities disappeared. So there's been some change in the integration.

image
vanhoofseppe commented 4 months ago

I'm having the same issues. The IPs of the devices are still the same as configured in HA.

trvrcr commented 4 months ago

I can confirm the IP's have changed for some reason. I think the integration could be made better by utilizing the mac address as unique identifier. @fredrike Should I close the issue, or do you intend to change the way you identify the device.

trvrcr commented 4 months ago

For anyone interested in how to change the IP's of the device on HA to keep your Historic data:

https://community.home-assistant.io/t/wth-are-the-essential-configs-of-integrations-impossible-to-edit/220071

from markdavidoff Mark Jul '22

+1 on this. The ability to edit a device’s IP via the UI would be good.

I had an IP conflict, so I had to:

Install the SSH add on
Go to ~/config/.storage/
Edit (using nano) core.config_entries
Restart Home Assistant

I know the situation is rare, but having the ability to edit this in the UI would save a lot of time, or to get HA to re-detect IPs via MAC address if a device somehow goes offline. It could also report on possible IP conflicts in theory.

arievanderwende commented 4 months ago

The integration stopped working for me too, funny enough around the same date.

I've just configured DHCP to assign a static IP address to my Daikin AC, the same one as it had before, and the integration started working straight away again.

007hacky007 commented 4 months ago

@atyourservers @trvrcr guys, could you please check whether your Daikin power consumption related entities disappeared too?

Related issue: https://github.com/home-assistant/core/issues/111480

I've fixed my IPs as stated above, it fixed the integration, but the Daikin related power consumption entities are no longer present, which is quite a shame.

trvrcr commented 4 months ago

@atyourservers @trvrcr guys, could you please check whether your Daikin power consumption related entities disappeared too?

Related issue: #111480

I've fixed my IPs as stated above, it fixed the integration, but the Daikin related power consumption entities are no longer present, which is quite a shame.

The power consumption is not registered during the time the entity was not connected to HA. But before and after the connection was established the power consumption data is available

arievanderwende commented 4 months ago

@007hacky007, I assigned a static IP address via DHCP, restarted the WiFi module of the AC so that it would pick up the IP address, and everything started working again without having to do anything in HA. Power consumption entity is still there. But the outside temperature entity is no longer available all of a sudden. Have to look into that. A reboot might solve that.

007hacky007 commented 4 months ago

@atyourservers @trvrcr thank you for your response. Restart of the HA fixed it. Feeling bad for not trying it before commenting.

chrsc59 commented 4 months ago

I'm having the same issues. The IPs of the devices are still the same as configured in HA.

Same issue here, BRP069B4x, around the same date. IP was already fixed and has not changed. Access to the device via the Onecta app works fine Restarting HA did not help. Reboot neither.

A ping of the BRP069B4x from my PC showed no response, so I have disconnected the wifi module from the network (from the router software) and reconnected it. Everything is fine now.

Maybe an IP conflict (?) Powering off the module should have work. Maybe restarting the internet router should have work as well.

Outside temperature which had disappeared several months ago is back again

arievanderwende commented 4 months ago

Outside temperature is working again for me now. No reboot needed, it just started working again overnight.

@chrsc59, I don't know how you assigned a static IP address, but if you configured it on the WiFi module, then perhaps your router assigned the same IP address to another service on your network via DHCP. Better to assign a static IP address via DHCP to your WiFi module. But perhaps you already did that. Glad it's working now for you too.

fredrike commented 1 month ago

I can confirm the IP's have changed for some reason. I think the integration could be made better by utilizing the mac address as unique identifier. @fredrike Should I close the issue, or do you intend to change the way you identify the device.

@kingy444 could you take a look at this too? I don't know the best way to migrate unique-ids (we should of course not use IP-address here).