Mqtt command has no effect LILYGO TTGO LORA32

Hello, I’m new to OpenMQTTgateway. I’ve managed to read my weather station data and send it to the MQTT server. What I can’t do is hide the logo or turn off the OLED. This should theoretically be possible using an MQTT command, for example, in MQTT Explorer. {“onstate”: false} or {“idlelogo”: false} don’t work in the SSD1306toMQTT directory. What am I doing wrong?
I’m using the following module: LILYGO TTGO LORA SX1278 ESP32 0.96 OLED Display Module 16M bytes

Welcome @uopen

The most likely mistake at the beginning when sending commands to a gateway is to not use the local gateway name in place of the generic OpenMQTTGateway in the command examples,

As a tip you should also add "save": true to your commands, so that the new settings will get saved to flash, to be persistent across restarts.

So in MQTT Explorer:

home/YOUR_SPECIFIC_GATEWAY_NAME/commands/MQTTtoSSD1306/config

{“onstate”: false, “save": true}


That’s what I entered in the MQTT Explorer, but nothing changed.

In your screenshot the actual payload JSON has a red x marked to the left of it, indicating and error with the JSON. Specifically the wrong curly double quotation marks - most likely copied from my hastily typed example above :wink:

What happens when you use the correct straight double quotes everywhere and the red error indicator is not present?

{"onstate": false, "save": true}

It works wonderfully. It’s the little things that make it work. Can the two LEDs, red and blue, also be turned off with an MQTT command? Thanks for the help!

No they cannot be turn off via MQTT commands. AFAIK the red power LED cannot be turned off programmatically at all, short from desoldering it.