Hallo there,
SITUATION:
I am new here and have a Problem that seems to be not discussed, or I was too stupid to find the Solution.
I created an Octoprint image on a Raspberry Pi 4 (4GB) which control two instances for two printers (like Chris Riley did in his Youtube-Video (https://www.youtube.com/channel/UCqRiv7rQuxge63bqJ2hVNUQ)).
I also build a casing for each printer. Each has a Temperatur- and Humidity Sensor witch sends the values to a Arduino Nano. The Nano works with the Values to control a Fan for each printer, a dehumidifier and a fan heater for each printer. To manage and control the lower and upper limits of the values (and also some programs like "cleaning" -> fans 100% and display some Values) that are triggering the fan, dehumidifier, ... I installed a 16x2 Lcd with menu controlled by a Joystick.
The joystick leads via y-axis thru the menu, the button-function select the actual shown value/option, and the x-axis defines in some points the values.
"PROBLEM":
I would now like to integrate this Menu and its control to Octoprint. I think the easiest way to show the menu in Octoprint would be another Webcam which shows the LCD from the Arduino. To use 2 Webcams (switching between them) I think is already a Plugin available.
But I still need a solution to control the menu, probably a digital alternative to the Joystick would be the best way...
So I would say in the tab "control" I would need another Set of "direction arrows"(see picture to know what I mean // whatever is the correct English naming this is ) like the one for the X/Y axis from the printer right there.
How to look in Octoprint|246x256
I tried some plugins like the "Enclosure Plugin" but that won't work out like I need it (or I am just again too stupid for it). There five "buttons" should den work as a button that gives out a signal as long as its pressed, this signal should than "come out" of one of the GPIO Pins and go to the Arduino. The work in the Arduino IDE to make this signals work as a joystick - digital - alternative is not element of this problem, that I can solve myself.
Soooo... I would be very happy to receive your advice, tips and suggested solutions. And I hope my broken English is good enough to understand . And also be gracious to me, I really searched a while and I am not that lazy person.
And for sure some more informations about soft- and hardware:
Printer 1: Anycubic i3 Mega S
Printer 2: Anycubic Chiron
Raspberry: Raspberry Pi 4 (4gb)
OctoPrint Version: 1.4.0.
Webcams: For now not given, because of Corona-prices
Arduino: Elegoo Nano (no problems with that)