Write latest IMG
Edit octopi.txt , and octopi-network.txt in the /boot/ partition
Install MQTT plugin. Edit the ~/.octoprint/config.yaml and add
plugins: mqtt: broker: # the broker's url, mandatory, if not configured the plugin will do nothing url: 127.0.0.1 # the broker's port #port: 1883 # the username to use to connect with the broker, if not set no user # credentials will be sent #username: unset # the password to use to connect with the broker, only used if a # username is supplied too #password: unset # the keepalive value for the broker connection #keepalive: 60 # tls settings #tls: # path to the server's certificate file #ca_certs: unset # paths to the PEM encoded client certificate and private keys # respectively, must not be password protected, only necessary # if broker requires client certificate authentication #certfile: unset #keyfile: unset # a string specifying which encryption ciphers are allowable for this connection #ciphers: unset # configure verification of the server hostname in the server certificate. #tls_insecure: false # configure protocol version to use, valid values: MQTTv31 and MQTTv311 #protocol: MQTTv31 publish: # base topic under which to publish OctoPrint's messages #baseTopic: octoprint/ # topic for events, appended to the base topic, '{event}' will # be substituted with the event name #eventTopic: event/{event} # topic for print and slicer progress, appended to the base topic, # '{progress}' will be substituted with either 'printing' or 'slicing' #progressTopic: progress/{progress}
Install Email Notifier plugin
SSH and change to venv, install pip with pyparsing
curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py
-
curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py" - Sudo python get-pip.py
- Pip install –upgrade pip
(These command installs everything at once after installing pip: source ~/oprint/bin/activate and then pip install keyrings.alt keyring yagmail then ~/oprint/bin/python -c “import yagmail; yagmail.register(‘myusername’, ‘mypassword’)” )
//Install keyring
- //sudo pip install keyrings.alt
// install yagmail with sudo pip install yagmail[all]
//Set credentials with
- //cd oprint/bin
- //python
- //import yagmai
- //yagmail.register(“email@gmail.com”, “email_password”)
Install DetailedProgess
Add plugin
Copy this to the .octoprint/config.yaml inside the plugins:
detailedprogress: # Number of seconds (minimum) to rotate the messages time_to_change: 10 eta_strftime: "%H:%M:%S Day %d" etl_format: "{hours:02d}:{minutes:02d}:{seconds:02d}" # Messages to display. Placeholders: # - completion : The % completed # - printTimeLeft : A string in the format "HH:MM:SS" with how long the print still has left # - ETA : The date and time formatted in "%H:%M:%S Day %d" that the print is estimated to be completed # - filepos: The current position in the file currently being printed messages: - "{completion:.2f}% complete" - "ETL: {printTimeLeft}" - "ETA: {ETA}"
Djdj
Advertisements