Skip to content

Conversation

@hajoha
Copy link
Contributor

@hajoha hajoha commented Aug 5, 2025

Current Issue:
With the new configuration file format introduced in #66, the config files are approximately 6 KB each, while a QR code can only store up to about 3 KB.

To address this, we have two options:

  1. Use gzip compression combined with base64 encoding to reduce the file size.
  2. Provide an HTTP endpoint where the smartphone can download the config directly.

I prefer the gzip/base64 approach since it avoids the need for an additional service to provision the app. What do you think @derpeter

@hajoha hajoha requested a review from PeterHasse August 5, 2025 15:12
@derpeter
Copy link
Contributor

derpeter commented Aug 6, 2025

Im not sure if trying to fit the config in an QR code is a future proof strategy. If we add more configuration options this might be a dead end. At least we should think about limiting which option will go into the qr code and which not.

At least the mqtt and influx configuration would be very usefull. Which setting did you include into the 6KB?

@hajoha
Copy link
Contributor Author

hajoha commented Aug 6, 2025

Which setting did you include into the 6KB?

All of the settings we can currently set via the GUI. See here.

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.

3 participants