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 Format #125

Closed
jensfr1 opened this issue Jul 5, 2018 · 5 comments
Closed

MQTT Format #125

jensfr1 opened this issue Jul 5, 2018 · 5 comments

Comments

@jensfr1
Copy link

jensfr1 commented Jul 5, 2018

The MQTT format is not really user friendly. It would be great if the output would be like this

topic/username/STATE {.....
e.g.
tele/sonoff-keller/STATE {"Time":"2018-07-05T20:47:38","Uptime":"17717T11:47:37","Vcc":3.459,"POWER":"OFF","Wifi":{"AP":1,"SSId":"wlan","RSSI":100,"APMac":"1111"}}

Thanks, Jens

@cyclemat
Copy link

cyclemat commented Jul 20, 2018

better is you make it in the JSON string this is the the only way you can work with the data like
the system must work this way

RFIDTOPICNAME/ TIME:, USER: , CARDID:as45464, ACESS:YES/NO, CARD VALIDDATE, RELAIS ACTIVE:YES/NO, WIFISIGNAL:100,

@omersiar
Copy link
Collaborator

omersiar commented Aug 3, 2018

We are making it JSON formatted text on next release.

@omersiar omersiar added this to the 0.7.7 milestone Aug 3, 2018
@omersiar
Copy link
Collaborator

omersiar commented Aug 3, 2018

  • Fix retained publish
  • Implement LWT
  • Return JSON formatted text to MQTT Broker

@omersiar
Copy link
Collaborator

omersiar commented Aug 8, 2018

We won't have the LWT, at least not in a way that MQTT protocol specifies but now we have heartbeat and boot messages.

@omersiar omersiar closed this as completed Aug 9, 2018
@rijulmanch
Copy link

@omersiar what's the issue with LWT?

@omersiar omersiar mentioned this issue Sep 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants