Is it possible to retrieve a string in an MQTT feature?
I searched but couldn’t find anything; there are only booleans and the three-position option with the shutter feature. Of course, I don’t want to use it in a scene but in the long run, why not
I was looking to display an updated date, every day
This strongly resembles my request to be able to retrieve alpha-type data in the device features, particularly when those devices are MQTT devices originating from Node-RED processing.
Hello @pierre-gilles@Einstein8854,
I’m using Node-RED with the RTE Tempo API. And so, as with the Ecowatt integration, I wanted to display the following day’s date and its color.
For now the best I found to display the colors is the « siren » (active/inactive) feature with the bell. So having the date above it would be nice!
As soon as I finish, I’ll post the Node-RED flow and the Gladys config.
The idea of retrieving this date in a scene was to compare that date with today’s date and be notified in case of an issue with the API, the broker, or any other problems…
@pierre-gilles,
my request dates from March 13 as part of a thread on units of measurement.
it was to be able to retrieve alpha data resulting from Node-RED processing of the information collected from my weather station. The idea being, for example, that on devices coming from mqtt-nodered, in functionality you can select the functionality ‹ unknown › (which exists) and that on this functionality you can define the type of data to retrieve and disable the numeric min-max notion, as well as the unit.
this could also be useful for other devices (health-type) that can be interfaced via Node-RED.
What you want is key / value (date => value), but here you want to make 2 features at the same level, that’s weird! (and not easy to understand in the UI)
What we should rather do is imagine a new data type that would allow displaying that properly, I think
And what if the solution was to code the RTE tempo in Gladys instead? ^^ (Ecowatt took me about a day of coding)