grzegorz914 / homebridge-melcloud-control

Homebridge plugin for Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation, publish as dynamic external platform accessory.
MIT License
55 stars 2 forks source link

MELCloud check device state error, AxiosError: Request failed with status code 429 #68

Closed imTHAI closed 7 months ago

imTHAI commented 8 months ago

Hello,

First, thank you a lot for your plugin. I discovered it yesterday and installed it, and all my aircon's were in Apple Home at a glance.

But today I see that my homebridge logs are full of errors like those ones:

[2/5/2024, 6:42:23 PM] [melcloudcontrol] Air Conditioner Bureau check device state error, AxiosError: Request failed with status code 429, check again in 65s.
[2/5/2024, 6:42:23 PM] [melcloudcontrol] Air Conditioner Salle de jeu check device state error, AxiosError: Request failed with status code 429, check again in 65s.
[2/5/2024, 6:42:23 PM] [melcloudcontrol] Air Conditioner Chambre Anakin check device state error, AxiosError: Request failed with status code 429, check again in 65s.
[2/5/2024, 6:42:23 PM] [melcloudcontrol] Air Conditioner Chambre parents check device state error, AxiosError: Request failed with status code 429, check again in 65s.

And all my aircon were "not answering" in Apple Home. So l logged into https://app.melcloud.com and it says:

We have detected excessive traffic from your account, your access to the service has been limited for a few hours.

So I think the plugin does too many requests or too often. Is it a way to limit it ? Did I miss something ?

For now I've disabled it and will enable it again tomorrow.

iceman60 commented 7 months ago
  1. I'm actually locked
  2. I was not running a child bridge until now. Will see if its better
  3. I have 3 HK automation with the device. I just disabled everything. Should not be a problem ?
mpopof commented 7 months ago

Is this solely for @iceman60 or do you want me test it as well. @grzegorz914 ? Only one of my two AC's is blocked the other one is good through the app. The plugin is currently stopped

grzegorz914 commented 7 months ago

try 0.15.5-beta.4 and let me know

iceman60 commented 7 months ago

It's working now ! Even if my account is still locked in the MELCloud app !

Very strange the log is showing that the process executed multiple time the same command at launch then I manually triggered a preset.


[2/7/2024, 3:20:28 PM] [homebridge-melcloud-control] Starting child bridge...
[2/7/2024, 3:20:28 PM] [homebridge-melcloud-control] Launched child bridge with PID 153104
[2/7/2024, 3:20:29 PM] Registering platform 'homebridge-melcloud-control.melcloudcontrol'
[2/7/2024, 3:20:29 PM] [homebridge-melcloud-control] Loaded homebridge-melcloud-control v0.15.5-beta.4 child bridge successfully
[2/7/2024, 3:20:29 PM] Loaded 0 cached accessories from cachedAccessories.0E10BC57EAB3.
[2/7/2024, 3:20:29 PM] Homebridge v1.7.0 (HAP v0.11.1) (homebridge-melcloud-control) is running on port 34070.
[2/7/2024, 3:20:30 PM] [homebridge-melcloud-control] ---- Air Conditioner: Salon ----
[2/7/2024, 3:20:30 PM] [homebridge-melcloud-control] Account: 
[2/7/2024, 3:20:30 PM] [homebridge-melcloud-control] Serial: 
[2/7/2024, 3:20:30 PM] [homebridge-melcloud-control] Firmware: 37000
[2/7/2024, 3:20:30 PM] [homebridge-melcloud-control] Manufacturer: Mitsubishi
[2/7/2024, 3:20:30 PM] [homebridge-melcloud-control] ----------------------------------
[2/7/2024, 3:20:31 PM] Salon CEC8 is running on port 38959.
[2/7/2024, 3:20:31 PM] Please add [Salon CEC8] manually in Home app. Setup Code: 
[2/7/2024, 3:20:32 PM] [homebridge-melcloud-control] Air Conditioner Salon Power: ON
[2/7/2024, 3:20:32 PM] [homebridge-melcloud-control] Air Conditioner Salon Operation mode: HEATING
[2/7/2024, 3:20:32 PM] [homebridge-melcloud-control] Air Conditioner Salon Room temperature: 18°C
[2/7/2024, 3:20:32 PM] [homebridge-melcloud-control] Air Conditioner Salon Fan speed mode: WEAK
[2/7/2024, 3:20:32 PM] [homebridge-melcloud-control] Air Conditioner Salon Vane swing mode: AUTO
[2/7/2024, 3:20:32 PM] [homebridge-melcloud-control] Air Conditioner Salon Heating threshold temperature: 17.5°C
[2/7/2024, 3:20:32 PM] [homebridge-melcloud-control] Air Conditioner Salon Cooling threshold temperature: 17.5°C
[2/7/2024, 3:20:32 PM] [homebridge-melcloud-control] Air Conditioner Salon Lock physical controls: UNLOCKED
[2/7/2024, 3:20:32 PM] [homebridge-melcloud-control] Air Conditioner Salon Temperature display unit: °C
[2/7/2024, 3:20:33 PM] [homebridge-melcloud-control] Air Conditioner Salon Power: ON
[2/7/2024, 3:20:33 PM] [homebridge-melcloud-control] Air Conditioner Salon Operation mode: HEATING
[2/7/2024, 3:20:33 PM] [homebridge-melcloud-control] Air Conditioner Salon Room temperature: 18°C
[2/7/2024, 3:20:33 PM] [homebridge-melcloud-control] Air Conditioner Salon Fan speed mode: WEAK
[2/7/2024, 3:20:33 PM] [homebridge-melcloud-control] Air Conditioner Salon Vane swing mode: AUTO
[2/7/2024, 3:20:33 PM] [homebridge-melcloud-control] Air Conditioner Salon Heating threshold temperature: 17.5°C
[2/7/2024, 3:20:33 PM] [homebridge-melcloud-control] Air Conditioner Salon Cooling threshold temperature: 17.5°C
[2/7/2024, 3:20:33 PM] [homebridge-melcloud-control] Air Conditioner Salon Lock physical controls: UNLOCKED
[2/7/2024, 3:20:33 PM] [homebridge-melcloud-control] Air Conditioner Salon Temperature display unit: °C
[2/7/2024, 3:20:39 PM] [homebridge-melcloud-control] Air Conditioner Salon Power: ON
[2/7/2024, 3:20:39 PM] [homebridge-melcloud-control] Air Conditioner Salon Operation mode: HEATING
[2/7/2024, 3:20:39 PM] [homebridge-melcloud-control] Air Conditioner Salon Room temperature: 18°C
[2/7/2024, 3:20:39 PM] [homebridge-melcloud-control] Air Conditioner Salon Fan speed mode: WEAK
[2/7/2024, 3:20:39 PM] [homebridge-melcloud-control] Air Conditioner Salon Vane swing mode: AUTO
[2/7/2024, 3:20:39 PM] [homebridge-melcloud-control] Air Conditioner Salon Heating threshold temperature: 17.5°C
[2/7/2024, 3:20:39 PM] [homebridge-melcloud-control] Air Conditioner Salon Cooling threshold temperature: 17.5°C
[2/7/2024, 3:20:39 PM] [homebridge-melcloud-control] Air Conditioner Salon Lock physical controls: UNLOCKED
[2/7/2024, 3:20:39 PM] [homebridge-melcloud-control] Air Conditioner Salon Temperature display unit: °C
[2/7/2024, 3:20:39 PM] [homebridge-melcloud-control] Air Conditioner Salon Power: ON
[2/7/2024, 3:20:39 PM] [homebridge-melcloud-control] Air Conditioner Salon Operation mode: HEATING
[2/7/2024, 3:20:39 PM] [homebridge-melcloud-control] Air Conditioner Salon Room temperature: 18°C
[2/7/2024, 3:20:39 PM] [homebridge-melcloud-control] Air Conditioner Salon Fan speed mode: WEAK
[2/7/2024, 3:20:39 PM] [homebridge-melcloud-control] Air Conditioner Salon Vane swing mode: AUTO
[2/7/2024, 3:20:39 PM] [homebridge-melcloud-control] Air Conditioner Salon Heating threshold temperature: 17.5°C
[2/7/2024, 3:20:39 PM] [homebridge-melcloud-control] Air Conditioner Salon Cooling threshold temperature: 17.5°C
[2/7/2024, 3:20:39 PM] [homebridge-melcloud-control] Air Conditioner Salon Lock physical controls: UNLOCKED
[2/7/2024, 3:20:39 PM] [homebridge-melcloud-control] Air Conditioner Salon Temperature display unit: °C
[2/7/2024, 3:20:42 PM] [homebridge-melcloud-control] Air Conditioner Salon Power: ON
[2/7/2024, 3:20:42 PM] [homebridge-melcloud-control] Air Conditioner Salon Operation mode: HEATING
[2/7/2024, 3:20:42 PM] [homebridge-melcloud-control] Air Conditioner Salon Room temperature: 18°C
[2/7/2024, 3:20:42 PM] [homebridge-melcloud-control] Air Conditioner Salon Fan speed mode: WEAK
[2/7/2024, 3:20:42 PM] [homebridge-melcloud-control] Air Conditioner Salon Vane swing mode: AUTO
[2/7/2024, 3:20:42 PM] [homebridge-melcloud-control] Air Conditioner Salon Heating threshold temperature: 17.5°C
[2/7/2024, 3:20:42 PM] [homebridge-melcloud-control] Air Conditioner Salon Cooling threshold temperature: 17.5°C
[2/7/2024, 3:20:42 PM] [homebridge-melcloud-control] Air Conditioner Salon Lock physical controls: UNLOCKED
[2/7/2024, 3:20:42 PM] [homebridge-melcloud-control] Air Conditioner Salon Temperature display unit: °C
[2/7/2024, 3:21:12 PM] [homebridge-melcloud-control] Air Conditioner Salon Lock physical controls: UNLOCKED
[2/7/2024, 3:21:12 PM] [homebridge-melcloud-control] Air Conditioner Salon Operation mode: HEATING
[2/7/2024, 3:21:12 PM] [homebridge-melcloud-control] Air Conditioner Salon Fan speed mode: WEAK
[2/7/2024, 3:21:12 PM] [homebridge-melcloud-control] Air Conditioner Salon Vane swing mode: AUTO
[2/7/2024, 3:21:12 PM] [homebridge-melcloud-control] Air Conditioner Salon Heating threshold temperature: 17.5°C
[2/7/2024, 3:21:12 PM] [homebridge-melcloud-control] Air Conditioner Salon Power: ON
[2/7/2024, 3:21:12 PM] [homebridge-melcloud-control] Air Conditioner Salon Room temperature: 18°C
[2/7/2024, 3:21:12 PM] [homebridge-melcloud-control] Air Conditioner Salon Temperature display unit: °C
[2/7/2024, 3:21:12 PM] [homebridge-melcloud-control] Air Conditioner Salon Cooling threshold temperature: 17.5°C
[2/7/2024, 3:22:10 PM] [homebridge-melcloud-control] Air Conditioner Salon Set: Chaud Conf 19```
grzegorz914 commented 7 months ago

beta.6 ready to test, right now only for AC device

mpopof commented 7 months ago

it is working for me as well, just installed beta.6 it looks good. Should I keep the polling time to 150 or can I try to go lower?

grzegorz914 commented 7 months ago

try lower value too

iceman60 commented 7 months ago

One strange thing with the beta 4 (and earlier) is that the temperature is locked to 17.5°C... Installing the Beta 6 right now

mpopof commented 7 months ago

it looks like it works, lowered the polling values to 90/120. My livingroom AC is still locked out in the app

iceman60 commented 7 months ago

The temperature is working fine with the beta 6 but why so many call at launch ?

[2/7/2024, 3:36:15 PM] [homebridge-melcloud-control] Loaded homebridge-melcloud-control v0.15.5-beta.6 child bridge successfully
[2/7/2024, 3:36:15 PM] Loaded 0 cached accessories from cachedAccessories.0E10BC57EAB3.
[2/7/2024, 3:36:15 PM] Homebridge v1.7.0 (HAP v0.11.1) (homebridge-melcloud-control) is running on port 34070.
[2/7/2024, 3:36:16 PM] [homebridge-melcloud-control] ---- Air Conditioner: Salon ----
[2/7/2024, 3:36:16 PM] [homebridge-melcloud-control] Account: 
[2/7/2024, 3:36:16 PM] [homebridge-melcloud-control] Serial:
[2/7/2024, 3:36:16 PM] [homebridge-melcloud-control] Firmware:
[2/7/2024, 3:36:16 PM] [homebridge-melcloud-control] Manufacturer: Mitsubishi
[2/7/2024, 3:36:16 PM] [homebridge-melcloud-control] ----------------------------------
[2/7/2024, 3:36:17 PM] Salon CEC8 is running on port 35617.
[2/7/2024, 3:36:17 PM] Please add [Salon CEC8] manually in Home app. Setup Code: 
[2/7/2024, 3:36:18 PM] [homebridge-melcloud-control] Air Conditioner Salon Power: ON
[2/7/2024, 3:36:18 PM] [homebridge-melcloud-control] Air Conditioner Salon Operation mode: HEATING
[2/7/2024, 3:36:18 PM] [homebridge-melcloud-control] Air Conditioner Salon Room temperature: 18°C
[2/7/2024, 3:36:18 PM] [homebridge-melcloud-control] Air Conditioner Salon Fan speed mode: WEAK
[2/7/2024, 3:36:18 PM] [homebridge-melcloud-control] Air Conditioner Salon Vane swing mode: AUTO
[2/7/2024, 3:36:18 PM] [homebridge-melcloud-control] Air Conditioner Salon Heating threshold temperature: 17.5°C
[2/7/2024, 3:36:18 PM] [homebridge-melcloud-control] Air Conditioner Salon Cooling threshold temperature: 17.5°C
[2/7/2024, 3:36:18 PM] [homebridge-melcloud-control] Air Conditioner Salon Lock physical controls: UNLOCKED
[2/7/2024, 3:36:18 PM] [homebridge-melcloud-control] Air Conditioner Salon Temperature display unit: °C
[2/7/2024, 3:36:54 PM] [homebridge-melcloud-control] Air Conditioner Salon Power: ON
[2/7/2024, 3:36:54 PM] [homebridge-melcloud-control] Air Conditioner Salon Operation mode: HEATING
[2/7/2024, 3:36:54 PM] [homebridge-melcloud-control] Air Conditioner Salon Room temperature: 18°C
[2/7/2024, 3:36:54 PM] [homebridge-melcloud-control] Air Conditioner Salon Fan speed mode: WEAK
[2/7/2024, 3:36:54 PM] [homebridge-melcloud-control] Air Conditioner Salon Vane swing mode: AUTO
[2/7/2024, 3:36:54 PM] [homebridge-melcloud-control] Air Conditioner Salon Heating threshold temperature: 17.5°C
[2/7/2024, 3:36:54 PM] [homebridge-melcloud-control] Air Conditioner Salon Cooling threshold temperature: 17.5°C
[2/7/2024, 3:36:54 PM] [homebridge-melcloud-control] Air Conditioner Salon Lock physical controls: UNLOCKED
[2/7/2024, 3:36:54 PM] [homebridge-melcloud-control] Air Conditioner Salon Temperature display unit: °C
[2/7/2024, 3:36:54 PM] [homebridge-melcloud-control] Air Conditioner Salon Power: ON
[2/7/2024, 3:36:54 PM] [homebridge-melcloud-control] Air Conditioner Salon Operation mode: HEATING
[2/7/2024, 3:36:54 PM] [homebridge-melcloud-control] Air Conditioner Salon Room temperature: 18°C
[2/7/2024, 3:36:54 PM] [homebridge-melcloud-control] Air Conditioner Salon Fan speed mode: WEAK
[2/7/2024, 3:36:54 PM] [homebridge-melcloud-control] Air Conditioner Salon Vane swing mode: AUTO
[2/7/2024, 3:36:54 PM] [homebridge-melcloud-control] Air Conditioner Salon Heating threshold temperature: 17.5°C
[2/7/2024, 3:36:54 PM] [homebridge-melcloud-control] Air Conditioner Salon Cooling threshold temperature: 17.5°C
[2/7/2024, 3:36:54 PM] [homebridge-melcloud-control] Air Conditioner Salon Lock physical controls: UNLOCKED
[2/7/2024, 3:36:54 PM] [homebridge-melcloud-control] Air Conditioner Salon Temperature display unit: °C
[2/7/2024, 3:36:58 PM] [homebridge-melcloud-control] Air Conditioner Salon Power: ON
[2/7/2024, 3:36:58 PM] [homebridge-melcloud-control] Air Conditioner Salon Operation mode: HEATING
[2/7/2024, 3:36:58 PM] [homebridge-melcloud-control] Air Conditioner Salon Room temperature: 18°C
[2/7/2024, 3:36:58 PM] [homebridge-melcloud-control] Air Conditioner Salon Fan speed mode: WEAK
[2/7/2024, 3:36:58 PM] [homebridge-melcloud-control] Air Conditioner Salon Vane swing mode: AUTO
[2/7/2024, 3:36:58 PM] [homebridge-melcloud-control] Air Conditioner Salon Heating threshold temperature: 17.5°C
[2/7/2024, 3:36:58 PM] [homebridge-melcloud-control] Air Conditioner Salon Cooling threshold temperature: 17.5°C
[2/7/2024, 3:36:58 PM] [homebridge-melcloud-control] Air Conditioner Salon Lock physical controls: UNLOCKED
[2/7/2024, 3:36:58 PM] [homebridge-melcloud-control] Air Conditioner Salon Temperature display unit: °C
[2/7/2024, 3:37:10 PM] [homebridge-melcloud-control] Air Conditioner Salon Power: ON
[2/7/2024, 3:37:10 PM] [homebridge-melcloud-control] Air Conditioner Salon Cooling threshold temperature: 17.5°C
[2/7/2024, 3:37:10 PM] [homebridge-melcloud-control] Air Conditioner Salon Room temperature: 18°C
[2/7/2024, 3:37:10 PM] [homebridge-melcloud-control] Air Conditioner Salon Fan speed mode: WEAK
[2/7/2024, 3:37:10 PM] [homebridge-melcloud-control] Air Conditioner Salon Temperature display unit: °C
[2/7/2024, 3:37:10 PM] [homebridge-melcloud-control] Air Conditioner Salon Operation mode: HEATING
[2/7/2024, 3:37:10 PM] [homebridge-melcloud-control] Air Conditioner Salon Vane swing mode: AUTO
[2/7/2024, 3:37:10 PM] [homebridge-melcloud-control] Air Conditioner Salon Heating threshold temperature: 17.5°C
[2/7/2024, 3:37:10 PM] [homebridge-melcloud-control] Air Conditioner Salon Lock physical controls: UNLOCKED
[2/7/2024, 3:37:20 PM] [homebridge-melcloud-control] Air Conditioner Salon Set: Chaud Conf 19 -- Setting the temperature to 19°C with a preset
[2/7/2024, 3:37:35 PM] [homebridge-melcloud-control] Air Conditioner Salon Vane swing mode: AUTO
[2/7/2024, 3:37:35 PM] [homebridge-melcloud-control] Air Conditioner Salon Room temperature: 18°C
[2/7/2024, 3:37:35 PM] [homebridge-melcloud-control] Air Conditioner Salon Operation mode: HEATING
[2/7/2024, 3:37:35 PM] [homebridge-melcloud-control] Air Conditioner Salon Fan speed mode: AUTO
[2/7/2024, 3:37:35 PM] [homebridge-melcloud-control] Air Conditioner Salon Heating threshold temperature: 19°C
[2/7/2024, 3:37:35 PM] [homebridge-melcloud-control] Air Conditioner Salon Cooling threshold temperature: 19°C
[2/7/2024, 3:37:35 PM] [homebridge-melcloud-control] Air Conditioner Salon Lock physical controls: UNLOCKED
[2/7/2024, 3:37:35 PM] [homebridge-melcloud-control] Air Conditioner Salon Temperature display unit: °C
[2/7/2024, 3:37:35 PM] [homebridge-melcloud-control] Air Conditioner Salon Power: ON
grzegorz914 commented 7 months ago

no worries, its experimental beta the multi call is irrelevant now

iceman60 commented 7 months ago

Again the temperature is automatically set and locked to 17.5°C :

[2/7/2024, 3:57:22 PM] [homebridge-melcloud-control] Air Conditioner Salon Cooling threshold temperature: 17.5°C
[2/7/2024, 3:57:22 PM] [homebridge-melcloud-control] Air Conditioner Salon Lock physical controls: UNLOCKED
[2/7/2024, 3:57:22 PM] [homebridge-melcloud-control] Air Conditioner Salon Fan speed mode: WEAK
[2/7/2024, 3:57:22 PM] [homebridge-melcloud-control] Air Conditioner Salon Operation mode: HEATING
[2/7/2024, 3:57:22 PM] [homebridge-melcloud-control] Air Conditioner Salon Power: ON
[2/7/2024, 3:57:22 PM] [homebridge-melcloud-control] Air Conditioner Salon Vane swing mode: AUTO
[2/7/2024, 3:57:22 PM] [homebridge-melcloud-control] Air Conditioner Salon Room temperature: 18°C
[2/7/2024, 3:57:22 PM] [homebridge-melcloud-control] Air Conditioner Salon Heating threshold temperature: 17.5°C
[2/7/2024, 3:57:22 PM] [homebridge-melcloud-control] Air Conditioner Salon Temperature display unit: °C
[2/7/2024, 3:57:42 PM] [homebridge-melcloud-control] Air Conditioner Salon Power: ON
[2/7/2024, 3:57:42 PM] [homebridge-melcloud-control] Air Conditioner Salon Operation mode: HEATING
[2/7/2024, 3:57:42 PM] [homebridge-melcloud-control] Air Conditioner Salon Room temperature: 18°C
[2/7/2024, 3:57:42 PM] [homebridge-melcloud-control] Air Conditioner Salon Fan speed mode: WEAK
[2/7/2024, 3:57:42 PM] [homebridge-melcloud-control] Air Conditioner Salon Vane swing mode: AUTO
[2/7/2024, 3:57:42 PM] [homebridge-melcloud-control] Air Conditioner Salon Heating threshold temperature: 17.5°C
[2/7/2024, 3:57:42 PM] [homebridge-melcloud-control] Air Conditioner Salon Cooling threshold temperature: 17.5°C
[2/7/2024, 3:57:42 PM] [homebridge-melcloud-control] Air Conditioner Salon Lock physical controls: UNLOCKED
[2/7/2024, 3:57:42 PM] [homebridge-melcloud-control] Air Conditioner Salon Temperature display unit: °C
[2/7/2024, 3:57:42 PM] [homebridge-melcloud-control] Air Conditioner Salon Power: ON
[2/7/2024, 3:57:42 PM] [homebridge-melcloud-control] Air Conditioner Salon Operation mode: HEATING
[2/7/2024, 3:57:42 PM] [homebridge-melcloud-control] Air Conditioner Salon Room temperature: 18°C
[2/7/2024, 3:57:42 PM] [homebridge-melcloud-control] Air Conditioner Salon Fan speed mode: WEAK
[2/7/2024, 3:57:42 PM] [homebridge-melcloud-control] Air Conditioner Salon Vane swing mode: AUTO
[2/7/2024, 3:57:42 PM] [homebridge-melcloud-control] Air Conditioner Salon Heating threshold temperature: 17.5°C
[2/7/2024, 3:57:42 PM] [homebridge-melcloud-control] Air Conditioner Salon Cooling threshold temperature: 17.5°C
[2/7/2024, 3:57:42 PM] [homebridge-melcloud-control] Air Conditioner Salon Lock physical controls: UNLOCKED
[2/7/2024, 3:57:42 PM] [homebridge-melcloud-control] Air Conditioner Salon Temperature display unit: °C
[2/7/2024, 3:57:43 PM] [homebridge-melcloud-control] Air Conditioner Salon Power: ON
[2/7/2024, 3:57:43 PM] [homebridge-melcloud-control] Air Conditioner Salon Operation mode: HEATING
[2/7/2024, 3:57:43 PM] [homebridge-melcloud-control] Air Conditioner Salon Room temperature: 18°C
[2/7/2024, 3:57:43 PM] [homebridge-melcloud-control] Air Conditioner Salon Fan speed mode: WEAK
[2/7/2024, 3:57:43 PM] [homebridge-melcloud-control] Air Conditioner Salon Vane swing mode: AUTO
[2/7/2024, 3:57:43 PM] [homebridge-melcloud-control] Air Conditioner Salon Heating threshold temperature: 17.5°C
[2/7/2024, 3:57:43 PM] [homebridge-melcloud-control] Air Conditioner Salon Cooling threshold temperature: 17.5°C
[2/7/2024, 3:57:43 PM] [homebridge-melcloud-control] Air Conditioner Salon Lock physical controls: UNLOCKED
[2/7/2024, 3:57:43 PM] [homebridge-melcloud-control] Air Conditioner Salon Temperature display unit: °C
[2/7/2024, 3:57:46 PM] [homebridge-melcloud-control] Air Conditioner Salon Power: ON
[2/7/2024, 3:57:46 PM] [homebridge-melcloud-control] Air Conditioner Salon Operation mode: HEATING
[2/7/2024, 3:57:46 PM] [homebridge-melcloud-control] Air Conditioner Salon Room temperature: 18°C
[2/7/2024, 3:57:46 PM] [homebridge-melcloud-control] Air Conditioner Salon Fan speed mode: WEAK
[2/7/2024, 3:57:46 PM] [homebridge-melcloud-control] Air Conditioner Salon Vane swing mode: AUTO
[2/7/2024, 3:57:46 PM] [homebridge-melcloud-control] Air Conditioner Salon Heating threshold temperature: 17.5°C
[2/7/2024, 3:57:46 PM] [homebridge-melcloud-control] Air Conditioner Salon Cooling threshold temperature: 17.5°C
[2/7/2024, 3:57:46 PM] [homebridge-melcloud-control] Air Conditioner Salon Lock physical controls: UNLOCKED
[2/7/2024, 3:57:46 PM] [homebridge-melcloud-control] Air Conditioner Salon Temperature display unit: °C
grzegorz914 commented 7 months ago

beta 10 ready to test

RikBast commented 7 months ago

The whole time my MSZ-AP35-VGK did get the too many traffic message in the official app. My other 2 AC (MSZ-HR50VF, MSZ-HR35VF) were ok after a few hours of that too many traffic message. After resetting the WiFi module of the MSZ-AP35-VGK I can use the official app again. Did not activated the plug-in yet. That is the 2 sec reset, not the factory reset.

I wrote an e-mail to support to release my airco units again, today I received answer that the update went ok. But they don't say what update. Will try to get that info .

UPDATE: response from Mitsubishi support:

'We are moving to a new platform and the data needs to be transferred

Melcloud 2.0 a completely different app'

grzegorz914 commented 7 months ago

0.15.5-beta.14 fix for ERV and ATW, please test and let me know

grzegorz914 commented 7 months ago

after set refresh data to 60 im locked today too, will change to 120 and test.

mpopof commented 7 months ago

Im using the latest beta, with 90/120 device/account polling time and havent had a problem since installing the beta4 and my living room AC was locked for a lil bit, but it was working.

grunchy99 commented 7 months ago

I'm using latest beta, pooling 180/300, account blocked again today... But the plugin seems to not respect the pooling timing, look the timestamp and the check again in 180s ! If the plugin check each second, it's normal that Melcoud API lock our account...

[2/8/2024, 8:45:29 AM] [homebridge-melcloud-control] Air Conditioner check device state error, AxiosError: Request failed with status code 429, check again in 180s. [2/8/2024, 8:45:29 AM] [homebridge-melcloud-control] Air Conditioner check device state error, AxiosError: Request failed with status code 429, check again in 180s. [2/8/2024, 8:45:40 AM] [homebridge-melcloud-control] Air Conditioner check device state error, AxiosError: Request failed with status code 429, check again in 180s. [2/8/2024, 8:46:37 AM] [homebridge-melcloud-control] Air Conditioner check device state error, AxiosError: Request failed with status code 429, check again in 180s. [2/8/2024, 8:46:37 AM] [homebridge-melcloud-control] Air Conditioner check device state error, AxiosError: Request failed with status code 429, check again in 180s. [2/8/2024, 8:46:37 AM] [homebridge-melcloud-control] Air Conditioner check device state error, AxiosError: Request failed with status code 429, check again in 180s. [2/8/2024, 8:46:37 AM] [homebridge-melcloud-control] Air Conditioner check device state error, AxiosError: Request failed with status code 429, check again in 180s.

grzegorz914 commented 7 months ago

if you have 2 devices the you get 2 errors, in beta version check only one time for all devices

grzegorz914 commented 7 months ago

Now after 6 hours my account is again unlocked, set refresh time to 120, will look what happens. Test with latest beta.

grunchy99 commented 7 months ago

No, I have just 1 device… yesterday with pooling 120/300 my account was lock after more than 15 hours.

grzegorz914 commented 7 months ago

Are you test latest beta?

grunchy99 commented 7 months ago

I will, as soon as my account is unlocked…

starec007 commented 7 months ago

It still doesn't work for me even though I set the intervals to the highest values.

RikBast commented 7 months ago

You could try a 'soft' reset of the WiFi adapter, it worked for me with one of the units which was being blocked all the time. So short push of the reset button, 2 seconds.

starec007 commented 7 months ago

I think the wifi adapter has nothing to do with this problem. The problem is frequent login to the MELcloud account.

grunchy99 commented 7 months ago

@starec007 i agree with you ☺️

grzegorz914 commented 7 months ago

We do not frequent login to the MELCloud server, the plugin login only one time and after logged in check device state based on actually session. Mitsubishi have before 2 days updated server restrictions to count number of request from client side, right now is no any official info how many request is set per hour/Day/Week/Month. We need this check itself in experimental proces. That's all.

grunchy99 commented 7 months ago

I think there's a problem with the plugin...

Melcloud use www2.melcloud.com to communicate, resolved by 3 @IP :

;; ANSWER SECTION: www2.melcloud.com. 60 IN A 52.17.130.213 www2.melcloud.com. 60 IN A 54.76.174.250 www2.melcloud.com. 60 IN A 54.171.134.38

When I trace connection to these 3 @IP, I can see 2 https request per second... So I think this is the source of account blocking ;-)

tcpdump -i eth0 dst 52.17.130.213 or dst 54.76.174.250 or dst 54.171.134.38 tcpdump: verbose output suppressed, use -v[v]... for full protocol decode listening on eth0, link-type EN10MB (Ethernet), snapshot length 262144 bytes 15:14:41.506743 IP black-pearl.lan.48418 > ec2-52-17-130-213.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1744315509, win 501, options [nop,nop,TS val 3345934886 ecr 95775856], length 0 15:14:41.794822 IP black-pearl.lan.38036 > ec2-54-76-174-250.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 61720558, win 501, options [nop,nop,TS val 2703461074 ecr 1286039704], length 0 15:14:42.530734 IP black-pearl.lan.48418 > ec2-52-17-130-213.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 3345935910 ecr 95776913], length 0 15:14:42.818811 IP black-pearl.lan.38036 > ec2-54-76-174-250.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 2703462098 ecr 1286040728], length 0 15:14:43.554755 IP black-pearl.lan.48418 > ec2-52-17-130-213.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 3345936934 ecr 95777937], length 0 15:14:43.842792 IP black-pearl.lan.38036 > ec2-54-76-174-250.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 2703463122 ecr 1286041752], length 0 15:14:44.578755 IP black-pearl.lan.48418 > ec2-52-17-130-213.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 3345937958 ecr 95778958], length 0 15:14:44.866730 IP black-pearl.lan.38036 > ec2-54-76-174-250.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 2703464146 ecr 1286042776], length 0 15:14:45.602784 IP black-pearl.lan.48418 > ec2-52-17-130-213.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 3345938982 ecr 95779982], length 0 15:14:45.890781 IP black-pearl.lan.38036 > ec2-54-76-174-250.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 2703465170 ecr 1286043800], length 0 15:14:46.626738 IP black-pearl.lan.48418 > ec2-52-17-130-213.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 3345940006 ecr 95781009], length 0 15:14:46.914742 IP black-pearl.lan.38036 > ec2-54-76-174-250.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 2703466194 ecr 1286044824], length 0 15:14:47.650728 IP black-pearl.lan.48418 > ec2-52-17-130-213.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 3345941030 ecr 95782030], length 0 15:14:47.938789 IP black-pearl.lan.38036 > ec2-54-76-174-250.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 2703467218 ecr 1286045848], length 0 15:14:48.674751 IP black-pearl.lan.48418 > ec2-52-17-130-213.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 3345942054 ecr 95783054], length 0 15:14:48.962741 IP black-pearl.lan.38036 > ec2-54-76-174-250.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 2703468242 ecr 1286046872], length 0 15:14:49.698752 IP black-pearl.lan.48418 > ec2-52-17-130-213.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 3345943078 ecr 95784078], length 0 15:14:49.986793 IP black-pearl.lan.38036 > ec2-54-76-174-250.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 2703469266 ecr 1286047896], length 0 15:14:50.722787 IP black-pearl.lan.48418 > ec2-52-17-130-213.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 3345944102 ecr 95785102], length 0 15:14:51.010760 IP black-pearl.lan.38036 > ec2-54-76-174-250.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 2703470290 ecr 1286048920], length 0 15:14:51.746766 IP black-pearl.lan.48418 > ec2-52-17-130-213.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 3345945126 ecr 95786126], length 0 15:14:52.034798 IP black-pearl.lan.38036 > ec2-54-76-174-250.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 2703471314 ecr 1286049945], length 0 15:14:52.770741 IP black-pearl.lan.48418 > ec2-52-17-130-213.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 3345946150 ecr 95787150], length 0 15:14:53.058732 IP black-pearl.lan.38036 > ec2-54-76-174-250.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 2703472338 ecr 1286050968], length 0 15:14:53.794738 IP black-pearl.lan.48418 > ec2-52-17-130-213.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 3345947174 ecr 95788174], length 0 15:14:54.082778 IP black-pearl.lan.38036 > ec2-54-76-174-250.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 2703473362 ecr 1286051992], length 0 15:14:54.818734 IP black-pearl.lan.48418 > ec2-52-17-130-213.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 3345948198 ecr 95789198], length 0 15:14:55.106725 IP black-pearl.lan.38036 > ec2-54-76-174-250.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 2703474386 ecr 1286053016], length 0 15:14:55.842808 IP black-pearl.lan.48418 > ec2-52-17-130-213.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 3345949222 ecr 95790222], length 0 15:14:56.130805 IP black-pearl.lan.38036 > ec2-54-76-174-250.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 2703475410 ecr 1286054040], length 0 15:14:56.866750 IP black-pearl.lan.48418 > ec2-52-17-130-213.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 3345950246 ecr 95791246], length 0 15:14:57.154741 IP black-pearl.lan.38036 > ec2-54-76-174-250.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 2703476434 ecr 1286055064], length 0 15:14:57.890751 IP black-pearl.lan.48418 > ec2-52-17-130-213.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 3345951270 ecr 95792270], length 0 15:14:58.178765 IP black-pearl.lan.38036 > ec2-54-76-174-250.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 2703477458 ecr 1286056088], length 0 15:14:58.914733 IP black-pearl.lan.48418 > ec2-52-17-130-213.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 3345952294 ecr 95793294], length 0 15:14:59.202732 IP black-pearl.lan.38036 > ec2-54-76-174-250.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 2703478482 ecr 1286057114], length 0 15:14:59.938741 IP black-pearl.lan.48418 > ec2-52-17-130-213.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 3345953318 ecr 95794321], length 0 15:15:00.226769 IP black-pearl.lan.38036 > ec2-54-76-174-250.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 2703479506 ecr 1286058136], length 0 15:15:00.962797 IP black-pearl.lan.48418 > ec2-52-17-130-213.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 3345954342 ecr 95795342], length 0 15:15:01.250816 IP black-pearl.lan.38036 > ec2-54-76-174-250.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 2703480530 ecr 1286059162], length 0 15:15:01.986726 IP black-pearl.lan.48418 > ec2-52-17-130-213.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 3345955366 ecr 95796366], length 0 15:15:02.274817 IP black-pearl.lan.38036 > ec2-54-76-174-250.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 2703481554 ecr 1286060184], length 0 15:15:03.010729 IP black-pearl.lan.48418 > ec2-52-17-130-213.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 3345956390 ecr 95797390], length 0 15:15:03.298730 IP black-pearl.lan.38036 > ec2-54-76-174-250.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 2703482578 ecr 1286061208], length 0 15:15:04.038740 IP black-pearl.lan.48418 > ec2-52-17-130-213.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 3345957418 ecr 95798414], length 0 15:15:04.326762 IP black-pearl.lan.38036 > ec2-54-76-174-250.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 2703483606 ecr 1286062232], length 0 15:15:05.070741 IP black-pearl.lan.48418 > ec2-52-17-130-213.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 3345958450 ecr 95799446], length 0 15:15:05.346755 IP black-pearl.lan.38036 > ec2-54-76-174-250.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 2703484626 ecr 1286063260], length 0 15:15:06.098755 IP black-pearl.lan.48418 > ec2-52-17-130-213.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 3345959478 ecr 95800478], length 0 15:15:06.370766 IP black-pearl.lan.38036 > ec2-54-76-174-250.eu-west-1.compute.amazonaws.com.https: Flags [.], ack 1, win 501, options [nop,nop,TS val 2703485650 ecr 1286064280], length 0

grunchy99 commented 7 months ago

If I stop the plugin, connections stop immediately, so the plugin is really the source of these connections.

grzegorz914 commented 7 months ago

Yes, if You stop plugin the connection stops, why not? You don't need make any trace, just enable debug mode then you see every poll. I don't know why you get 2 parallels connection and call.

starec007 commented 7 months ago

Will it be solved somehow? Because the plugin cannot be used this way.

mpopof commented 7 months ago

quick update from me, its been 5 or so hours since my last post and more than 12h since I have updated the plugin. Still dont have any issues 90/120 polling time, the app is still accessible for both AC's

starec007 commented 7 months ago

I have set the refresh interval to 900 since yesterday and today it turned off. So the problem is still there.

grunchy99 commented 7 months ago

I just restart the plugin with debug enable, this time I have only 1 connection, but 1 per second. Debug mode just show me that refresh every 5 min (I set it to max 300s). And device refresh set to max 900s.

starec007 commented 7 months ago

I've had it set up exactly like this since yesterday and I'm disabled in the web interface.

grzegorz914 commented 7 months ago

In release app we have two refresh intervals, one is for device refresh and one for system refresh, I suggest to set 120 for device and 150 for system. If You already test latest beta we have also 2 refresh time but the for device is irrelevant here you can set 1 second or more because it is local poll, only for system should be set to 120 or more.

grzegorz914 commented 7 months ago

@grunchy99 please check beta.21 and let me know about the call trace

grunchy99 commented 7 months ago

It seems to be getting better, more connection every second. I set the timing as you asked, so 120/150. The timing is respected in the debug log and the tcpdump trace is in sync with the debug information. It remains to be confirmed if the account is no longer locked after 12 or 24 hours ​

mpopof commented 7 months ago

I just want to give an update. Its been 36+ hours with no account lock, 90/120 time polling, updated to the latest beta last night. These 3 errors are the only ones that came up in the last 36+ hours.

[09/02/2024, 02:06:44] [homebridge-melcloud-control] Account Slavyanska2, check devices list error, AxiosError: timeout of 15000ms exceeded, check again in 120s. [09/02/2024, 02:08:59] [homebridge-melcloud-control] Account Slavyanska2, check devices list error, AxiosError: timeout of 15000ms exceeded, check again in 120s. [09/02/2024, 02:11:14] [homebridge-melcloud-control] Account Slavyanska2, check devices list error, AxiosError: timeout of 15000ms exceeded, check again in 120s.

Just one weird thing that Im kind of sure is not related, but want to mention it is that the AC didnt start when it was programmed to do in the morning. Ill keep you posted if anything come up.

grzegorz914 commented 7 months ago

Latest beta 33 contain final changes, now is only possible to set system refresh time, all other for ATA, ATW, ERW settings arte removed. The call trace is drastically reduced, on my side is working without account lock over 36 hours, so I think all will be OK now. Please all to report any problems, if all pass then tomorrow will release 0.16.0 public.

starec007 commented 7 months ago

Everything seems to be fine. After installing the beta, the whole day today is without a problem with the application.

ams158 commented 7 months ago

Hi, I found this same issue, I've installed the last beta version and the login error doesn't appear anymore, but still getting the not device found error.

homebridge-melcloud-control.log.txt

I attach my plugin logs.

Lechucico commented 7 months ago

Hello @grzegorz914, I've disabled the plugin for 48h and after enabling here is the same error:

[10/02/2024, 11:06:25] [melcloudcontrol] Air Conditioner Sala de estar No device found.
[10/02/2024, 11:06:40] [melcloudcontrol] Air Conditioner Pasillo No device found.
[10/02/2024, 11:06:55] [melcloudcontrol] Air Conditioner Despacho No device found.

Logs here: logs.txt

grzegorz914 commented 7 months ago

fixed in beta.38

Kirshley1 commented 7 months ago

With the beta.38 version the device appears in homebridge (previously it showed device not found) but although it appears in homebridge, it does not appear in the Home app on the iPhone. Any idea what is happening?

grzegorz914 commented 7 months ago

You need add it to the home app, read wiki please.

Kirshley1 commented 7 months ago

I have tried to do what it says in the wiki, but the problem is that I can't get the device to add it. I click on the Home icon, add device, more options and it doesn't show me the option to add it anyway. It's strange because in Homebridge it does come out

grzegorz914 commented 7 months ago

@Kirshley1 post the debug log please.

Kirshley1 commented 7 months ago

How can I do that?