mirror of
https://github.com/lumapu/ahoy.git
synced 2025-08-06 09:58:23 +02:00
0.8.910008-zero
This commit is contained in:
parent
1c4a83dfd0
commit
3dfbee82c7
8 changed files with 1204 additions and 716 deletions
|
@ -718,6 +718,8 @@ class RestApi {
|
|||
#if defined(PLUGIN_ZEROEXPORT)
|
||||
void getZeroExport(JsonObject obj) {
|
||||
obj[F("enabled")] = (bool) mConfig->plugin.zeroExport.enabled;
|
||||
obj[F("log_over_webserial")] = (bool) mConfig->plugin.zeroExport.log_over_webserial;
|
||||
obj[F("log_over_mqtt")] = (bool) mConfig->plugin.zeroExport.log_over_mqtt;
|
||||
// Groups
|
||||
obj[F("max_groups")] = ZEROEXPORT_MAX_GROUPS;
|
||||
JsonArray arrGroup = obj.createNestedArray(F("groups"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue