Support for M5Stack Core2 planned?
Will you support the new M5Stack Core2?
Hey, the Core2 should already be supported.
All it needs is to add "displayColorInverted": true to the configuration file since it's display is wired up a bit differently.
Interesting, not sure you're aware but the Dutch magazine Computer Totaal mentioned your work and they suggested the Core2 implementation wasn't yet ready (https://computertotaal.nl/artikelen/internet-thuis/zo-maak-je-een-eenvoudig-dashboard-voor-je-domoticasysteem/). This is why I got myself a Core. The Core2 with its touchscreen would be way cooler.
I actually found that to get the colors in their article I also had to set the displayColorInverted to true on the Core.
Oh, wow. I wasn't aware of this! I guess it's time I order myself a Core2 and tidy this up nicer!
Ah, cool. I actually found their description of how to get things up and running pretty helpful at times, it felt slightly more detailed than your own (their demographic includes less experienced users as well). I'm a Product Owner, not a die-hard techy, though I like fiddling around with things, possibly it would be useful if I write something up regarding my experience, as feedback?
Absolutely! There's a Wiki here on Github which I sadly have neglected way too much where this could be very useful for!
Where do I send it?
Ah, cool. I actually found their description of how to get things up and running pretty helpful at times, it felt slightly more detailed than your own
Thanks, that was the intention of my article, to help non-techies with getting Homepoint up and running :-) Nice to hear that this worked.
In fact, I tried flashing Homepoint to the M5Stack Core2, but the device didn't boot (or at least I didn't see anything), and I didn't have the time then to investigate this further. Maybe the display code needs more changes than just inverting the colors, or maybe it's something else. In the mean time, I have been using my M5Stack Core 2 for another purpose, so I haven't been able to look at it further.
But I agree with the touch screen it would be a very cool device for Homepoint!
@koenvervloesem Thanks for the article! :) I will probably end up creating a special _bin file for M5Stack Core2 after all to make it easier for newcomers. If I had unlimited resources I'd probably even get rid of the JSON Editor in favour of a modular Web UI.
@cerietke you can mail it to me at matthias (at) s-r-n.de
Mijn nederlands is unfortunately not zo goed als dat ik dit en engels vertaalen kan (als en duitser ;)). I think everyone would probably benefit from these step by step instructions. Super happy to host them and put them prominently on the page first. I'll make sure to link to the article in the Wiki as well.
@koenvervloesem Good article! I read it with google translator. ;-) @sieren Great project!
I was looking for a touchscreen for an ESP32 or ESP8266 to send mqtt signals to my mosquitto and ioBroker. It should fit in a wall switch. A common system size in Germany is 55mm (Gira...). So i found the M5Stack Core2. A perfect gadget. ESP32, touchscreen, perfect size. First steps in UIflow and Arduino IDE followed. Then i found your project. It is so amazing. Everything can be controlled by a fingertip with mqtt. I am sure i will love it when it works on the Core2.
Cool that you're also checking in here Koen, I was not aware of homepoint nor the M5Stacks and it covers a lot of nice usecases I was looking for solutions for.
Better stick with English or German ;-). I'll mail you with feedback.
As an experiment I essentially turned the M5Stack Core into a lights and music remote control for my bedroom (receiver is in another room), but I was also thinking about the wall switch replacement option.
Thanks!
For Wallswitches, I vaguely recall there was a Kickstarter Project trying to achieve this too: https://www.kickstarter.com/projects/159751026/23-smarthome-touch-display-w-wlan-for-55mm-switch-series
Yes i found that project too. But the Core2 is ready to go. I ordered 2 from digikey.de for 39 Euro each. https://www.digikey.de/product-detail/de/m5stack-technology-co-ltd/K010/2221-K010-ND/13151126 If your order is over 50 Euro shipping is free. They ship from USA with UPS in 3-4 days. Customs is in the price included. So i paid 78 Euro total for 2 Core2. Shipping to my door.
Received one today, but this will take longer than expected. Can't even get the screen to work right now. And I need to write a new touch driver from scratch for this
I use the Arduino IDE. There i have to change the library from "#include <M5Stack.h>" to "#include <M5Core2.h>" for example to run most code for the Stack on the Core2. I dont know how it works with the Espressif IDE.
Yeah. But HomePoint supports multiple platforms with multiple capabilities and introducing dependencies on specific platforms is to be avoided. For it to work on all of them the code has to be generic and abstracted enough, and there come the challenges when a device introduces new components (like Core2 using a different touch-screen handler and moving certain TFT related capabilities to a separate power management chip)
Ok i see. It is much more work than changing a library. But i hope you like your Core2 and will have time to make homepoint run on it. ✅
I got one as well, so hoping to see homepoint work on it at some point in the future. Paid 34+2.50 shipping at tinytronics.nl.

Got the display up and running today, next up Touch Driver support.
If you feel like helping out but lack the programming skills. the best way is a small donation (there's a link at the end of the front page README) as I bought this device just to add compatibility for all the requests. Personally I don't really have that much need for it.
Yay! Sitting here at virtual FOSDEM and tinkering with HomePoint and the Core2. Display won't turn on, version 0.6 with displayColorInverted set. Going to wait for a pre-compiled binary core the Core2.
Here's a first beta. Sadly the images dont look super pretty. The Core2 library is sadly also a far-cry from the Core1 one (https://github.com/m5stack/M5Core2/issues/33). Ultimately I might have to tear the Core2 one apart, which might mean lots of more work until things look as good as with other ESP32 devices.
I uploaded the new core2 binary and have access to the web interface. I change the config file, so the Core2 is in my wifi network. But the screen stays dark. I added "displayColorInverted": "true", to the config file and rebooted. Screen stays dark. Any tips?
Sorry. there was a bug in the build script that leads to the binary actually being the same as M5Stack (non-Core2) homepoint_release.zip
Now it works! I made an OTA update and a reboot. "displayColorInverted": "true", must be removed from config if previously has been added. Now i can do a little testing ;-)
Alright, just implemented proper JPG drawing, so no more artefacts. Did a new release too: https://github.com/sieren/Homepoint/releases/tag/v0.07
If you enjoy this work, please consider donating so I might be able to recoup the Core2 which I bought for this ;)
Trying to flash 0.07, but after flashing the full (and the OTA), I hear the device constantly booting with a typical 'reset' tick sound. It physically makes noise: ticking and sometimes a high-pitch whining. Screen won't turn on, and no 'homepoint' access point. If I flash back the factory test program with m5burner, the device works. Any idea what's happening? Factory test indicates no hardware problems.
esptool.py write_flash -fs 4MB -fm dout 0x0 homepoint_m5stackcore2_ota_update.bin
@jpiscaer
Hi, i first flashed the core2_full binary. Then connected via the browser to 192.168.99.1 and entered my wifi settings. Next reconnection via the new ip in my network. Last i made the OTA update also via the browser frontend. (screen stays dark during all the time) After a reboot the screen should work.
Oh boy, this looks like a bug. I'll take a look later today.
Phew, sorry for the annoyance. Just pushed a new release: https://github.com/sieren/Homepoint/releases/tag/v0.07.1
Yes, this one boots. Thank you Matt! I appreciate your hard work