Comments (13)
I've actually developed a plugin that will proxy api commands to the OctoPrint server. It's a little tricky to set-up but you can potentially do what you're trying to accomplish using it. You would use the send-an-arbitrary-command-to-the-printer call in the plugin settings. You can find the plugin over here.
https://github.com/jneilliii/OctoPrint-MQTTSubscribe
from octoprint-mqtt.
I would also like some sort of control over MQTT.
Just beeing able to use MQTT to change the temperatures would be a great help!
from octoprint-mqtt.
Ah, I've just created a new topic asking for the same thing! :)
Only solution I've found so far is to use the api to issue a command.
from octoprint-mqtt.
The plugin has helpers to subscribe and publish to topics. This can be used by other plugins. So you are welcome to write your own plugin to handle commands via mqtt.
from octoprint-mqtt.
Not sure I follow, I don't want to write another plugin. Rather as this is the MQTT plugin I would like it to be able to accept incoming messages as well as publishing them.
I'm probably using completely the wrong terminology as have been using MATT nodered etc for about 3 days 😀
from octoprint-mqtt.
Just adding another request for this feature. Would be nice to have OctoPrint perform built-in actions based on subscribed topics. Actions such as pausing, canceling and changing the temps, turning on/off the part cooling fan, etc. To keep the monitoring devices updated, I imagine it would also need to publish the action's current state as well.
from octoprint-mqtt.
I would love to be able to control my printer through home automation (Alexa/siri) and use MQTT commands to send GCode commands for that.
Example to tell it to do stuff like "Alexa, pre-heat PLA" .
This would be really cool do control my printer handsfree. I can already turn it on and off with voice commands using Sonoff.
from octoprint-mqtt.
Add me to the list as someone who'd really love an 'in' topic for commands!
from octoprint-mqtt.
how come MQTTSubscribe didn't appread in the plug-in manager, and i had to install it manually through the URL you provided?
from octoprint-mqtt.
Because I haven't released it to the plugin repo as I haven't thoroughly tested it.
from octoprint-mqtt.
I managed to get it working, sort of. Posted in the other project.
I'll make a video of me turning on the printer with Siri soon.
from octoprint-mqtt.
I managed to get it working, sort of. Posted in the other project.
Which "other project"? I'm totally curious how you did it.
from octoprint-mqtt.
https://www.youtube.com/watch?v=Lm6Eh-JXWs0
see discussion here:
jneilliii/OctoPrint-MQTTSubscribe#1
from octoprint-mqtt.
Related Issues (20)
- [Feature Request] Be able to change bed/tools target temperature HOT 1
- Total and Current layer Numer
- Bug - Slicing /progress/slicing
- [Feature Request] Publish current layer + total layers to mqtt HOT 7
- No MQTT connected event message sent when Octoprint autoconnects to printer HOT 2
- OctoPrint disconnects immediately from MQTT broker
- How to setup multiple printers? HOT 4
- Error while calling MQTT plugin HOT 1
- MK3s "paused for user" due to collision HOT 2
- MQTT plugin doesn't show an error when TLS certificate validation fails
- HomeAssistant. Sensors of print time is "unknown".
- Home assistant plugin- Unknown Print time left HOT 11
- Naming warnings for MQTT when using with Home Assistant HOT 2
- cant find topic for filament scale HOT 2
- Your plugin is causing errors in Home Assistant, regarding device/ entity naming schema. HOT 2
- Plugin fails to connect to Mosquitto HOT 1
- Feature Request: Suppress specific topics HOT 2
- Entities Unavailable in Home Assistant HOT 2
- Since the last update I see constatly this in logs and don't get any updates via MQTT HOT 4
- Plugin is incompatible with paho-mqtt 2 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from octoprint-mqtt.