noahwilliamsson / lamatrix

Animated 8x32 LED matrix display / smart clock with a microcontroller and (Micro)Python
MIT License
38 stars 7 forks source link

Problem with a file in weather icons #4

Open Laurent6012 opened 2 months ago

Laurent6012 commented 2 months ago

Hello,

Nice work, i'll try to adapt it on an ESP32-S2 with Micropython, or ESP32-S3 also with Micropython. I have a problem with the file for animated icons in weather. It's the cloudy icon, i've also tried directly the link : https://developer.lametric.com/api/v1/dev/preloadicons?icon_id=12019, but without success because it's an empty json. I do that because under Debian in console i've always an error with the script to convert. I don't know why, maybe they changed a bit the way in python to load or read json file, so i try to get files directly and format the data before saving. Then the script works. Anyway, it's possible to bypass the error returned by python 3.11, but this file stay null on all data, so impossible to convert it If it's possible to fix it, thanks. Still have a lot of things to do :p

Have a nice day

noahwilliamsson commented 2 months ago

Hi,

Maybe the icon was removed or something. I found an old copy of that icon JSON and uploaded it here: https://gist.github.com/noahwilliamsson/0ab0a05769f4a6cd44e4db21177bb90d

Hope this helps.