Skip to content
This repository has been archived by the owner on Oct 4, 2021. It is now read-only.

Commit

Permalink
show mqtt base in "http://ems-esp/api?device=system&cmd=settings"
Browse files Browse the repository at this point in the history
  • Loading branch information
proddy committed Jan 29, 2021
1 parent d3ecbda commit fd5057c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
*/

#include "system.h"
#include "emsesp.h" // for send_raw_telegram() command

#include "emsesp.h" // for send_raw_telegram() command
#include "version.h" // firmware version of EMS-ESP

#if defined(ESP32)
#include "driver/adc.h"
#endif
Expand Down Expand Up @@ -954,6 +954,7 @@ bool System::command_settings(const char * value, const int8_t id, JsonObject &
node["port"] = settings.port;
node["username"] = settings.username;
// node["password"] = settings.password;
node["base"] = settings.base;
node["client_id"] = settings.clientId;
node["keep_alive"] = settings.keepAlive;
node["clean_session"] = Helpers::render_boolean(s, settings.cleanSession);
Expand Down

0 comments on commit fd5057c

Please sign in to comment.