Skip to content

LCD works correctly for lcd.py, but not for mqtt-all.py #153

Closed

Description

@Noxville

Image

Image

Configuration seems the same between the two in terms of initialization, currently using a very slightly modified mqtt-all.py file (just changed the # decimal points for humidity and temp).

Activity

  1. Dangermouse-UK commented on Jun 24, 2025

    @Dangermouse-UK

    I assume the calculation to put text in centre of the screen isnt taking into account that there are three /n's pushing it over three lines.

    A simple fix is to change:

    x = (WIDTH - size_x) / 2
    y = (HEIGHT / 2) - (size_y / 2)

    to:
    x = 5
    y = 5

    Then it should all be readable

  2. Dangermouse-UK commented on Jun 26, 2025

    @Dangermouse-UK

    Actually seen that someone has forked a proper fix for this:

    #144

  3. ahresse commented on Feb 9, 2026

    @ahresse
    Contributor

    Hello, @Gadgetoid . Maybe this issues might be one merge away from being fixed? #144

  4. jankmammal commented on Feb 10, 2026

    @jankmammal
    Contributor

    Merged now, very sorry for the delay!

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