modifying webui
i am looking into add a button to my printers for turning on and off the power in the web ui,
i have found where is a way to add buttons to the touch ui but is where a way to do it to the webui
i have found where is a way to add buttons to the touch ui but is where a way to do it to the webui
Comments
We can not know if a plug is on or off. What you can do is not power the printer with usb so it will only appear online if it has power. If you do not know or can do it on the printer board see https://www.repetier-server.com/knowledgebase/undervoltage-and-throtteling-of-pi/ at bottom how to tape 5V line so board gets no power from pc. Then the connected state shows if you have power.