awtrix3 icon indicating copy to clipboard operation
awtrix3 copied to clipboard

[BUG]Display error of a blueprint (Smart Home Junkie) since update to 0.79

Open distanzcheck opened this issue 1 year ago • 10 comments

Describe the bug

Hello, first of all I wish you a Merry Christmas. 2 or 3 days ago the AWTRIX update 0.97 for the Ulanzi watch was released. Since then the weather forecast has been displaying strange messages. I have already tried to create a new automation with the weather forecast blueprint, unfortunately with the same result. Enclosed I send you a GIF on which you can see the problem directly. It is the lower 2 rows of white points that are now somehow disturbing. It is the same on all my 5 Ulanzis.

The two rows of white pixels at the bottom have only appeared since the update.

awtrix

  • Devices involved:
    • Model: Ulanzi Awtrix Smart Pixel Clock 2882 (TC001)
    • awtrix3 version: [ v0.97 ] Greetings Dirk and a happy new year 2025

distanzcheck avatar Dec 26 '24 13:12 distanzcheck

I don't know the blueprint. You should first ask smarthomejunkie or in his discord channel what API functions are used in the forecast blueprint. Maybe he needs to adapt his blueprints for API changes.

Blueforcer avatar Dec 26 '24 13:12 Blueforcer

okey

distanzcheck avatar Dec 26 '24 13:12 distanzcheck

@Blueforcer: I checked this. The error is not in the blueprint as far as I can see. The thing is that when you use the graph option in the payload, and also fill the text field, you get this behavior since 0.97. In version 0.96 the text was show without the graph bars underneath the text. It happens when you choose the type bar chart. When you choose for line chart, you see a flat line first, but it gets pushed down far enough so that you do not see it in the end.

https://github.com/user-attachments/assets/7210e162-856c-4ca5-bcda-f9dea91a217a

smarthomejunkie avatar Dec 27 '24 09:12 smarthomejunkie

@Blueforcer: I checked this. The error is not in the blueprint as far as I can see. The thing is that when you use the graph option in the payload, and also fill the text field, you get this behavior since 0.97. In version 0.96 the text was show without the graph bars underneath the text. It happens when you choose the type bar chart. When you choose for line chart, you see a flat line first, but it gets pushed down far enough so that you do not see it in the end.

2024-12-27.10-52-34.mp4

I didn't know that the bluetprint uses graph, but how does that make sense if you only have 2 pixels of space under the text?

Blueforcer avatar Dec 27 '24 10:12 Blueforcer

@smarthomejunkie can you send me a example json of the weather blueprint output? currently im unable to reproduce it.

Blueforcer avatar Dec 27 '24 10:12 Blueforcer

It's not the weather app, but the rain forecast app. The TS referred to the wrong blueprint.

The payload that I am sending is:

    payload: |-
      {   
        "bar": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
        "autoscale": true,
        "text": "No rain expected",
        "background": [0, 0, 0],
        "color": [0, 179, 255],
        "icon": "partlycloudy",
        "textCase": 0,
        "rainbow": true,
        "duration": 0,
        "lifetime": 300
      }

smarthomejunkie avatar Dec 27 '24 10:12 smarthomejunkie

Please check this firmware.zip

Blueforcer avatar Dec 27 '24 11:12 Blueforcer

Yes, this firmware fixed it! Thank you.

smarthomejunkie avatar Dec 27 '24 11:12 smarthomejunkie

will be released soon!

Blueforcer avatar Dec 27 '24 12:12 Blueforcer

Thank you Blueforcer and SmartHomeJunkie, it works again. There was something good about the message.

distanzcheck avatar Dec 27 '24 14:12 distanzcheck