Octoprint automation

Octoprint automation

thingiverse

### Octoprint automation for all 3d printers so useful for me enjoy ;) ## Eng/Fr translation/traduction Update october 2018: - Add my own model for SSR (solid state relay) - On dev: Octoprint plugin with user interface - On test: Wireless module to send/receive text/sms from octoprint events #### Presentation Using Event/action and python script on raspberry pi 2/3 with python (or other distrib) - Automatically switch on/off light when connected/disconnected to octoprint UI - Automatically switch off printer when job finish at night - Manual action from octoprint UI to start/stop light and printer power - Optionnaly send text when job finished with total working time and job name (additional app needed) If you need only 5/12V power to switch on/off your light, check also [octoprint automation led light] [3] Utilisation des events et action octoprint sur raspberry pi 2/3 avec python (et autres distribs) - Allume/eteint automatiquement la lumiere sur connexion/déco de l'interface octoprint - Eteint automatiquement l'imprimante qd le job se termine la nuit - Action manuelle octoprint pour allumer/éteindre la lumière ou l'imprimante - En option: envoie sms qd le job se termine avec le temps total et le nom du job (nécessite app supplémentaire) #### Material Nota: When you click on links to various merchants on this site and make a purchase, this can result in this site earning a commission, Thank you in advance ;) You can support me and buy your relay from [here][]: or from new solid relay [solid][] #### Installation Eng: Python script using RPi.GPIO library (pip install RPi.GPIO) - Copy Event and Action from config.yaml to your existing config.yaml (installed by default to .octoprint folder from raspberry pi) - Copy action.py and event.py into the folder ~/.octoprint/scripts Event - Automatically Start/stop light each time someone connect/exit to octoprint UI - Automatically Switch off printer power when the job is finished during night (interval of time) - Optionnal: send text with total working time and job name (need additionnal app) Action - Start/Stop printer and start/stop Light from action menu #### Send text #### Without home smartphone: I'm developping a gsm module to communicate directly with the pi, with a sim card, octoprint will be able to send message to your phone when job is finished ,) With Home smartphone: For android, you can get as example this free [app][6] You'll need to keep at home an old/unused phone with its sim card as a text server to communicate with your own smartphone. Fr: Script python necessitant la librairie RPi.GPIO (pip install RPi.GPIO) - Copier Event et Action de config.yaml dans votre fichier existant config.yaml (installer par défaut dans le répértoire .octoprint sous raspberry pi) - Copier action.py et event.py sans ~/.octoprint/scripts/ Event - Allume/Eteint automatiquement la lumiere quand qq'un se connecte/deconnecte sur Octoprint - Eteint automatiquement l'imprimante qd le job se termine pendant la nuit (intervalle d'heure) - Optionnel: envoie sms avec temps total et nom du job terminé (Necessite application supplémentaire app) Action - Allume/éteint imprimante et Allume/éteint lumière depuis menu action Si vous avez besoin de gérer une source de 5/12V uniquemenbt pour des leds, voir également [octoprint automation led light] [3] Nota: Standard Relay model comes from https://www.thingiverse.com/thing:1630253 [here]: https://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_id=114&ipn=icep&toolid=20004&campid=5338263410&mpre=https%3A%2F%2Fwww.ebay.com%2Fitm%2F2-two-channel-relay-module-relay-expansion-board-with-optocoupler-3-3V-and-5V-c-%2F332327933966%3Fhash%3Ditem4d6049d80e "ebay" [solid]:https://www.amazon.fr/gp/product/B01E6KUIRE/ref=as_li_tl?ie=UTF8&camp=1642&creative=6746&creativeASIN=B01E6KUIRE&linkCode=as2&tag=backupcamip-21&linkId=185a186790a7333b12e27fa55ccbedbc [3]:https://www.thingiverse.com/thing:2805630 [6]:https://play.google.com/store/apps/details?id=com.bogdan.sms

Download Model from thingiverse

With this file you will be able to print Octoprint automation with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on Octoprint automation .