Giter Club home page Giter Club logo

moonraker-mqtt-plugin's People

Contributors

superkohl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

moonraker-mqtt-plugin's Issues

Need save your plugin

Hello, About plugin some Bug, I want repair some Bug with my plugin project. Would you please approval, thinks.

is this still being worked on?

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

Error when Klippy not connected

Hi,

Really like your implementation and configurability of this plugin.

But I do run into 2 issues:

  1. 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

  2. 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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.