WLED status as JSON over MQTT

Hi! I am very happy to get WLED working this weekend (Athom Addressable Strip controller + 24v RGBW FCOB led strip) :grinning:

I have connected it up to my local MQTT server but was slightly surprised to see the current status published as XML at /v.

Are there any plans to add a JSON status topic?
It could be the same as the JSON published to the WebSocket?

Thanks!

nick.

1 Like

JSON (from WLED) can be as large as 30kB. That is usually beyond what MQTT offers.

The maximum payload size for a MQTT packet is 256MB.
30kB should be no problem at all.
Unless there is some kind of limit in the MQTT library that WLED uses?

Just having a JSON version of the existing XML would help.

I have yet to see embedded device providing 256MB payload.

BTW you are welcome to provide PR with update that will do that.

Tracking: Change Proposal: Reorganizing MQTT Topics ยท Issue #207 ยท Aircoookie/WLED ยท GitHub

1 Like