Skip to content

Added possibility to configure through MQTT#1169

Draft
gskjold wants to merge 5 commits intomainfrom
feat/config_via_mqtt
Draft

Added possibility to configure through MQTT#1169
gskjold wants to merge 5 commits intomainfrom
feat/config_via_mqtt

Conversation

@gskjold
Copy link
Copy Markdown
Member

@gskjold gskjold commented Mar 26, 2026

When using JSON payload, this enables the device to be configured via MQTT. The JSON to set config looks like this:

{
    "action": "setconfig",
    "config": {
        ....
    }
}

Where the config is in the same format as HTTP configuration.json file. More information on this will be documented.

Thorough testing required. Also, we need to verify that everything works on ESP8266 after changing the common buffer size and also how the configuration.json HTTP request is handled. We possibly need to implement a different handling for ESP8266.

@github-actions
Copy link
Copy Markdown

🔧 PR Build Artifacts

Version: 048bd47

All environments built successfully. Download the zip files:

Artifacts expire after 7 days. View workflow run

@ArnieO
Copy link
Copy Markdown
Contributor

ArnieO commented Mar 27, 2026

We possibly need to implement a different handling for ESP8266.

I propose we omit this feature for ESP8266.

MQTT configuration is particularly useful for "fleet management", for our business customers that have a number of devices installed on a number of locations. We have no such cases with ESP8266-based devices.

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

Successfully merging this pull request may close these issues.

2 participants