Control MCZ Maestro pellet stove via HACore trough MQTT

no, i try to look if something change when the pellets get empty but no luck, maybe @Seb_Lz has a idea to get this work?

Hello All :slight_smile:
I’m trying to upgrade my config, and I’m looking for a sensor (maybe IR) to check how much pellet I’ve got left in the tank. Does anybody have a got such a device ?

Thxs

Nicolas

Not yet but I’m also thinking about doing that. I was thinking to use a car reverse sensor with an esp32. Maybe a little project for the upcoming winter :slight_smile:

Found this link in Italian from a guy who did it. It’s dead cheap around 5€ in components, I just need to find a way to install it inside the stove…

https://www.lejubila.net/2021/04/creare-un-sensore-di-livello-del-pellet-per-una-stufa-e-integrarlo-su-home-assistant/

Hi, thank you for this addon. I try to get it working for several hours without any chance. My head is now out of order :wink: I get the connection with MQTT but it seems I do not get any data from my stove. The log is looping with this sequence:

2022-09-16 19:39:40,016 :root :: INFO :: Websocket still connected ? True
2022-09-16 19:39:40,016 :root :: INFO :: Envoi de la commande pour rafraichir les donnees
Emitting event "chiedo" [/]
2022-09-16 19:39:40,016 :socketio.client :: INFO :: Emitting event "chiedo" [/]
2022-09-16 19:39:40,016 :engineio.client :: INFO :: Sending packet MESSAGE data 2["chiedo",{"serialNumber":"xxxxxxxxxxxxxx","macAddress":"xxxxxxxxxx","tipoChiamata":1,"richiesta":"C|RecuperoInfo"}]
2022-09-16 19:39:44,545 :engineio.client :: INFO :: Sending packet PING data None
2022-09-16 19:39:44,563 :engineio.client :: INFO :: Received packet PONG data None

Any support is more than welcome as now I am stuck.

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.