Git Product home page Git Product logo

Comments (6)

syssi avatar syssi commented on August 19, 2024

In my case Home Assistant consumes the MQTT messages and the last_updated timestamp of the sensor gets updated on each message. This is all I need to trigger automations.

from smlreader.

Marv2190 avatar Marv2190 commented on August 19, 2024

Yeah, that would be a work around. I have no last_updated (using NodeRed), but i could use a trigger with delay i think.
Maybe for SMLreader v2 this is an option.

from smlreader.

mruettgers avatar mruettgers commented on August 19, 2024

Yeah, that would be a work around. I have no last_updated (using NodeRed), but i could use a trigger with delay i think.

Or you could implement your own last_updated using a flow variable, that is being monitored by a periodic trigger.

Maybe for SMLreader v2 this is an option.

That won't be a a big deal to implement and I already thought about publishing info/debug messages via MQTT.
Right now debug messages are being published as server sent events in the upcoming version.

from smlreader.

Marv2190 avatar Marv2190 commented on August 19, 2024

I just started with Node-red (because its easy to feed mqtt to Homematic). So iam not deep into it.
In the moment a tried the trigger node (with delay that set it self back with a new message), and it works pretty well. But Info/debug would be a nice to have, ofc. And most of them i found in the code - so its just a giveover to mqtt. :)

Anyway, thanks for this project.

Grüße nach Aachen und Bonn :)

from smlreader.

trombose009 avatar trombose009 commented on August 19, 2024

Does MQTT also work if no MQTT user and password is set? In my environement no mqtt user is necessary.

from smlreader.

Marv2190 avatar Marv2190 commented on August 19, 2024

Yes, thats how i use it

from smlreader.

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.