mcer12 / Hugo-ESP8266

Hugo is a 4-button ESP8266 Wi-Fi Remote, Arduino compatible and simple to use.
MIT License
110 stars 11 forks source link

configuration webpage doesn't show complete payload #29

Closed ravi-ramadoss closed 4 years ago

ravi-ramadoss commented 4 years ago

Issue: I have set the value of "{"siteId": "hugo1"}" in the payload value. The setting is saved in Hugo. It sends the correct payload to Matt server. But it doesn't show up when I open the configuration page again.

Actual: Screen Shot 2020-06-30 at 7 41 55 AM

Expected: The complete string "{"siteId": "hugo1"}" should show up in the configuration page

mcer12 commented 4 years ago

It only accepts simple text/number strings. It's stored in json file so the payload itself being json is not gonna work, or at least not correctly :) The main issue would probably be the quotes. You should do something like Topic: siteId, Payload: hugo1