I am continuing my discovery of Gladys (having, thanks to you, integrated all my Sonoff Basic devices), and I am now moving on to my WIFI AL-LC01 module (RGB LED strip) that I have just put under Tasmota, as described in many tutorials allowing it to be integrated subsequently under various other assistants.
The question now arises as to its integration under Gladys, via MQTT, since the other tutorials do it. Any MQTT/Tasmota experts willing to give me a little help?
Thanks in advance,
Have a good start to the evening,
Jean
Hello,
First question, which version of Gladys do you have, v3 or v4?
On both, the Sonoff module currently only integrates the switches, but for v4, it will be a matter of integrating the RGB « soon ».
We have already discussed the question with @Reno.
If not all devices are integrated right away, it is mainly because we do not all have them, but the community allows us to see the omissions, and teamwork can therefore be established to fill in the gaps.
Hi @AlexTrovato, and thanks for taking the time to reply to me again, it’s really nice of you
As indicated, I am on V4, since V3 is supposed to be replaced by the latter (and because it is supposed to bring more things as well …).
@pierre-gilles hinted in another post that the MQTT module would be a basic building block for V4 and the modules that would be developed on it. So I am trying to understand the protocol. If I can be of help to @Reno and to you in integrating modules, I am ready to perform the tests you wish to propose to me to perform with my equipment
Hello, theoretically they are supported, but the developments have not yet been integrated into the master. The display on the dashboard will always be missing, as no decision has yet been made for the design.
A big thank you to everyone, certainly including @AlexTrovato, because my LED strip is now perfectly controlled by Galdys (my wife complains, but I don’t care: the kitchen island now has a beautiful dark blue in the early evening and turns red in the morning…). Two questions now arise: the color selector display is not great at all, it’s almost black, and the colors don’t really match. On the other hand, how to achieve a smooth transition between two colors over a given duration?
Does this LED strip support transitions? (is there an API for that?) or do we need to handle the transition on Gladys’s side and send regular commands to make a « fake transition »?
The module that controls the banner is a HomeAssistant module bought on AliExpress, whose firmware has been replaced by a Tasmota (version 9.4.0 currently) and which is configured as an AriLux LC01 module. If I go through the module’s WEB interface directly, I do not find any reference to a transition configuration… This may be something to consider if it interests someone other than me? Otherwise, could it be « scriptable », either in a dedicated module for a language dedicated to Gladys with an editing interface, or by going « under the hood »? I was also thinking of a transition or variation in light intensity depending on a possible room light sensor, to avoid glare at night, for example…
I’m following up on @VonOx’s message. Gladys is compatible with Chrome, Firefox, and Safari. Are you using one of these?
Not at this stage. You would simply need to code the functionality into Gladys However, if you want to help develop this feature, that would be great! You can create a feature request in the « feature request » category on the forum to reference the development.
I confirm using Google Chrome in its latest stable version on Linux Mint.
Regarding development, I would like to help, but lack of time and knowledge of the language used, so I prefer to try to give you feedback and try to move forward like that
Hi, I’m just dropping by, but this is due to the default value which should not be set. The « last_value » does not exist or is equal to 0.
But I won’t have any availability to get my hands on the code
To move the subject forward, I just tested from Chrome on Android, Chrome on Mac, and Firefox on my Mint: same black screen issue… How can I send you a trace that you can use to help me?
Can you change the color directly on the device via the Tasmota UI?
This should then send a message to Gladys with the color and thus update the « last_value ».
Hi,
I will try to check that in the coming days. If you could give me the content of the MQTT message sent by your Tasmota device, that would be great.
I think you can find that in the device console, otherwise I use an MQTT client (MQTT Box on Windows) to see the exchanges.