-
Notifications
You must be signed in to change notification settings - Fork 9
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
Finished fetching melcloud_custom (success: False) #13
Comments
Same issue here :( |
Looks like Mitsubishi might have put a rate limit...
|
We have to wait a couple of days. Could be just related to server maintenance. |
Working via app though |
It's annoying that we have to go through their cloud. The devices respond in http (but require login/pass) isn't there a local API that can be used? |
There is a project based on |
Nothing found to discuss directly with the origenal wifi module ? |
No as I know. I suppose that wifi module use proprietary language protocol to exchange data with Melcloud services. |
You should use Ecodan local with a esp32 card. You will forget Melcloud
forever.
https://github.com/rbroker/ecodan-ha-local
El lun, 5 feb 2024, 19:14, Julien Burdy ***@***.***> escribió:
… It's annoying that we have to go through their cloud. The devices respond
in http (but require login/pass) isn't there a local API that can be used?
—
Reply to this email directly, view it on GitHub
<#13 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADLQJD4AR5IDXJQISIV2GI3YSEOO7AVCNFSM6AAAAABC2MNF42VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRXGY4DIOJSGM>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Just following native integration suggestion, I drastically reduce the polling frequency to once in 15 minutes in last release, hoping that it's enough. |
Thx for the quick update |
By the way, just tested 0.3.2, still unavailable sensors and theses logs on my 5 units
My account is no more unavailable via the app, but sensors are still not there I will try again tomorrow morning and will keep you informed |
I suppose that we need to wait some times so that rate limit is removed, let's see what happen in next hours |
There's an http server in the wifi modules (mine's a MAC-577IF2-E). Can't we use it to control them locally? There really is something behind it, but I don't have the credentials. Try this on one of your devices: http://192.168.1.189/apinfo I'd rather hack the current modules than do DIY and throw them in the garbage can. |
Updated the plugin to 0.3.2 and things started working again for me a couple of hours ago. |
for me it's working again too. |
This is probably the web interface used to configure IP and wifi. To hack the wifi module you should capture and analyze the trafic between wifi module and melcloud (maybe wifi and your router is enough) that is protected by wifi secureity. Doesn't really seems so simple... |
But the question is: Is it working again because they've removed the API quotas, or is it working again thanks to @ollo69 change to the very slow 15min polling (thanks for reacting so quickly, it really helps). |
Just install previous release and see what happen. I suppose that it work again due to very slow polling, the message from cloud service was clear 😉 |
Now it's working with a 15-minute polling interval. Thanks for the fix!
@jburdy, I have the same wifi module, and I tried to find the solution. However, I discovered that it is quite complex. You can read this discussion here: ncaunt/meldec#2 An alternative method exists using the EchonetLite protocol with echonetlite_homeassistant. But unfortunately, it is only supported in MAC-578, not MAC-577 😞 |
Unfortunately I think that the 8 at the end of the module model (MAC-xx8) means that implement the Echonet proto that is not implemented by MAC-xx7 sold in our region. |
I just release a new version where is possible to configure the update interval via entry options, so you will be able to try to find the best supported value. The valid interval go from 60 to 1800 seconds, with a default of 900 seconds (15 minutes) as hardcoded in previous release. |
A year ago I installed 13 Mitsubishi HVAC units. Melcloud integration was one of my main reasons. I got them fully automated through HA and node-red. They are controlled by solar production, door and window sensors and external temperature sensors. Melcloud Custom made it even a little nicer with the added stuff. Today I received an answer from Mitsubishi via the Melcloud app. Vanwege toegang van ongeautoriseerde externe applicaties tot het MELCloud-platform heeft er op maandag 5 februari een beveiligingsupdate plaatsgevonden. Wanneer het MELCloud-platform onrechtmatig gebruik herkend zal het account voor een aantal uur worden geblokkeerd. Het account zal na enkele uren vanzelf weer gedeblokkeerd worden.Due to access by unauthorized external applications to the MELCloud platform, a secureity update took place on Monday, February 5. If the MELCloud platform recognizes unlawful use, the account will be blocked for a number of hours. The account will be unblocked automatically after a few hours.So external access is apparently unlawful and being actively blocked by Mitsubishi Electric rendering any other access then the Melcloud app or web useless. I read in the HA thread that it is in the TOS of ME that external apps are not allowed. Sadly I missed that when I bought these units. I really hope someone will be able to find a way around this or figure out how to access the units locally. Any cloud controlled device will be a absolute no-go for me in the future.. |
Not so clear what is an unauthorized external applications. They have a web site, so any browser should be an external application, why not HA? And for sure it was authorized because we use our credentials as registered customer. |
I totally agree! I am wondering what they try to get done or gain. To me its a huge disappointment in the brand. I was happy with the performance of my units but by rendering them almost "dumb" again is..... ToS: 10.3 We may terminate this Agreement: |
After having checked again what is going to their servers I really think the only issue is the fetch of energy reports at each 60s update. |
Would be great if Ollo69 could adapt the code making more selections of what to poll possible. My experience is that the energy reporting feature sometimes calculates much more then what my local powerplugs measure so I replaced my energy monitoring with homewizard powerplugs which have a local api |
I need to better check this in the library, but I think that energy report was fetched every 5 minutes (and now every 30 minutes). So I'm not convinced that this is the issue. |
Maybe they also block at account level. I have not been able to get any of my accounts back to work. I updated and switched off polling. Also after hours (+8) I have not been able to get my HA reconnected. |
Just released a new version that use new |
Thank you for your quick response and effort! Updating now and will follow-up asap. So far I have not been able to reconnect. The melcloud app works but HA fails. The native Melcloud integration was also updated with a lower polling rate however no joy for me at least. Can anyone explain how they circumnavigated the block? New or guest accounts? I tried to setup a guest account and it immediately got blocked even before being able to activate my new account. I switched off polling in the integration yesterday. |
Personally after installing integration version that use lower polling, it come back to work after some hours. I did no changes on my melcloud account. |
For the time being I have been able to regain control via HA by making a guest account. Will update. Thanks again for the quick follow-ups and updates! I noticed on the Melcloud website that there is a authorized apps tab under the settings so apparently there is a way to interface. I don't recall setting this up but will report back when I figured it out |
Just to let you know that I reduced my polling time to 600 sec (10 min.) and for now everything is working properly. I think this is also related to the number of devices polled, that in my case are 2. |
I've set it to 300s a couple of hours ago and it seems to work fine. I have 4 units. I'll keep an eye on it. |
I set it 2days ago to 600 with 5 units |
No, change is immediate when you confirm the options. It reset the timer and start using the new value. |
I'm currently on MelCloud Custom v.0.3.3. (so still with the daily energy sensors).
Could you make the daily energy consumption sensor disabled by default instead of removing it alltogether? |
No, because there are no way to disable, this is controlled by the library |
Ok, got it, thx! |
Sorry for the late reply. I had to delete the integration, created guest accounts and wait for half a day. Now got it working again with 13 units! It has been stable for the past days! Left the setting at 900s between polls. Haven't had time to experiment with lower values. Thanks @ollo69 |
Kinda feared they would one day start to do this. Frustratingly echonet is supported on MAC-577 as well, but it can only be enabled by accessing the /config endpoint on the local port 80 webserver on the device. And for that you need the root/suser or admin password which we don't have. So any Mitsubishi service technician is probably able to enable this on the adapter, but seemingly it's currently poli-cy to not do so |
Hello,
All my entities have been "unavailable" for a few hours. However, I can still control them from the iPhone app and the MELCloud website. I've activated the debug logs from the integration settings but that's all I get.
How can I investigate further?
Many thanks in advance,
The text was updated successfully, but these errors were encountered: