Using SquareLine to design LVGL interfaces in ESPHome

I’ve started working on a Python script that parses SquareLine’s JSON project and generates an ESPHome YAML snippet. There’s still a lot to do, but a lot is already working. Give it a try and let me know:

Currently, there are no instructions on how to use it, but if you know a bit of Python, you should be able to figure it out.

Contributions are welcome!

2 Likes

People have wanted this. Great to see.

This is a really great project. It saves a lot of time. I have this commercial screen that I like the look of.

I recreated it in Squareline. It was very easy. I can set most of the objects to layout type flex so everything sort of floats to the right place. NO pixel counting!!

I use SDL to test my design on a PC or MAC. I’m planning to use a color screen so I added a color background.

Then I loaded it to a Guition jc4827w543 ($20 USD). I attached a very accurate humidity + temp sensor so I can get local values. I also used Accuweather to get today outdoor weather+ Due Point.

I’m very interested in the dew point. An indoor due point of greater then 55 degrees F will cause mold. So I want to run my dehumidifier at that point.

I posted my code here if anybody is interested.

1 Like

Thanks. Nice to see an example.

You might want to change the spelling of due to dew in your README.md.