lvgl and micropython examples for Onion Omega Dash
I have been working through the widget examples from the lvgl docs site and placed them in the following git repository.
Some of them require a few other files to be created in /root so I leave it up to you to figure that out by reading the code.
My goal is to understand how the widgets work, figure out any limitations then build out a few real world working examples.
I am finding it a bit cumbersome but I am plodding through just the same.
Great stuff Carey, thanks for posting. Keep plodding along, the Dash has a lot of potential.
@crispyoz Thanks, I finally got an MQTT example running but had to install python on the Dash module since I could not find a library for micropython. I am posting video examples on my Youtube channel if you are interested https://www.youtube.com/playlist?list=PL1L11PzpMyQU2KQj6oqd3mNsE1FakfMd8
With some of the examples I have worked through, this module seems very stable. My clock/calendar application has been running for weeks and now that I have worked with MQTT, I think I will update the code to sync the calendar with my google calendar.
@Carey-Capaldi nice video for starters, thanks for posting! (PS the beard could use a trim )
@Lazar-Demin from Onion recently posted a setup guide for micropython.
@crispyoz Lol, so can my hair, it's my covid look.
Thanks but I am past that. My question is about MQTT, due to the lack of storage space, I installed python3-light then pip3 and finally paho-mqtt. So I have to run a python3 program in the background to catch mqtt messages then transfer them to the micropython routine running the display. A bit cumbersome but workable.
@Carey-Capaldi Responded in the LVGL+micropython thread on getting mqtt running in micropython. Check it out here: https://community.onion.io/topic/4164/micropython-build-with-lvgl-for-omega2/6
This way will take up much less space than python3, pip, and paho-mqtt. Will also be a more straight-forward program Let us know how it goes!
Love the videos btw!
Thanks, I'll take a look at micropython-lib. I just got one of my MQTT test programs on an ESP8266 running with the Omega setup. Will make it a point to reshoot my mqtt video when I get the micropython-lib version running.