JeroenVdb / homebridge-daikin-cloud

This Homebrige plugin connects to the Daikin Cloud and loads all your devices to be controled via Homebridge and Homekit.
https://www.npmjs.com/package/homebridge-daikin-cloud
Apache License 2.0
31 stars 10 forks source link

Plugin doesn't work anymore #54

Open cemmit opened 1 month ago

cemmit commented 1 month ago

Describe The Bug: The plugin is able to log in to Daikin Cloud; but afterwards there are some "this plugin slows down Homebridge" messages with different characteristics and further they add "characteristic didn't respond at all" to logs. And then there are "This plugin threw an error" messages in the logs (abbreviated). In Home app, the AC units are either "No response" or they look normal; but do nothing if you give a command.

To Reproduce:

Just starting the plugin as normal. The network card is BRP069C4x. I don't know if its related; but I also have registry.npmjs.org messages in the log: "[Homebridge UI] [homebridge-config-ui-x] Failed to check registry.npmjs.org for updates: "timeout of 10000ms exceeded" - see https://homebridge.io/w/JJSz6 for help."

Expected behavior:

It was working as expected until the Daikin Cloud upgrade. Afterwards I did the plugin upgrade and logged out and in a couple of times to the Daikin cloud.

Logs:

[24/05/2024, 22:36:59] [homebridge-daikin-cloud] Restarting Process...
[24/05/2024, 22:37:00] [homebridge-daikin-cloud] Launched child bridge with PID 1759
[24/05/2024, 22:37:01] Registering platform 'homebridge-daikin-cloud.DaikinCloud'
[24/05/2024, 22:37:01] [homebridge-daikin-cloud] Loaded homebridge-daikin-cloud v1.7.3 child bridge successfully
[24/05/2024, 22:37:01] Loaded 5 cached accessories from cachedAccessories.0E18123FAC81.
[24/05/2024, 22:37:01] [homebridge-daikin-cloud] Loading accessory from cache: Ebeveyn Yatak Odası
[24/05/2024, 22:37:01] [homebridge-daikin-cloud] Loading accessory from cache: Renk Yatak Odası
[24/05/2024, 22:37:01] [homebridge-daikin-cloud] Loading accessory from cache: Mutfak
[24/05/2024, 22:37:01] [homebridge-daikin-cloud] Loading accessory from cache: Salon
[24/05/2024, 22:37:01] [homebridge-daikin-cloud] Loading accessory from cache: Çalışma Odası
[24/05/2024, 22:37:01] [homebridge-daikin-cloud] --- Daikin info for debugging reasons (enable Debug Mode for more logs v1.6.1) ---
[24/05/2024, 22:37:01] Homebridge v1.8.2 (HAP v0.12.1) (homebridge-daikin-cloud) is running on port 46339.
[24/05/2024, 22:37:51] [homebridge-daikin-cloud] Retrieved new credentials from Daikin Cloud
[24/05/2024, 22:37:58] [homebridge-daikin-cloud] Found 5 devices in your Daikin Cloud
[24/05/2024, 22:38:05] [homebridge-daikin-cloud] Device found with id: 9537bc27-8ce6-41b8-bfcd-939bff395c5c
[24/05/2024, 22:38:05] [homebridge-daikin-cloud]     name: Ebeveyn Yatak Odası
[24/05/2024, 22:38:05] [homebridge-daikin-cloud]     last updated: Fri May 24 2024 22:37:02 GMT+0300 (GMT+03:00)
[24/05/2024, 22:38:05] [homebridge-daikin-cloud]     modelInfo: BRP069C4x
[24/05/2024, 22:38:05] [homebridge-daikin-cloud]     config.showExtraFeatures: false
[24/05/2024, 22:38:05] [homebridge-daikin-cloud]     config.excludedDevicesByDeviceId: undefined
[24/05/2024, 22:38:05] [homebridge-daikin-cloud] Restoring existing accessory from cache: Ebeveyn Yatak Odası
[24/05/2024, 22:38:05] [homebridge-daikin-cloud] [Ebeveyn Yatak Odası] hasIndoorSilentModeFeature, indoorSilentMode: true
[24/05/2024, 22:38:05] [homebridge-daikin-cloud] Device found with id: fe71ed38-4282-4c28-b688-3abd8a5b2420
[24/05/2024, 22:38:05] [homebridge-daikin-cloud]     name: Renk Yatak Odası
[24/05/2024, 22:38:05] [homebridge-daikin-cloud]     last updated: Fri May 24 2024 22:36:27 GMT+0300 (GMT+03:00)
[24/05/2024, 22:38:05] [homebridge-daikin-cloud]     modelInfo: BRP069C4x
[24/05/2024, 22:38:05] [homebridge-daikin-cloud]     config.showExtraFeatures: false
[24/05/2024, 22:38:05] [homebridge-daikin-cloud]     config.excludedDevicesByDeviceId: undefined
[24/05/2024, 22:38:05] [homebridge-daikin-cloud] Restoring existing accessory from cache: Renk Yatak Odası
[24/05/2024, 22:38:05] [homebridge-daikin-cloud] [Renk Yatak Odası] hasIndoorSilentModeFeature, indoorSilentMode: true
[24/05/2024, 22:38:05] [homebridge-daikin-cloud] Device found with id: 2095f325-9f33-484f-ad54-ea7405e2af3b
[24/05/2024, 22:38:05] [homebridge-daikin-cloud]     name: Mutfak
[24/05/2024, 22:38:05] [homebridge-daikin-cloud]     last updated: Fri May 24 2024 22:36:58 GMT+0300 (GMT+03:00)
[24/05/2024, 22:38:05] [homebridge-daikin-cloud]     modelInfo: BRP069C4x
[24/05/2024, 22:38:05] [homebridge-daikin-cloud]     config.showExtraFeatures: false
[24/05/2024, 22:38:05] [homebridge-daikin-cloud]     config.excludedDevicesByDeviceId: undefined
[24/05/2024, 22:38:05] [homebridge-daikin-cloud] Restoring existing accessory from cache: Mutfak
[24/05/2024, 22:38:05] [homebridge-daikin-cloud] [Mutfak] hasIndoorSilentModeFeature, indoorSilentMode: true
[24/05/2024, 22:38:05] [homebridge-daikin-cloud] Device found with id: 72206a34-d96a-4446-b7f6-d1a2b1d60927
[24/05/2024, 22:38:05] [homebridge-daikin-cloud]     name: Salon
[24/05/2024, 22:38:05] [homebridge-daikin-cloud]     last updated: Fri May 24 2024 22:36:18 GMT+0300 (GMT+03:00)
[24/05/2024, 22:38:05] [homebridge-daikin-cloud]     modelInfo: BRP069C4x
[24/05/2024, 22:38:05] [homebridge-daikin-cloud]     config.showExtraFeatures: false
[24/05/2024, 22:38:05] [homebridge-daikin-cloud]     config.excludedDevicesByDeviceId: undefined
[24/05/2024, 22:38:05] [homebridge-daikin-cloud] Restoring existing accessory from cache: Salon
[24/05/2024, 22:38:05] [homebridge-daikin-cloud] [Salon] hasIndoorSilentModeFeature, indoorSilentMode: true
[24/05/2024, 22:38:05] [homebridge-daikin-cloud] Device found with id: 0a20671e-c9f0-43e7-b8cb-e535ad6c4992
[24/05/2024, 22:38:05] [homebridge-daikin-cloud]     name: Çalışma Odası
[24/05/2024, 22:38:05] [homebridge-daikin-cloud]     last updated: Fri May 24 2024 22:37:08 GMT+0300 (GMT+03:00)
[24/05/2024, 22:38:05] [homebridge-daikin-cloud]     modelInfo: BRP069C4x
[24/05/2024, 22:38:05] [homebridge-daikin-cloud]     config.showExtraFeatures: false
[24/05/2024, 22:38:05] [homebridge-daikin-cloud]     config.excludedDevicesByDeviceId: undefined
[24/05/2024, 22:38:05] [homebridge-daikin-cloud] Restoring existing accessory from cache: Çalışma Odası
[24/05/2024, 22:38:05] [homebridge-daikin-cloud] [Çalışma Odası] hasIndoorSilentModeFeature, indoorSilentMode: true
[24/05/2024, 22:38:05] [homebridge-daikin-cloud] --------------- End Daikin info for debugging reasons --------------------
[24/05/2024, 22:50:14] [homebridge-daikin-cloud] This plugin threw an error from the characteristic 'Rotation Speed': Unhandled error thrown inside read handler for characteristic: outgoing request timed out after 10000ms. See https://homebridge.io/w/JtMGR for more info.
[24/05/2024, 22:50:14] [homebridge-daikin-cloud] This plugin threw an error from the characteristic 'Target Heater-Cooler State': Unhandled error thrown inside read handler for characteristic: outgoing request timed out after 10000ms. See https://homebridge.io/w/JtMGR for more info.
[24/05/2024, 22:50:14] [homebridge-daikin-cloud] This plugin threw an error from the characteristic 'Heating Threshold Temperature': Unhandled error thrown inside read handler for characteristic: outgoing request timed out after 10000ms. See https://homebridge.io/w/JtMGR for more info.
[24/05/2024, 22:50:14] [homebridge-daikin-cloud] This plugin threw an error from the characteristic 'Cooling Threshold Temperature': Unhandled error thrown inside read handler for characteristic: outgoing request timed out after 10000ms. See https://homebridge.io/w/JtMGR for more info.
[24/05/2024, 22:50:14] [homebridge-daikin-cloud] This plugin threw an error from the characteristic 'Swing Mode': Unhandled error thrown inside read handler for characteristic: outgoing request timed out after 10000ms. See https://homebridge.io/w/JtMGR for more info.
[24/05/2024, 22:50:14] [homebridge-daikin-cloud] This plugin threw an error from the characteristic 'Active': Unhandled error thrown inside read handler for characteristic: outgoing request timed out after 10000ms. See https://homebridge.io/w/JtMGR for more info.
[24/05/2024, 22:50:16] [homebridge-daikin-cloud] This plugin slows down Homebridge. The read handler for the characteristic 'Active' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[24/05/2024, 22:50:16] [homebridge-daikin-cloud] This plugin slows down Homebridge. The read handler for the characteristic 'Target Heater-Cooler State' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[24/05/2024, 22:50:16] [homebridge-daikin-cloud] This plugin slows down Homebridge. The read handler for the characteristic 'Current Temperature' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[24/05/2024, 22:50:16] [homebridge-daikin-cloud] This plugin slows down Homebridge. The read handler for the characteristic 'Cooling Threshold Temperature' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[24/05/2024, 22:50:16] [homebridge-daikin-cloud] This plugin slows down Homebridge. The read handler for the characteristic 'Heating Threshold Temperature' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[24/05/2024, 22:50:16] [homebridge-daikin-cloud] This plugin slows down Homebridge. The read handler for the characteristic 'Rotation Speed' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[24/05/2024, 22:50:16] [homebridge-daikin-cloud] This plugin slows down Homebridge. The read handler for the characteristic 'Swing Mode' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[24/05/2024, 22:50:16] [homebridge-daikin-cloud] This plugin slows down Homebridge. The read handler for the characteristic [24/05/2024, 22:50:22] [homebridge-daikin-cloud] This plugin slows down Homebridge. The read handler for the characteristic 'Active' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.
[24/05/2024, 22:50:22] [homebridge-daikin-cloud] This plugin slows down Homebridge. The read handler for the characteristic 'Target Heater-Cooler State' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.
[24/05/2024, 22:50:22] [homebridge-daikin-cloud] This plugin slows down Homebridge. The read handler for the characteristic 'Current Temperature' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.
[24/05/2024, 22:50:22] [homebridge-daikin-cloud] This plugin slows down Homebridge. The read handler for the characteristic 'Cooling Threshold Temperature' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.
[24/05/2024, 22:50:22] [homebridge-daikin-cloud] This plugin slows down Homebridge. The read handler for the characteristic 'Heating Threshold Temperature' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.

Plugin Config:

 "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "platform": "config"
        },
        {
            "username": "xxxxx",
            "password": "xxxxx",
            "showExtraFeatures": false,
            "_bridge": {
                "username": "XX:XX:XX:XX:XX:XX",
                "port": 46339
            },
            "platform": "DaikinCloud"
        },

Screenshots:

Daikin Environment:

Homebridge Environment:

zakhounet commented 3 weeks ago

Same situation here

pfsequeira commented 3 weeks ago

same here!!

jmasarweh commented 3 weeks ago

Same here. I noticed this happening after the node.js update or the daikin firmware update. (not sure which, as I did update both the same day). It was stable before.

Daikin Environment:

Daikin model:,BRP069C4x Daikin firmware version: 1_31_0

Homebridge Environment:

Plugin Version: 1.7.3 Homebridge Version: 1.8.2 Node.js Version: 20.14.0 Operating System: Debian GNU/Linux Bookworm (12)

zakhounet commented 3 weeks ago

I checked the Home Assistant integration and I found the following announcement :

🚀 Exciting News: The Daikin Europe Developer Portal now available! 🚀 It is with pleasure that we announce that the new Daikin Europe Developer Portal is now available for use! This platform is created to empower developers like you to unlock the potential of Daikin air-to-air and air-to-water heat pumps.

🔧 What about existing open-source integrations? To ensure a seamless experience and to take advantage of the new platform, we kindly request all users/developers with existing integrations on the Daikin Onecta platform to migrate their setups within the next 30 days. From 11 March onwards, we'll deprecate the currently used API key found in many open-source projects. This means existing integrations will stop functioning.

🚧 What's next for the Developer Portal? This is just the beginning! We're committing to expand and enhance our Developer Portal. Expect new features and resources in the future! In a following update we want to bring a developer self-service functionality, allowing developers to create their own application credentials.

🙏 Thank you for your continued support and for being an integral part of the Daikin community. We appreciate all your feedback posted on GitHub and through other channels. We will process and evaluate this input for future updates of Daikin Products and the Developer Portal. We’re looking forward to witnessing the incredible projects and innovations that you are about to create!

🔗 Explore the portal now: Daikin Europe Developer Portal Daikin Europe