Trigger sending of MQTT message

I think it would be interesting to be able to send a message to an MQTT topic within a scene if a condition is met.

This is the inverse of the feature recently implemented in Gladys version 4.30: arrival of an MQTT message.

Hi :slight_smile:

Here is the PR that adds the action :

2 Likes

@Lokkye you’re too fast!! :smiley:

You can modify the text:
To type a … '{{ '. Warning …

That is to say, add a space after the braces.
There are quite a few messages on the forum because of that.

3 Likes

@Lokkye , awesome! :muscle:

Yes, I’m still perplexed! :clap: :+1:

[quote=« Tlse-vins, post:4, topic:8516, full:true »]
You can modify the text:
To type a … '{{ '.Warning …

That is to say, add a

3 Likes

@Tlse-vins: I just made the change :slight_smile:

Do you want a Docker image to run tests?

2 Likes

Totally! :blush:

Here is the Docker image: delogzway/gladys:action_mqtt_message

1 Like

@Lokkye , super, thank you very much, I just tested and for now the integration is responding perfectly. :+1:

Tested and approved on my side, I’ve merged it into master — it will be included in the next Gladys release :slight_smile:

Nice PR @Lokkye :clap::clap::clap:

2 Likes

It’s available in the latest version of Gladys!