bckp/de.blueforcer.awtrixlight

Icons list is not always updating

Opened this issue · 2 comments

Using test version 1.20 with Awtrix Light v0.94 (also tested v0.95b5)
I have quite a lot of icons (102), and today Homey just stopped displaying them in the icons search view, just "Empty Icon" is showing:
image

The response to the autocomplete request in Homey is:
[{"name":"Empty","id":"-","description":"Without icon"}]

Maybe it's because my list of icons is so large, or there's something else going on. Can I contribute by making some loggings? Maybe it could be made that the icon for a custom app is an optional parameter, with the following logic:

  • if no parameter is set, use the Empty icon
  • user can select icon from a list (like currently)
  • user can enter his own string as icon name/id (this would make it possible to use variables as input for the flow)

(also tagging @denniedegroot )

bckp commented

There is cache in app, so it do not ask Awtrix everytime you type somethink (also helps not to overload awtrix), i will try to simulate your state and check, what exactly awtrix is sending, or if it timeouts on such big number of icons...

I will probably add new card where you will have option to specify pure JSON, so you will have options to set whatever you want. It looks easier then try to implement smart way every option awtrix is supporting

bckp commented

Im currently implementing override for icon... stay tuned, solution is on way