-
Notifications
You must be signed in to change notification settings - Fork 114
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
Kiln display #24
base: master
Are you sure you want to change the base?
Kiln display #24
Conversation
thanks for giving back to the kiln controller project. you've done lots of work and I appreciate it. |
Thanks, appreciate it! 😁 |
Hey @adq - This addition is great - I'm working on modifying your display script to work with the adafruit 2.8" pitft capacitive touch screen. Could you help me understand what the "gpio_beeper" does? Is this an additional but unrelated feature, or is it required for screen functionality? Thanks! |
Hi, This is exactly what I'm trying to do, but as a Github NOOB I'm not sure where I'm going... |
My main question is where/how is kilndisplay referenced. Looks like magic to me! (I can flash LEDs!!! 🤣) |
@Splodgeink msg = json.loads(status_ws.recv()) in the while loop picks up messages being sent from kilncontroller, obviously both programs have to be running. Websocket magic! |
That sounds cool, Chip. I've just invested in £50 worth of book to get to grips with this! What I can't see is how kilndisplay.py is called/run! |
This adds a small OLED display to the kiln (https://www.adafruit.com/product/4484). It can probably be easily adapted to other displays.
Since the display does take up a bit of CPU, I've added "Nice" settings to the systemd init scripts.
The adafruit libraries require the use of numpy; I guessed you wouldn't want that as a dep for the kiln-controller itself since its quite heavy if you're not using it, so I added those deps to a different file.
BTW: I actually install numpy from the system package manager since - on my pi - pip tries to compile it from scratch, which would take quite some time on a Pi Zero W! I added it to the deps for completeness though.