-
Notifications
You must be signed in to change notification settings - Fork 15
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
Log problem #37
Comments
Hello, I noticed the same things! Today, I tried to solve this problem with a rewrite of the heartbeat management. I also implemented multilingual support with the MELCloud app. Save your version and try mine ;) Now I have to wait a week to be sure this problem is resolved. Have fun ;) Dalonsic. |
I get the following errors: No idea why... 2023-11-05 21:10:44.828 Error: MelCloud: Call to function 'onMessage' failed, exception details: |
you can try to change line 162 : I try to add a key,value like in #35... maybe it was not a good idea :) /!\ EDIT3 : today I list 4 deconnexion/reconnexion to MELCloud in log and I have 4 hits every 2min... I think the script dont reset unit lists and every reconnexion to MELCLoud, add clones to units list... I will try to fix this... |
I add logs in my local script to check if self.list_units increase after a deconnection/reconnection to MELCloud...
Tests in progress... |
Hello, |
My current plugin.py 0.8.1... |
I still have the same error. I have no idea what I'm doing wrong. 2023-11-07 19:27:54.448 Error: MelCloud: self.domoticz_sync_switchs(unit) |
can you send me your original plugin.py ? I can fix the duplicate logs in your version |
And it works somewhat. Except that after a day the whole system starts to hang, especially MQTT |
Ok, with your version, I maybe found the difference 😄 2 versions : EDIT : after few fixes... v0.8.2 based on Nonolk version : EDIT : and v0.8.3 based on Mitkodotcom version : Dalonsic. |
I still have the error... |
with both version ? |
No, with your version. I have started my corrected version and now have to watch whether the logs are duplicated. Thank you first... |
Ah ok 👍 |
So so far everything is going very well, no duplication and no overload of the system. Good job. Thanks |
Good News 😃 ! So for people who need/want to fix the script, add one line with "list_units.clear()" before reset connection :
And you can try my script : EDIT : and v0.8.3 based on Mitkodotcom version : Dalonsic. |
@dalonsic , Thanks for the work. I just put in your plugin.py 0.8.2 version. 2023-11-11 10:06:16.314 Error: Airco: Call to function 'onMessage' failed, exception details: I honestly have no idea what is causing this. |
You have same pb than Schurgan 😢
And make a backup of your script 😄 |
I used your latest script. 0.8.2 where this 'self.list_units.clear()' is already present on line 458. |
You can try to use the Schurgan version (plugin.py.forSchurganOnly.zip) with the fix ? |
OK. This seems to work. Thanks! I will keep an eye on it for a while. I just had to add my '&Language=12' in the login string again to keep the MELCloud app in Dutch. |
I have upgrade my version... to be based on the Mitkodotcom version (#27) #27 (comment). with :
EDIT : v0.8.3 based on Mitkodotcom version : Dalonsic. |
I immediately tried and for me it looks very good!
|
Hello, I'm not familiar at all with GitHub, but noticed that nonolk proceeded to a brilliant improvement using setpoints instead of multilevel switches to control MELCloud units. On the other hand, tuk90 made a great job extending the features of MELCloud plugin giving the ability to set polling interval, but this version uses the legacy multilevel switches that is not really convenient. Is there a possibility that somebody merges the 2 capabilities? Thanks Patrice |
For me it seems to be broken since I am on version 2024.4, is it still working for you or did it also break at your side? |
My bad, the error code which I got was 429. So I disabled the plugin for a day and after that booted it again and then it worked. I will add more polling interval options to solve this |
Hello,
Thank you very much for your work with the plugin. I have 4 indoor units and I have a huge problem with the log. If the plugin makes the status query every 25 seconds, the following is written to the log:
2023-10-16 20:17:47.189 MelCloud: Update unit Michael information.
2023-10-16 20:17:50.014 MelCloud: Update unit Valeria information.
2023-10-16 20:17:50.075 MelCloud: Update unit Wohnzimmer information.
2023-10-16 20:17:50.126 MelCloud: Update unit Schlafzimmer information
Everything is going well so far. But every day the text in the log doubles and the next day there are 2 entries for each indoor device. This is what it looks like on the second day:
2023-10-16 20:17:47.189 MelCloud: Update unit Michael information.
2023-10-16 20:17:47.189 MelCloud: Update unit Michael information.
2023-10-16 20:17:50.014 MelCloud: Update unit Valeria information.
2023-10-16 20:17:50.014 MelCloud: Update unit Valeria information.
2023-10-16 20:17:50.075 MelCloud: Update unit Wohnzimmer information.
2023-10-16 20:17:50.075 MelCloud: Update unit Wohnzimmer information.
2023-10-16 20:17:50.126 MelCloud: Update unit Schlafzimmer information
2023-10-16 20:17:50.126 MelCloud: Update unit Schlafzimmer information
And so the messages multiply every day, so that after a week the log becomes so overloaded that the Raspi warms up and eventually crashes.
The problem can be solved temporarily by restarting the plugin. But that's not a good solution if you're not at home for a few days or something like that...
What can cause this? Ask for support. Thanks
The text was updated successfully, but these errors were encountered: