Skip to content
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

No Polling Time for older Stove Model #114

Open
Voidfloop opened this issue Feb 23, 2024 · 36 comments
Open

No Polling Time for older Stove Model #114

Voidfloop opened this issue Feb 23, 2024 · 36 comments
Labels
bug Something isn't working

Comments

@Voidfloop
Copy link

No polling time for older stoves. Polling only works with manual entries such as: timer switch, fan control etc.
If you hear a beep, there is new data.

IMG_7848

@Robbe-B
Copy link
Owner

Robbe-B commented Feb 23, 2024

@Voidfloop,
is there any errors in the logging ?

@Voidfloop
Copy link
Author

Do you mean in the Home Assistant Core log file?
There is no error recorded there.
There were problems with the installation yesterday. Uninstalling and reinstalling worked.
But during normal operation there is nothing in the log file.

@Voidfloop
Copy link
Author

The only quiet push I have is to turn the beep off.
I could trigger this via automation.
But then there are no more acknowledgment tones.
Maybe there is another way to trigger the stove?

@Robbe-B
Copy link
Owner

Robbe-B commented Feb 27, 2024

The only quiet push I have is to turn the beep off. I could trigger this via automation. But then there are no more acknowledgment tones. Maybe there is another way to trigger the stove?

Maybe, the thing is, I can't really know that since I don't have an older stove 😞

@Voidfloop
Copy link
Author

Voidfloop commented Feb 27, 2024

So I'm currently testing my workaround.
I trigger the beep silent mode every minute.
I have concerns about the lifespan of the installed eprom. I have no idea whether it has problems with being constantly written to, or whether that even happens with the command.
I don't delve deep enough into the matter.

I will help you as best I can to improve your integration

alias: Pelletofen Trigger
description: ""
trigger:

  • platform: time_pattern
    minutes: "*"
    condition: []
    action:
  • service: select.select_option
    metadata: {}
    data:
    option: Silent
    target:
    entity_id:
    - select.wohnzimmer_tones
    - select.keller_tones
    mode: single
    `

@Robbe-B
Copy link
Owner

Robbe-B commented Mar 4, 2024

@Crisicus, are you aware of M1 models using another "ping" call ?
The polling seems to kick in every 30 sec but still receives the same data each time.
Until the point the user performs a set to the device.

@Crisicus
Copy link
Collaborator

Crisicus commented Mar 5, 2024

@Robbe-B I do not.
There's probably a method for the M1 stoves, but without having access to one of those stoves, I don't think it'll be easy to find.

@Voidfloop I know this is a stretch, and I obviously understand if you don't want to, but if you could share your stove with me in the app, I could check what the app uses to poll your stove type.

@Robbe-B
Copy link
Owner

Robbe-B commented Apr 15, 2024

If there is any user reading this,
who happens to have a M1+ model stove and is willing to let us have a look at your stove. (Credentials can be changed afterwards).
This is obviously a lot to ask, but without this, we cannot move forward on this topic.

NOTE: For the more technical folks who have such model.
The technical information would be a great help as well.
Kind regards,
Robbe

@Robbe-B
Copy link
Owner

Robbe-B commented Sep 12, 2024

@Crisicus,
I noticed an app update related to performance,
Any chance you can find out what they've actually changed to achieve this ? I wonder if we should do the same for this integration then.
Screenshot_2024-09-12-14-53-53-09_b5a5c5cb02ca09c784c5d88160e2ec24.jpg

Kind regards,
Robbe

@Voidfloop
Copy link
Author

First of all, sorry that I haven't been in touch for a long time.
I have to do some maintenance on my stove first.
The best thing to do is to log on to my stove and see for yourself what's happening with the communication.
Can't you write a direct message here because of the login details?
Perhaps a cell phone number via WhatsApp.
Direct communication would be better. I don't want to have the stove on all the time, the weather is still relatively warm. ;)

@Voidfloop
Copy link
Author

I just turned the stove on and noticed that automatic polling is still not being carried out. Only when something is manually set again do the current values ​​appear.

@Robbe-B
Copy link
Owner

Robbe-B commented Sep 17, 2024

@Voidfloop,
Great to hear from you again !
It would indeed be a great help if we would be able to login to your stove in order to figure out how this exactly works.
This is something @Crisicus is more comfortable with as far as investigating goes.
So @Crisicus, if you are here, would you mind getting a look at this ?
@Voidfloop, maybe try to get in touch with @Crisicus, he will provide me with the details in order to implement this.
It's nice collaborating with you guys !
Kind regards,
Robbe

@pvillmann
Copy link

Hi, if you Need a second stove to Check something just contact me.
My stove is a Club Hydromatic M1 from 2020.

@Robbe-B
Copy link
Owner

Robbe-B commented Sep 19, 2024

@Crisicus ^^^^

@Crisicus
Copy link
Collaborator

I'l currently in the USA for the rest of the month. Will check back afterwards!

@Robbe-B
Copy link
Owner

Robbe-B commented Nov 12, 2024

@Crisicus,
How are you doing ?
Did you already had some time to have a look at this ?
Actually more and more people are asking me about this.

Kind regards,
Robbe

@Robbe-B
Copy link
Owner

Robbe-B commented Nov 19, 2024

@htbuddha,
In #162, you where talking about the "upgrade" app.
How do you go from the "dumb" app to the "upgrade" app ?
Because you need an MCZ account at some point right ?

@htbuddha
Copy link

htbuddha commented Nov 19, 2024

You simply download the upgrade app register an MCZ account (which you previously did not have, with the "dumb" app)
image
image

^ This is when I installed your integration, and it worked perfectly, until around month ago somewhere - September maybe.

@Robbe-B
Copy link
Owner

Robbe-B commented Nov 19, 2024

I might try to get a used motherboard of such model.
I'll see if this is possible.

@Robbe-B
Copy link
Owner

Robbe-B commented Nov 19, 2024

The only workaround I can think of is setting the system date and time every 30 seconds via an automation.
This will probably let the polling kick back in ?
image

@htbuddha
Copy link

htbuddha commented Nov 19, 2024

The only workaround I can think of is setting the system date and time every 30 seconds via an automation. This will probably let the polling kick back in ? image

Yes, either that or setting the sound option to "silent" every 30 seconds. An automation on iPhone (shortcuts) where you open the application every 30 seconds should work too, but obviously causes battery drain.

Lowering the temperature by 0.5 and then raising it by 0.5 with automation would also work.

@Robbe-B
Copy link
Owner

Robbe-B commented Nov 19, 2024

Anyway, I'll search for a more permanent solution in the long term.
Once this issue is solved, this integration might be the best one for HA, sadly it's still using there wonky cloud infrastructure.

@htbuddha
Copy link

Yes. It would be much better if you could use the local connection to read the data. Idk if that works on the newer models, but the older stoves can be controlled locally. Perhaps add a drop down menu for users to select old models or new models, and for old models make use of the local connection.

@Robbe-B
Copy link
Owner

Robbe-B commented Nov 19, 2024

Yes. It would be much better if you could use the local connection to read the data. Idk if that works on the newer models, but the older stoves can be controlled locally. Perhaps add a drop down menu for users to select old models or new models, and for old models make use of the local connection.

It's a good suggestion but it's not that simple like just adding a dropdown, the local communication is using an entire other protocol to communicate from my understanding. Also the local communication needs to be done over a completely separate connection => "WIFI HOME" SSID the stove sends out.

In the newer models they completely replaced this with Bluetooth Low Energy (BLE) which makes it even harder to understand the workings and to locally communicate with these stove models without extra hardware like the HA ESPHOME Bluetooth Proxies.

@htbuddha
Copy link

htbuddha commented Nov 21, 2024

image
Unfortunately the date and time workaround does not seem to be solving the issue. The ambient temperature is not being updated correctly.

Lowering the temperature by 0.5 (and then raising it 0.5) does make the temperature update:

image

@Robbe-B
Copy link
Owner

Robbe-B commented Nov 25, 2024

@htbuddha,
FYI => I got my hands on a MCZ TILDA Comfort Air M1 10 kW
I've added this one into HA with this integration, but it seems to update fine (without any apps open).
image
This might be the same as it worked fine for you as well in the beginning.

@htbuddha
Copy link

Thanks for the update. Very odd. What's even more odd is that this morning I woke up to a dead stove. The technician just came and the motherboard/"printplaat" is broken according to him. And they don't have any in stock...

I wonder what causes a motherboard to die like that.

@Robbe-B
Copy link
Owner

Robbe-B commented Dec 3, 2024

I found something interesting in the config of the M1 models (MCZ TILDA Comfort Air M1 10 kW)=>
image

@htbuddha
Copy link

htbuddha commented Dec 7, 2024

They have finally installed a new motherboard. The same issue persists.
This config that you show, where was it gathered from? Was this included in a recent update?
Would make sense, and conform my analysis of the issue.

@Robbe-B Robbe-B added the bug Something isn't working label Dec 10, 2024
@Robbe-B
Copy link
Owner

Robbe-B commented Dec 10, 2024

@htbuddha,
I've got this from the diagnostics file from this integration for the "MCZ TILDA Comfort Air M1 10 kW" model.
But it implies the ping command is maybe implemented different for the M1 models.
Instead of the "ping" method provided by the API.
@Crisicus any thoughts on this ?
The M1 models (MCZ upgrade app) probably sets this as a 'configuration' (like all other sets in the integration) rather then using the dedicated ping method.
Kind regards,
Robbe

@Crisicus
Copy link
Collaborator

@Robbe-B
These configs are for the older models with a WiFi AP. They are the commands you can send over websocket to the stove.

I saw these first when researching on this repo; https://github.com/Chibald/maestrogateway

@Robbe-B
Copy link
Owner

Robbe-B commented Dec 10, 2024

@Crisicus,
Indeed, these models can now also use this integration once you connect them from the "MCZ Maestro - Upgrade" app (the gray one)
image

You can therefore migrate from the old MCZ app to that upgrade app which let you create an account.
From that point onwards you can simply start using this integration.

See:
image

@Robbe-B
Copy link
Owner

Robbe-B commented Dec 10, 2024

@Crisicus,
The only thing missing is the correct ping command.
Would you be able to find this out in the "MCZ Maestro - Upgrade" app ?

@htbuddha
Copy link

I've got this from the diagnostics file from this integration for the "MCZ TILDA Comfort Air M1 10 kW" model.
But it implies the ping command is maybe implemented different for the M1 models.
Instead of the "ping" method provided by the API.

How would that explain that it used to work perfectly for months, and then suddenly stopped working?
Looking forward to the progress and hopefully you can fix the issue. That'd be great!

@Crisicus
Copy link
Collaborator

I've got this from the diagnostics file from this integration for the "MCZ TILDA Comfort Air M1 10 kW" model.

But it implies the ping command is maybe implemented different for the M1 models.

Instead of the "ping" method provided by the API.

How would that explain that it used to work perfectly for months, and then suddenly stopped working?

Looking forward to the progress and hopefully you can fix the issue. That'd be great!

From what we've seen so far, MCZ changes their API and way of working a lot. Keep in mind that everything in this and other repo's is 100% unofficial, MCZ does not offer public API's, and thus, have no obligation to prevent breaking changes. We will always be 1 step behind until they release a public API, if they ever choose to do so.

@htbuddha
Copy link

I've got this from the diagnostics file from this integration for the "MCZ TILDA Comfort Air M1 10 kW" model.

But it implies the ping command is maybe implemented different for the M1 models.

Instead of the "ping" method provided by the API.

How would that explain that it used to work perfectly for months, and then suddenly stopped working?
Looking forward to the progress and hopefully you can fix the issue. That'd be great!

From what we've seen so far, MCZ changes their API and way of working a lot. Keep in mind that everything in this and other repo's is 100% unofficial, MCZ does not offer public API's, and thus, have no obligation to prevent breaking changes. We will always be 1 step behind until they release a public API, if they ever choose to do so.

I'm aware and did not point any fingers or blame you(?)
Just looked for confirmation whether or not that change was indeed introduced with an update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants