Hosting, docs, and more for the Leftunder Project.
Install Grocy. It's how you manage the food.
If you use Home Assistant, it's easily installable as an addon.
Next, install the combined server. You can find it in the leftunder_addon
folder of this repo.
Give it your Grocy endpoint, and a Grocy API key.
Copy it over to the /addons
folder in Home Assistant, in its own directory.
First, you'll need a physical item: the Adafruit MagTag.
Make sure it's up to date. Install the latest beta of CircuitPython.
Now, copy over the code. Copy over to the CIRCUITPY drive from this repo:
- the whole
lib
folder - all
.pcf
and.bmp
files code.py
andboot.py
Also add a secrets.py
file with this structure.
secrets = {
"ssid": "MyNet",
"password": "WiFiPassword",
"endpoint": "http://combinedServerDomain:port"
}
Personally, I have an LED strip connected to A1.
OTA is implemented in boot.py
.
Long-press any button while pressing reset. Release it once it beeps.
Feel free to look in the source. This is what it looks like:
You can use serial without downloading anything here.
I made a SVG logo. View it in the repo.
It also deep sleeps for an hour on success, and for a minute when it can't connect to WiFi.
OTA | Booting up | Use |
---|---|---|
Every icon in the .bmp
files comes from icons8.