-
Notifications
You must be signed in to change notification settings - Fork 89
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
Homepoint 2.0 Announcement #155
Comments
Beta versions for AZTouchMod and M5Stack Core 2 |
Initial impressions on M5Core2 are very good. The lvgl-based version seems stable (at least no unexpected reboots experienced). However with the screen layout copied from the example config the initial screen is gray with IP address appearing after a couple of seconds. To get proper screen content one must tap to change screen and then move back manually triggering redraw/refresh. Do you have plans to continue development? Your approach to navigation seems better compared to the much simpler code of cfGUI library which I extended to support M5core2 but any other development is probably worthless given how functional and eye-candy your design is. EDIT: Actually the initial gray screen does not always happen. On some occasions reset results in a properly drawn initial screen. Maybe the issue results from the lack of topics on my test MQTT server. |
Thanks for your assessment @Girgitt :) There are still tons of bugs in there and the code is still somewhat messy as I've been trying to do performance improvements to increase FPS. It's true, I haven't contributed much to the repo recently, but I have not abandoned the project. It's just that I had very little time to work on side projects in the past 6 months but I hope to return sometime soon. |
That's some good news :) Thank you for reaching back. I wish my Cpp skills were much better to be able to provide some valuable contribution but who knows, maybe it's a good enough reason to at least try when M5core2 becomes the supplemental HMI to my Homematic IP network in the next couple of months. |
Hi @sieren would find time to update/add building steps for homepoint-2.0-lvgl branch? Instructions from wiki are obsolete as esp-idf version changed to v4.4 (at least this is what I found based on arduino-esp32 submodule's history for version committed to the homepoint-2.0-lvgl branch) but even with an updated esp-idf the compilation using /scripts/build_all.sh fails due to error: Maybe some specific tag of esp-idf should be used? (There are other issues like code from /scripts/merge_bin_esp.py being written in py2 while esp-idf uses py3 with virtualenv which makes the environment difficult to initialize. Fortunately, a trivial fix is to call python2 in build_all.sh instead of python), EDIT: with esp-idf v4.4.1 the mentioned error is gone. M5Stack2 boots but shows error: "could not pares failsafe file". |
I concur with @Girgitt opinion. I am also enthusiastic about the project - it's a pity that it has not been developed further for some time. |
So I tried to re-visit the project after a year and OMG what an adventure. First of all, despite what I wrote earlier, it is impossible that esp-idf version required to compile it is v4.4.1. IT IS NOT. it is something between 4.4.0 and 4.4.1. The proper version should be the esp-idf master at the time of arduino-esp32. Good luck in finding that - there is a version in submodule components/arduino-esp32 but it is Sieren's fork. Anyway by trying to use esp-idf v.4.4.1 and following error about missing reference to mbedtls_md5_starts i found commit that defines mbedtls_md5_starts_ret:
One commit earlier 1f54d17503ff17d830de75eed4eb47bc6a3aafc3 was a good candidate and it works - at least Homepoint from branch homepoint-2.0-lvgl compiles. To avoid issues one needs to: Then (after setting up python2 in your environement and modifying build_all.sh to use python2 instead of python and optionally commenting out steps for platforms you don't need) compile Homepoint with At this point I am not sure if the resulting build works but size seems correct. Time to look for USB A to C cable.. and build loaded with Before that I tried many esp-idf versions and here is other way that resulted in compilation but M5Core2 did not start after flashing with esptool:
[EDIT]
the lowest possible arduino-esp32 version to use: v.2.0.2 test 2: arduino-esp32 v2.0.2 + esp-idf v4.4.1 = another option is to take idf version from debugger output of the working beta build by Sieren: build arduino-esp32 v2.0.2 + esp-idf v4.4.1 is promissing but 3 issues exist:
|
I am currently working on Homepoint 2.0 which will be a complete rewrite based on https://github.com/lvgl/lvgl, allowing to more easily support new platforms and a more responsive UI.
The text was updated successfully, but these errors were encountered: