superkohl / moonraker-mqtt-plugin Goto Github PK
View Code? Open in Web Editor NEWEin Skript/Programm zum Überwachen/Steuern des Druckers vor, während und nach einem Druck über das MQTT Protokoll.
License: GNU General Public License v3.0
Ein Skript/Programm zum Überwachen/Steuern des Druckers vor, während und nach einem Druck über das MQTT Protokoll.
License: GNU General Public License v3.0
Hello, About plugin some Bug, I want repair some Bug with my plugin project. Would you please approval, thinks.
hi there,
Looking to get mqtt setup in moonraker so I can rean and control my printer via home assistant and this looks like it could be what i am after but doesn't seems to be getting any updates lately so is this project dead?
thank you
Hi,
Really like your implementation and configurability of this plugin.
But I do run into 2 issues:
I can't get it to startup automatically when the system starts. Not with rc.local and not with @reboot
in crontab. When run manually, it runs just fine. When starting through rc.local it seems to run one time, only publishing moonraker/control/run_gcode
to MQTT
When Klippy is in a shutdown state, hence, whenever the printer mainboard is shutdown, the script stops, after a while, with an error:
[pi@ratos:~]$ python3 /home/pi/Moonraker-MQTT-plugin/scripts/mqtt.py
Traceback (most recent call last):
File "/home/pi/Moonraker-MQTT-plugin/scripts/mqtt.py", line 43, in <module>
query_endstops_mqtt = query_endstops.json()
File "/usr/lib/python3/dist-packages/requests/models.py", line 897, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib/python3.7/json/__init__.py", line 348, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.7/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Maybe this also happens when auto-starting the scripts, as Klippy is maybe not connected fully when the scripts starts.
Here you can Reqest a feature.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.