Comments (9)
In case it helps, I edit the Gcode manually when doing colour changes. If you use an M0 command to pause then you will get a notification and you can use M70 to send a specific message. I requested this a few months ago:
#8
from octoprint-pushover.
Hello @kroyster, You are right the command M600 isn't supported by either this plugin or OctoPrint, when I was testing it by adding M600 too the list of waiting commands, I saw it triggers a waiting event instead of a Pause event @coldfire3000 mentioned.
gcodeToEvent = {
# pause for user input
"M226": Events.WAITING,
"M0": Events.WAITING,
"M1": Events.WAITING,
"M600": Events.WAITING,
This plugin currently only supports the pause event (M0 and the M1) however I will create an update to support the Waiting event, and maybe I will try to support the M600 command (don't pin me on this).
I will keep you posted.
@coldfire3000 Which command are you using M0 or M600 ?
from octoprint-pushover.
I use the M0 and it works great for me :)
from octoprint-pushover.
from octoprint-pushover.
I implemented the wait event in this plugin. I recommend you use the M226 instead of the M600 or the M0. The M226 will (at least on my printer Prusa i3) raise and park the hotend, retract, make sound etc.
And with the latest release it will also send a Pushover notification, remember you have to enable this through the settings.
Can you please let me know if it doesn't work.
from octoprint-pushover.
from octoprint-pushover.
I hope it works otherwise someone has to ad the M600 to the util/comm.py file, maybe I will experiment with that later this week.
from octoprint-pushover.
I updated the plugin and new settings, but M226 did not work for me, as it is not implemented (as a pause) in the Marlin firmware. M600 is the only fully automated pause command that works for me, but I could not get it to trigger the Pushover notification. I did manually add a mapping for the M600 command to trigger a waiting state in the comm.py file, and rebooted octoprint, but it didn't seem to "take". So unfortunately I'm unable to confirm if this update works. M0 pauses and triggers the Pushover alert, but doesn't retract/park my print head, so it's not useful to me for filament changes unless I can figure out how to add those commands AND return it to it's pre-pause location to resume the print. Thank you though - I'm sure someone else will find this update helpful!
from octoprint-pushover.
Correction - I just noticed that I edited the /src/ version of comm.py, but there are various other versions in oprint/lib/*, including compiled python libraries. So I'm guessing I need to edit one of the other files and/or compile it. I tinker, but I'm not a developer, so it may take me a little digging to figure it out and give it another try.
from octoprint-pushover.
Related Issues (20)
- MMU Notifications HOT 2
- Python 3 compatibility HOT 3
- Feature Request: Configure priority of scheduled notification HOT 1
- BUG: Failure in newest update HOT 2
- Webcam Image Missing HOT 5
- Use camera to capture image not working HOT 2
- Feature request: notification when bed cools off HOT 1
- Feature request: Notify per x layers / notify after bed cooled down to specific temperature HOT 1
- no Pushover message with event PrintStarted HOT 9
- Only receive the "Temperature Reached" notification whenever I start a print. Not before. HOT 1
- Feature: Pushover Macro(s) to be used in GCode
- Plugin interrupts startup.... HOT 5
- no notification for M600 HOT 1
- [Feature] Single Notification on custom percent/layer HOT 1
- Identify which instance of OctoPi is sending notification HOT 1
- TypeError: type NoneType doesn't define __round__ method
- Snapshot taken with wrong webcam
- Octoprint 1.9.2 Image orientation HOT 2
- Camera Upside down HOT 1
- Feature request: Custom gcode trigger for pushover message.
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-pushover.