Giter Club home page Giter Club logo

Comments (7)

RoboMagus avatar RoboMagus commented on June 25, 2024 1

Having the plugin DisplayLayerProgress installed (and event messages enabled) there are added topics that include the information you're looking for.

from octoprint-mqtt.

RoboMagus avatar RoboMagus commented on June 25, 2024 1

I installed the DisplayLayerProgress plugin, but how can I verify event messages are enabled?

Under the MQTT plugin settings, go to the Topic Tab, ther you'll find the Activate event messages checkbox.

Below is a screen snip showing the MQTT topics added. Though probably you'll have to start a print first for the topics to appear.

image

from octoprint-mqtt.

sefininio avatar sefininio commented on June 25, 2024 1

Yup, I eventually implemented it in nodered. Thanks for all your help!

from octoprint-mqtt.

chompy18 avatar chompy18 commented on June 25, 2024

I installed the DisplayLayerProgress plugin, but how can I verify event messages are enabled?

from octoprint-mqtt.

sefininio avatar sefininio commented on June 25, 2024

Got it, thanks. I'll check it out on the next print. Thanks!

from octoprint-mqtt.

sefininio avatar sefininio commented on June 25, 2024

OK, I do see those events on MQTT, but they are not discovered by HA, even though I have home assistant discovery plugin installed :(

from octoprint-mqtt.

RoboMagus avatar RoboMagus commented on June 25, 2024

Additional MQTT topics are indeed not auto discovered by HA, as the discovery plugin has no way to include that.

However there are wel documented ways to create MQTT automations and sensors.

E.g. I've got a Current Layer sensor setup like so:

mqtt:
  sensor:
    - name: 'Octoprint current layer'
      state_topic: 'octoPrint/event/DisplayLayerProgress_layerChanged'
      value_template: '{{ value_json.currentLayer }}'

from octoprint-mqtt.

Related Issues (20)

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.