Several settings are displayed twice
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.
- 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.
Remove the donottouch.json and restart awtrix(you need to setup Mqtt and time again, or remove the duplicates in this file
Thanx, that did the trick. Unfortunately I'm not able to upload icons
In need more details
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.
Did you deleted the Json or did you manually removed the duplicated entries?
I deleted the entire json.
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
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.