Skip to content

Tab5 / UIFlow 2 / M5UI & MQTT (V2.4.2) #85

Open

Description

@bh4vd5qvzt-cmyk

M5UI / missing feature: You cannot set the screen brightness (hardware) - but in M5GFX you can.
MQTT / connection issues: MQTT loses its connection every 30 seconds or so. I have to check the status in the main loop and force to reconnect every time - which also takes some seconds. The same application runs on M5Stack Core2 (UIFlow 1) without any interruptions or issues.

Activity

  1. lbuque commented on Feb 24, 2026

    @lbuque
    Contributor

    @bh4vd5qvzt-cmyk I'd like to see your program.

  2. bh4vd5qvzt-cmyk commented on Feb 25, 2026

    @bh4vd5qvzt-cmyk
    Author

    def mqtt_homeassistant_sensor_MRA_xxxxxxxxxxxx_quick_state_event(data):
    Batt1_json = data[1]

    def loop():
    M5.update()
    if not (mqtt_client.isconnected()):
    mqtt_client.connect(clean_session=False)
    mqtt_client.subscribe('homeassistant/sensor/MSA-xxxxxxxxxxxx/quick/state', mqtt_homeassistant_sensor_MSA_xxxxxxxxxxxx_quick_state_event, qos=0)
    mqtt_client.check_msg()

  3. lbuque commented on Feb 26, 2026

    @lbuque
    Contributor

    @bh4vd5qvzt-cmyk mqtt_client.check_msg() will proactively reconnect to the MQTT broker.

  4. thiemel commented on Jun 19, 2026

    @thiemel

    Hi. There is new UIFlow2 V2.4.7, where many bugs have been "silently" fixed (my problem has been fixed, too).
    Please upgrade your device's firmware to V2.4.7 and test again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions