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.41k stars 112 forks source link

[BUG] #337

Closed 10der closed 1 year ago

10der commented 1 year ago

Bug report

Describe the bug

switch not is case-sensitive

Additional information

To Reproduce

Steps to reproduce the behaviour:

rtfm {"name":"time"} image

Expected behaviour

idk how right :-) please fix or code or rtfm =)

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Logs

(optional) Add relevant logs which could help tackle the problem.

Additional context

Add any other context about the problem here.

Blueforcer commented 1 year ago

I'm not sure what's the bug here?

zzarne commented 1 year ago

I've stumbled there as well when I was reading the API documentation. The example for /switch has "time" as an example while further on the built-in names are "Time", "Date" and so on. "time" != "Time". I agree that this is mislabeled as a bug, but the documentation could me more precise and state which topics and payloads are case sensitive and which aren't.

Blueforcer commented 1 year ago

Thats just an example. Customapps can be whatever you like The names of the build-.in apps are listed below (see your own screenshot)