Control MCZ Maestro pellet stove via HACore trough MQTT

USE_MCZ_CLOUD: true
MQTT_ip: core-mosquitto
MQTT_port: "1883"
MQTT_authentication: "True"
MQTT_user: user
MQTT_pass: pass
MQTT_TOPIC_SUB: Maestro/Command
MQTT_TOPIC_PUB: Maestro/State
MQTT_PAYLOAD_TYPE: TOPIC
WS_RECONNECTS_BEFORE_ALERT: "5"
MCZip: 192.168.120.1
MCZport: "81"
MCZ_device_serial: "xxxxxxxxxxxx"
MCZ_device_MAC: xxxxxxxxxxxx
MCZ_App_URL: http://app.mcz.it:9000
debug: true

It seems you connect through the cloud.

Do your App on the phone get any info from the stove ?

Yes, I can get connected to it and suucessfully starter the store via the MCZ app.

Have you double checked your Serial & Mac Info ? Normally it works…

Yes. I have only a double for the Mac : I put the Mac of the wifi interface in lowercase without “:”. Is that correct?

You have to use the MAC that you can see on the MCZ app, when you configure the stove, I first tried with the “real” @MAC i found in my router, and it was not working.

you need to use the MAC written on the stove

Yes I trier both without success. I have now without success the Mac from the mcz app. I have one for bt and one for wifi. I use the Mac from the wifi.
Still no success.

Did you use the correct local IP address ?
I see 192.168.120.1 in your config, is it the right IP for your stove on your wifi router ?

Quick question about my On/ Off Switch

my switch looks like this:

switch:
  # Switch Poele On Off
- platform: mqtt
  name: poele marche arret
  state_topic: "Maestro/State"
  value_template: >
   {% if value_json['Etat du poele'] == 'Eteint' %}
   Eteint
   {% else %}
   En marche
   {% endif %}
  state_on: "on"
  state_off: "off"
  command_topic: "Maestro/Command"
  payload_on: "34,1"
  payload_off: "34,40"

The yaml looks like this :

cards:
  - show_name: true
    show_icon: true
    type: button
    tap_action:
      action: toggle
    entity: switch.poele_marche_arret
    icon: mdi:fire
    show_state: true
    icon_height: 80px
    name: Marche Arrêt

The problem is that the card does not show the state of the stove
Capture d’écran 2022-09-21 100207

why is that ?
thx a lot

Hi, is there à way to know with this intégration what is going wrong : detailed log for exemple. I don´t know right now how to do the Troubleshooting. Thanks.

@Ludo, I tried both adresses, the one from my rooter and the default one without success. MAc is the one from the app and ip the one from my router. What is stange is the bluetooth mac and wifi mac are the same in the apps.

Hi,
I am trying to read the “Temperature ambiante” using MCZ cloud but it gives me a strange value: 125,5 °C.

This is the code:

    - name: "Stove pellet room temp"
      state_topic: "Maestro/State"
      unit_of_measurement: "°C"
      value_template: "{{ value_json['Temperature ambiante'] }}"

In the room I have around 20 / 21°C so it is very strange also because the other values of the pellet stove are accurate.

Thanks!

does any have any idea on what is going wrong with my setup in cloud mode?
I tried lot of things without success.

Hello,
I did for a friend a custom component to control the stove directly (local connection, no mqtt ans manual configuration needed). If some of you want to test it and improve it.

1 Like

@klim123123 : maybe this is a solution for you (cf. Control MCZ Maestro pellet stove via HACore trough MQTT - #81 by kimme1024) ?
This is doing the same thing as my plugin (that can be configured for direct access based on chibald’s plugin too) except that it works with an HA integration rather than an ha-addon.

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)?