Blueforcer / awtrix3

Custom firmware for the Ulanzi Smart Pixel clock or self made awtrix. Getting started is easy as 1-2-3
https://blueforcer.github.io/awtrix3/
Other
1.25k stars 108 forks source link

TEFF JSON Property value 3 makes Ulanzi TC001 unusable #599

Closed FritzTheBlitz closed 5 days ago

FritzTheBlitz commented 1 week ago

Bug report

Describe the bug

Playing around with the Transition effect TEFF and setting the value to 3 (Zoom) via http, when the next animation starts, the device turns off. When turning it back on, after the IP is showed, again the animation tries to start, and the device turns off again. I had to flash the device again (you have to be quick), what pleasingly simple is. Thank you!

Additional information

To Reproduce

Steps to reproduce the behavior (be carful): curl -X POST --data "{'TEFF':'3'}" -H "Content-Type: application/json" http://device-ip/api/settings

Expected behavior

The device should animate the transition with the zoom animation.

Blueforcer commented 5 days ago

According to the documentation the value needs to be an number not a string. So it should be {'TEFF':3} Currently there is no check for the given object type.

FritzTheBlitz commented 5 days ago

Thank you! It works as described. Good work by the way