awtrix3 icon indicating copy to clipboard operation
awtrix3 copied to clipboard

Several settings are displayed twice

Open jarooij opened this issue 1 year ago • 8 comments

Several settings are displayed twice or more e.g. Icons, Auth, MQTT. When I press one of the duplicate settings the Restart ESP/Save configuration is displayed.

awtrix1 awtrix2

  • Devices involved:
    • Model: Ulanzi Awtrix Smart Pixel Clock 2882 (TC001)
    • awtrix3 version: 0.96

I cleared cache and did a restart on the Ulanzi without result.

jarooij avatar Dec 25 '24 11:12 jarooij

Remove the donottouch.json and restart awtrix(you need to setup Mqtt and time again, or remove the duplicates in this file

Blueforcer avatar Dec 25 '24 12:12 Blueforcer

Thanx, that did the trick. Unfortunately I'm not able to upload icons

jarooij avatar Dec 26 '24 11:12 jarooij

In need more details

Blueforcer avatar Dec 26 '24 11:12 Blueforcer

When I try to upload an icon from https://developer.lametric.com no confirmation message is displayed and the icon is not downloaded in the icon folder.

jarooij avatar Dec 26 '24 12:12 jarooij

Did you deleted the Json or did you manually removed the duplicated entries?

Blueforcer avatar Dec 26 '24 13:12 Blueforcer

I deleted the entire json.

jarooij avatar Dec 26 '24 15:12 jarooij

Same issue here with menu entries getting shown twice somehow - never touched the DoNotTouch.json. Removing it, then rebooting the clock solved it for now. The issue appeared after i was editing my MQTT broker settings

overrider avatar Jan 02 '25 19:01 overrider

Looks like there's exactly one condition, when the duplicate entries for param-boxes are created in https://github.com/Blueforcer/awtrix3/blob/0988887f56b07fa68adeb0c692a379e5f62befd1/src/ServerManager.cpp#L223-L247

Look at https://github.com/Blueforcer/awtrix3/blob/0988887f56b07fa68adeb0c692a379e5f62befd1/lib/webserver/esp-fs-webserver.h#L199-L201 it always creates a new one.

eku avatar Jan 08 '25 13:01 eku