Control Jarolift with wemos d1mini + CC1101 & mqtt

HA MQTT Cover https://www.home-assistant.io/integrations/cover.mqtt/

Is Jarolift_MQTT connecting to your MQTT Broker?
Can you see the messages in MQTT Explorer?

Your screenshot is not visible. Most likely the format is not supported or you did not use the insert picture button.

Yes he is connecting,
Ho sorry !

If for example i turn off power supply and after 5 min i turn on
mqtt_ofline

mqtt_online

Please post your configuration.yaml

Here The configuration in configuration.yaml, same as you

#####JAROLIFT CONTROL#####
mqtt:
  cover:
    - name: "Jarolift"
      unique_id: JAROLIFT
      command_topic: "cmd/jarolift/shutter/0"
      availability_topic: "tele/jarolift/LWT"
      state_topic: "stat/jarolift/shutter/0"
      value_template: >
        {% if value == "100" %}
          closed
        {% else %}
          open
        {% endif %}    
      payload_open: "UP"
      payload_close: "DOWN"
      payload_stop: "STOP"
      payload_available: "Online"
      payload_not_available: "Offline"
      retain: false
      optimistic: false

Looks good. And you do not see cover.jarolift in your entities like this?

No :frowning_face:
This is where I don’t understand, because declaring it in the .yaml should at least make it appear, even if it doesn’t work

i 'm on HAOS:

  • Core 2024.4.4
  • Supervisor 2024.04.0
  • Operating System 12.2
  • Interface utilisateur 20240404.2

This is correct unless there are errors. Did you check your log for related errors?

That means errors? Where should I look?

Settings → System → Logs

I have no error with MQTT

Any other errors? You can Post your error log. Did you also check Mosquitto error log? That is selectable on the top right in setting - > system - > logs

I found the problem! It’s a bit curious. In my yaml I had a duplicate key “MQTT” I have one of my mqtt devices which had an excess offset.
By deleting the duplicated key, it detected a block error, I put the correct format back on the “climate” and “sensor” concerned and the cover appeared! What is curious is that my different mqtt entities worked perfectly, but obviously the cover type one put upstream in my config file was not taken into account.

I don’t know if I’m clear.
I take this opportunity to ask this question, I have planned to remove all the mqtt configuration from my configuration file to separate them in another file, Can I make 1 file per entity or should I still not have 1 single “include” with all my mqtt entities declared manually?

https://www.home-assistant.io/docs/configuration/splitting_configuration/

Thank you, you don’t use the SHADE position on your shutters?

No but it should be easy to add.

I tried certain things but nothing worked, it doesn’t matter, I’ll see about it another time, the whole thing is already functional.
THANKS :blush:

hello blastmun,
I would like to do the same, but the connection between the roller and the dongle is not working.
Did it work for you right from the start?
which system did you flash? under MQTT I see the dongle and information, but the connection does not work :frowning:
thanks in advance
Andreas

Hi,

has someone of you also the problem, that your dongle is working for around 1 day and than quit, i.e. pressing a button (in HA or the JaroliftMQTT web interface) has no effect at all? Unless you restart the dongle … any hint would be highly appreciated!
Thanks!

This reply is too late for you I think but maybe others can still benefit from it.
Yes, I had similar issues and after a while I decided to use an original remote that I smartified with an ESP so that it can be used with HA. See here https://community.home-assistant.io/t/control-jarolift-covers-with-esphome-and-an-original-remote-control/686802

I did not have any issues for months now using this remote.