Skip to content

Feature Request: Configurable Weather Data Mapping for Broader Gadgetbridge Compatibility** #323

@SLi95c

Description

@SLi95c

Summary:
Currently, only a limited number of Mi Band models are supported by the Gadgetbridge fake weather data solution in Juggluco. No other smartwatch types are currently compatible with this weather-based Glucose data transmission method. Since each watch model handles weather data differently, creating watchfaces for other popular models such as the Amazfit BIP or GTR 2 is not feasible under the current setup.

Why this is important:
The weather data interface offers the most energy-efficient method for continuous Glucose monitoring on wearables. Compared to frequent data uploads (like those used by Watchdrip), this approach is significantly more battery-friendly—an essential factor for smartwatches.

Proposed solution:
If users could configure how specific weather fields (e.g., temperature, humidity, condition) are mapped to different Glucose values, the solution would become theoretically compatible with a wide range of Amazfit and Mi Band devices. It would also allow developers to build watchfaces tailored to each device’s weather data parsing behavior.

Additional Insight:
Discrepancies in displayed glucose values seem to stem from how Juggluco currently uses the current temperature (T_current) to encode changes. On devices like the Amazfit BIP, there's internal logic that replaces the max temperature (T_max) with T_current if T_current is higher (and possibly the same for T_min if it's lower).

This causes issues when glucose levels change quickly. For example, Juggluco might encode a value as 160, but the watch ends up showing 320 because T_current = 32 overrides T_max = 16 (with T_min = 0).

To avoid such behavior, T_current must always remain between T_min and T_max. This kind of device-specific behavior reinforces the need for configurable weather data mapping, so the encoding can be tailored per device.

Benefits:

  • Greatly expanded compatibility with many popular smartwatch models (e.g., Amazfit BIP, GTR2).
  • Enables custom watchface creation for various devices using Juggluco.
  • Makes Juggluco the most flexible and powerful solution for Glucose monitoring on wearables.

This enhancement would unlock powerful new possibilities for users and developers alike, making Juggluco a comprehensive and adaptable solution for the diabetes community.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions