Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Duration not being reset after custom app deletion #407

Closed
m4rquez opened this issue Nov 19, 2023 · 0 comments
Closed

[BUG] Duration not being reset after custom app deletion #407

m4rquez opened this issue Nov 19, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@m4rquez
Copy link

m4rquez commented Nov 19, 2023

Bug report

Describe the bug

There are 2 apps in my loop. Standard App "Time" and Custom App "outdoorTemperature". They are changing every 7 seconds and "Time" is getting updated every 5 Minutes.

When i start a third app "nowPlaying" with a duration of 600s and then delete it by sending an empty payload via http POST, display changes to "Time". But now "Time" is being shown for about 600s bevor the expected loop between "Time" and "outdoorTemperature" starts again.

So my assumption is, that the duration is not beeing reset when the custom app is deleted and the current display changes to the first app.

Additional information

  • Devices involved:
    • Model: Ulanzi Awtrix Smart Pixel Clock 2882 (TC001)
    • AWTRIX-LIGHT version: 0.90

To Reproduce

Steps to reproduce the behavior:

  • Deactivate all standard apps except "Time"
  • POST api/custom?name=outdoorTemperature {"text":"11.2°C","icon":2355}

-> api/loop shows
{
"Time": 0,
"outdoorTemperature": 1
}

  • POST api/custom?name=nowPlaying {"text":"bigFM","icon":10685,"rainbow":true,"pushIcon":2,"duration":600,"lifetime":600}

-> api/loop shows
{
"Time": 0,
"outdoorTemperature": 1,
"nowPlaying": 2
}

  • POST api/custom?name=nowPlaying empty Payload

-> api/loop shows, but now "Time" is being displayed too long, ~600s
{
"Time": 0,
"outdoorTemperature": 1
}

@m4rquez m4rquez added the bug Something isn't working label Nov 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant