Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MQTT JSON Format #38

Open
michapr opened this issue Mar 7, 2021 · 0 comments
Open

MQTT JSON Format #38

michapr opened this issue Mar 7, 2021 · 0 comments

Comments

@michapr
Copy link

michapr commented Mar 7, 2021

Thank you for this work!

Do you plan to add the json option for MQTT server?
As you know, many devices report today the data in compact json format - as sample

{"taskname":"system","Uptime":7658292.0,"RAM":767136.0,"Load":12.1,"CPU-Temp":51.5}
{"id":"A4:C1:38:5E:E1:0F","name":"ATC_5EE10F","rssi":-91,"distance":25.51913,"model":"LYWSD03MMC_ATC","tempc":20,"tempf":68,"hum":43,"batt":81,"volt":2.932}    
{"Time":"2021-03-07T11:08:07","Uptime":"42T14:24:15","UptimeSec":3680655,"Heap":27,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":52,"POWER1":"OFF","POWER2":"OFF","POWER3":"ON","POWER4":"OFF","Wifi":{"AP":1,"SSId":"FRITZ!Box Fon WLAN 7170","BSSId":"2C:91:AB:29:2D:1E","Channel":11,"RSSI":76,"Signal":-62,"LinkCount":24,"Downtime":"0T00:21:57"}}

Most of my external devices are reporting in JSON ;)

Thanks!
Michael

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant