MQTT: Send text from Gladys

Since Gladys version 4.24, we can receive and display text messages sent

I think I understand the functionality but I’m not sure it’s very useful in the sense that you use Node-RED. So while you’re at it, whether you get a text or a number it doesn’t change that you can do everything on Node-RED directly, for example:

Gladys sends 1
Node-RED receives 1 > a switch lets you transform your 1 into the text you want.

Besides, I’m not against it, I like that Gladys can do lots of things ^^

Hello @guim31

2 Likes

Yes, it’s true that it forces you to play on both fronts :confused:

I was thinking the same thing, but I wanted to wait a bit after pushing to send the text to Gladys :laughing:

1 Like

Another possibility that already works now is to make an HTTP request from Gladys to Node-RED in the scenes :slight_smile: Node-RED can listen over HTTP and trigger a flow when it receives a request (which can come from scenes in Gladys)

2 Likes

I don’t use Node-RED :stuck_out_tongue:

As long as the feature doesn’t exist, @Tlse-vins wrote the following tutorial (Node-RED): [NODE-RED] enceintes Sonos

Thanks, I’ll test it.

Hi @PhilippeMA,

It seems to me that this feature is already in Gladys :

Is that OK for you? :slight_smile:

1 Like

Hello @pierre-gilles, yes, perfect! Thanks.

For the use case I mentioned, there is a built-in function to make Gladys speak. It will be useful for other cases :grinning_face:

Ok, I’ll close the post then :slight_smile: