Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with a file in weather icons #4

Open
Laurent6012 opened this issue Aug 18, 2024 · 1 comment
Open

Problem with a file in weather icons #4

Laurent6012 opened this issue Aug 18, 2024 · 1 comment

Comments

@Laurent6012
Copy link

Laurent6012 commented Aug 18, 2024

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
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants