Control MCZ Maestro pellet stove via HACore trough MQTT

Hi @Mati24,

This looks very promising, thanks for your work here.
However I can’t find the integration in the list.
I’ve copied the directory to my custom_components folder, restarted HA, cleared browser cache, but nothing shows up when I search for mczmaestro…

Any idea what went wrong?

EDIT

Today it suddenly appeared in the list, however this came with a second issue, namely that on clicking I’m getting an error that this integration cannot be configured trough the UI.

Thank you for the report, I just sent a fix :slight_smile:

Hello @Mati24
I’m trying to test your integration.

Note that I’m also using the add-on from @Seb_Lz

When I launch the integration, I set my IP and I’ve got an “Unknown error occured”
Any idea ?

Thx a lot

Other question for @Seb_Lz I can’t find the way to change the profile using your add-on ? I know it is available on the chibald script, but can’t find in yours (dynamic, comfort, power, overnight).

Thx a lot

Can you get the log ?
Do you have a direct access to the stove on it wifi (MCZxxxx => 192.168.120.0/24)?

aahhh this network !!! sorry I got mixed up, yes I can connect to this network, but my HA is conected to my Home network (wired)
Can I set both connexion ?

sorry totally different problem …

@o0larry0o : if it’s in the Chibald script, it should also work in my addon that simply embeds it.
I suppose you’re refering to “Maestro/Profile” ? If so, you could send MQTT command with the right payload just like in the Power ON/OFF example.

@Seb_Lz thx a lot, that’s exactly what I am looking for.
Althought I don’t undestand how to do it, since i’m using the values in the payload (34,x) etc because I’m using the cloud script, and I don’t see a command for the profile in your commands.py.

Do you mean that instead of using the regular topic “Maestro/command” I can use “Maestro/profile” ?

I’m not an expert in those scripts but I see on one hand in the cloud script:

	[18,"Profil",[
					[0, "Manuel"],
					[1, "Dynamic"],
					[2, "Overnight"],
					[3, "Comfort"],
					[4, "Power 110%"],
					[10, "Mode Adaptatif"],
					]],

And on the other hand in chibald script:

# Maestro Control Messages
MAESTRO_COMMANDS.append(MaestroCommand('Silent_Mode', 45, 'onoff', 'Basic'))
MAESTRO_COMMANDS.append(MaestroCommand('Active_Mode', 35, 'onoff', 'Basic'))
MAESTRO_COMMANDS.append(MaestroCommand('Eco_Mode', 41, 'onoff', 'Basic'))
MAESTRO_COMMANDS.append(MaestroCommand('Control_Mode', 40, 'onoff', 'Basic')) # 0 = Auto , 1 = Manual
# Untested, proceed with caution
MAESTRO_COMMANDS.append(MaestroCommand('Summer_Mode', 58, 'onoff', 'Basic'))
MAESTRO_COMMANDS.append(MaestroCommand('Adaptive_Mode', 149, 'onoff', 'Basic'))

So I suppose that if, for example, you want to set your profile to “Mode adaptatif”, you’d have to use payload 149 for the corresponding ‘Adaptive_Mode’ command. But this is only just a guess…

Hi,
I do not see the wifi from the stove so I can not connect to it s wifi. The store is connected to my router.
Is there a trick to get the stove working in access point?

Hello,
Sorry to get back so late on this, I was busy on some other stuff.

just tested it, and it works fine
here are the payload as they are not writen in the readme or command.py

149,0 : manuel
149,1 : Dynamic
149,2 : overnight
149,3 : comfort
149,4 : power 110%

Thing is, your config file is now different from the Chibalds one
and i don’t understand why it work
in your the 149 payload is only on off in the untested section

MAESTRO_COMMANDS.append(MaestroCommand('Adaptive_Mode', 149, 'onoff', 'Basic'))

While his have the same and another one:

MAESTRO_COMMANDS.append(MaestroCommand('Profile', 149, 'int', 'Basic'))

by the way, he added a SetTime and Date option

Could you maybe update your script ?
Still I don’t understand why it works …
thx a lot

do you want to connect directly or using the cloud script ?

for the cloud option, you need to set the local wifi IP of the stove, that is connected to your home router
the device is called : MCZ-RemoteService

It is not the same as the access point provided by the stove that you use to connect directly (no cloud) with your maestro app
This Access point have a DHCP server and the SSID is called " MCZ-xxxxx"
if your using this the stove IP seems to be always the same 192.168.120.1

hope that helps

One or the other one. I did not get chance with both methods.

Cloud is preferred but I can not find this MCZ-xxx on my router instead I have expressif with a Mac where only the last digit change ‘c’ instead of ‘f’.

The MCZ-xxx SSID is not to be visible on your router, it is used when you want to connect your phone directly to the stove.

How do you connect your app to the stove ? cloud or not ?

Other question for everyone.

Can we share our automation blueprint for our stove ?
I know it depends on our houses, insulation factor etc.

But It could be nice to share our pattern (I would like that ahah)
Since the outside temp was vey kind in France for the past weeks, and I have my stove since last june, I’m only starting to see how it behave.

I only set up simple automation based on time and temperature, but I would like to be able to implement progressif power, like
If i’m far away from the desired temp, the stove is on full power.
when I’m getting close to the temp, the power gradually goes down, etc.

The objectives is to achieve the more comfort temp and use less pellet as i can.

What do you think ?
Or maybe there is another thread for this ? but I could not find it.

Thx a lot

Hi Ludo,

It seems my stove is different for the connection.
I have bluetooth and wireless connection.
When I try to connect a new stove it only give the name of the stove : MCZ_EPXXXXXX. I tried to used that as SSID but then I have a request for SSID password.

Regards.

I’m sorry

appart from what i’ve said in my previous post

I don’t know :confused:

Hello,
Haven’t tried your integration yet, and since i’m still e newbee with HA, it might solve one problem.

Does the integration consider the stove as a device with entities ?
so we can use them in automation with HA without having to send mqtt payload ?

Other question, how do you remain connected to your home network AND to the stove ?
I haven’t dig in this, but as my RPI4 is wired to the network, can I use the wifi card to connect to the stove ?

Thx a lot

Hello,
Yes that’s the goal of a component, you directly have the device/entity in HA, no (mqtt) configuration needed.
Currently you have to use a dedicated wifi interface to connect directly to the stove Wifi network

I have to implement the cloud connectivity, but I have to find time for this

great !! I’ll ty using both wired and wifi from my RPI, but it seems a bit tricky

I don’t know anything about python coding, but can the integration provide a switch(es) to change the profile modes ? (comfor, power, overnight, manual) ? as I need this for my automation, and don’t see anything related to this in the code.

Thx a lot

EDIT : I don’t get it, you wrote “dedicated”’ … I’m running HAOS, and I have 2 network interface, can’t I activate both ?

EDIT 2: got it working with CLI, pffiouuuu
I connected to the stove, but the sensor or entities shows unknown status, or not available

can you give me a hint ?
image