Wled: mqtt state in json-format?

Created on 9 Oct 2019  路  6Comments  路  Source: Aircoookie/WLED

Hi!

its possible to respond the [mqttDeviceTopic]/v not in XML but in json format?
Its very easier to implement all the states in Home-Assistant.

best regards und beste Gr眉脽e
Ren茅

enhancement

Most helpful comment

Hi Ren茅!
Yes, sure, this is being worked on! See #207.
Since I believe the full rework will still take a bit, I believe I will implement the [mqttDeviceTopic]/api and [mqttDeviceTopic]/api/set topics beforehand.

Viele Gr眉脽e :)

All 6 comments

Hi Ren茅!
Yes, sure, this is being worked on! See #207.
Since I believe the full rework will still take a bit, I believe I will implement the [mqttDeviceTopic]/api and [mqttDeviceTopic]/api/set topics beforehand.

Viele Gr眉脽e :)

maybe a the output of of the Json-API
https://github.com/Aircoookie/WLED/wiki/JSON-API
in [mqttDeviceTopic]/v/json would be nice :)
Gr眉脽e

Would it be possible to use serializeSegment serializeState serializeInfo to Mqtt publish states to topics Seg, Stat, Info? Trying to find a easy fix until the reworks :)

Hi @anarchking
definitely yes!
It's a lot of Data but all what we need in Home Assistant :)

regards Ren茅

... and a possible fast solution :) 馃憤 馃

Hey! This issue has been open for quite some time without any new comments now. It will be closed automatically in a week if no further activity occurs.
Thank you for using WLED!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vigne picture vigne  路  3Comments

cemasss picture cemasss  路  3Comments

Legsmaniac picture Legsmaniac  路  3Comments

exeljb picture exeljb  路  4Comments

athlon1900 picture athlon1900  路  3Comments