All Projects → jneilliii → OctoPrint-TasmotaMQTT

jneilliii / OctoPrint-TasmotaMQTT

Licence: other
No description or website provided.

Programming Languages

javascript
184084 projects - #8 most used programming language
python
139335 projects - #7 most used programming language
Jinja
831 projects
CSS
56736 projects

Projects that are alternatives of or similar to OctoPrint-TasmotaMQTT

OctoPrint-Tasmota
No description or website provided.
Stars: ✭ 52 (+205.88%)
Mutual labels:  octoprint, octoprint-plugin, tasmota, tasmota-devices
server
MyController 2.x server
Stars: ✭ 14 (-17.65%)
Mutual labels:  tasmota, tasmota-devices
OctoPrint-CameraSettings
An OctoPrint plugin that allows a user to interactively change camera settings.
Stars: ✭ 31 (+82.35%)
Mutual labels:  octoprint, octoprint-plugin
OctoPrint-CuraEngineLegacy
Plugin for slicing via Cura Legacy from within OctoPrint
Stars: ✭ 16 (-5.88%)
Mutual labels:  octoprint, octoprint-plugin
OctoPrint-SimpleEmergencyStop
A simple plugin that add an emergency stop buton on NavBar of OctoPrint
Stars: ✭ 17 (+0%)
Mutual labels:  octoprint, octoprint-plugin
OctoPrint-AstroPrint
Connect your OctoPrint device to the AstroPrint 3D Printing Cloud
Stars: ✭ 26 (+52.94%)
Mutual labels:  octoprint, octoprint-plugin
OctoPrint-GitFiles
With this plugin, you can use a github/gitlab repository for keeping your OctoPrint Files collection up-to-date.
Stars: ✭ 28 (+64.71%)
Mutual labels:  octoprint, octoprint-plugin
OctoPrint-Marlin-Flasher
Arduino/Marlin firmware flasher for OctoPrint
Stars: ✭ 36 (+111.76%)
Mutual labels:  octoprint, octoprint-plugin
OctoPrint-Smuff
OctoPrint Plugin for SMuFF
Stars: ✭ 17 (+0%)
Mutual labels:  octoprint, octoprint-plugin
Octoprint-Cancelobject
No description or website provided.
Stars: ✭ 90 (+429.41%)
Mutual labels:  octoprint, octoprint-plugin
OctoPrint-DisplayProgress
Displays the job progress on the printer's display
Stars: ✭ 19 (+11.76%)
Mutual labels:  octoprint, octoprint-plugin
OctoPrint-GcodeEditor
Edit gcode on OctoPrint
Stars: ✭ 20 (+17.65%)
Mutual labels:  octoprint, octoprint-plugin
OctoPrint-AutomaticShutdown
Plugin for automatically shutting down the system after print is finished
Stars: ✭ 18 (+5.88%)
Mutual labels:  octoprint, octoprint-plugin
HomeApp
A little smart home app for Philips Hue and other devices
Stars: ✭ 54 (+217.65%)
Mutual labels:  tasmota
Tasmota-specials
Tasmota unofficial firmware builds. Install via Tasmota WebInstaller
Stars: ✭ 54 (+217.65%)
Mutual labels:  tasmota
OctoPrint-MultiColors
Inject GCODE at specified layers to allow multi color printing via filament change
Stars: ✭ 20 (+17.65%)
Mutual labels:  octoprint
octoscreen
A touchscreen client for Octoprint
Stars: ✭ 26 (+52.94%)
Mutual labels:  octoprint
octo4a
Use your old Android device as an OctoPrint server.
Stars: ✭ 1,000 (+5782.35%)
Mutual labels:  octoprint
OctoPrint-Webhooks
Make OctoPrint events call your custom webhooks!
Stars: ✭ 27 (+58.82%)
Mutual labels:  octoprint
zigbee
Database of Zigbee devices compatible with third party gateways: ZHA, deCONZ, Zigbee2MQTT, Tasmota, ZiGate, ioBroker,
Stars: ✭ 117 (+588.24%)
Mutual labels:  tasmota

OctoPrint-TasmotaMQTT

This plugin allows the control of Tasmota devices from within OctoPrint via MQTT commands.

Prerequisites

Install the MQTT plugin via the Plugin Manager or manually using this url:

https://github.com/OctoPrint/OctoPrint-MQTT/archive/master.zip

Setup

Install via the Plugin Manager or manually using this URL:

https://github.com/jneilliii/OctoPrint-TasmotaMQTT/archive/master.zip

Configuration

  • Once installed you need to configure the "Full Topic" EXACTLY the same way like in your Tasmota devices. It can be found at the Tasmota device web-service page under information. Copy it over to make sure it is identical. E.g., %topic%/%prefix%/
  • add a Relay device and configure
  • Topic: is the name of the Tasmota device
  • Relay #: For multiple relay devices enter the index number that matches your desired relay. For single relay devices like the iTead Sonoff S20 Smart Socket, leave it blank.
  • Icon class: lets you select the icon to be shown on the front page.
  • Warning Prompt: Issues always an addtional warning to avoid accidentally switching.
  • Warn While Printing: Issues an addtional warning only if a print is in progress.
  • Auto Connect: Connect to the printer N seconds after power was switched on. The time delays can help to establish a stable connection.
  • Auto Disconnect: Disconnects the printer N seconds prior of switching off the power.
  • GCODE Trigger: Enable the switching via M80 and M81 code. See below.
  • GCODE On Delay: Time delay in seconds after receiving M80 before switching on.
  • GCODE Off Delay: Time delay in seconds after receving M81 before switching off.
  • Run System Command After On: Issue a system command after switching on.
  • Run System Command Before Off: Issue a system command after switching off.

GCODE config

If GCODE Trigger is switched on, the plugin looks out for Gcode to switch the relay on resp. off. This can be used to switch the printer on at the start of a print and off right after a print is finished. The delay times can be used to e.g. to let the printer powered on for a certain time after the print is finished e.g. to let fans running helping to cool down quicker.

The usual format of the GCODE which performs the trigger of the relay is:

M80|M81 TOPIC RELAY#

Explanation:

  • M80 -- Switch on
  • M81 -- Switch off
  • TOPIC: Name of the device to be switched (same as in the Tasmota device)
  • RELAY#: Number of the relay to be switched. Leave it empty for single relay units.

This can be included either in the slicer settings to be added in front resp. at the end of a gcode file. Or in Octoprint itself, under Settings->Printer->GCODE scripts in the fields Before print job starts and After print job completes.

Examples:

  • M80 sonoff_printer To turn a single-relay Tasmota unit named "sonoff_printer" on.
  • M81 4chpro_printer 1 Turn off relay number 1 of a multiple relay Tasmota device named "4chpro_printer".

Screenshots

screenshot

screenshot

screenshot

Most recent changelog

0.3.8 (11/22/2020)

Added

  • startup event monitoring
  • upload event monitoring if print is flagged to start automatically
  • new access control permissions to replace deprecated user_permission
  • idle timer reset/restart if relay is powered on outside of OctoPrint
  • release channels for OctoPrint 1.5.0+ for future rc testing, similar to OctoPrint as described here

Updated

  • knockout sortable library for OctoPrint 1.5.0 compatibility

Fixed

  • issues with startup and idle timer

All releases

Get Help

If you experience issues with this plugin or need assistance please use the issue tracker by clicking issues above.

Additional Plugins

Check out my other plugins here

Sponsors

Support My Efforts

I, jneilliii, programmed this plugin for fun and do my best effort to support those that have issues with it, please return the favor and leave me a tip or become a Patron if you find this plugin helpful and want me to continue future development.

Patreon paypal

No paypal.me? Send funds via PayPal to [email protected]

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].