I've just found out that even though the my CR10S came with a filament runout sensor which works ok when printing locally doesn't stop the printer when printing from octoprint. Can any one point me in the right direction to instructions to making my own cable up to connect to my printers sensor and connect to the pi GPIO pins so when I want to print from octoprint I can just swap the plug over on the sensor. I'm assuming that there is then a plugin I would then need to install and configure to get octoprint to then take the appropriate action on runout or a break.
Thankyou
Richard