Octoprint automation by Domo-Com 3d model
3dmdb logo
Thingiverse
Octoprint automation  by Domo-Com

Octoprint automation by Domo-Com

by Thingiverse
Last crawled date: 3 years ago
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
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
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
Nota: Standard Relay model comes from https://www.thingiverse.com/thing:1630253

Tags