Git Product home page Git Product logo

Comments (10)

jziolkowski avatar jziolkowski commented on July 16, 2024

Interesting why you have doubled subscribe topics. Also, do your devices use localized or customized payloads or prefixes?

from tdm.

defconhaya avatar defconhaya commented on July 16, 2024

Not always, now when I restart app there are no double subscribe topics but still no device in list:

topics

from tdm.

jziolkowski avatar jziolkowski commented on July 16, 2024

Answer my other question plese as well

from tdm.

defconhaya avatar defconhaya commented on July 16, 2024

14:47:57 MQT: blitzwolf01/tele/SENSOR = {"Time":"2019-10-05T14:47:57","ENERGY":{"TotalStartTime":"2019-08-25T19:13:21","Total":14.967,"Yesterday":0.009,"Today":0.001,"Period":0,"Power":0,"ApparentPower":0,"ReactivePower":0,"Factor":0.00,"Voltage":234,"Current":0.000}}
patterns

from tdm.

jziolkowski avatar jziolkowski commented on July 16, 2024

The above pattern is wrong and unnecessary. However it might not a reason why it is not working.
How many devices you have, btw?

Also, when you get a mqtt client and connect to your broker's # topic, does it reply with retained LWT messages?

from tdm.

defconhaya avatar defconhaya commented on July 16, 2024

I have 6 tasmota devices.
When I connect to # topic I get a ton of messages, how can I figure out if they are LWT ?

from tdm.

jziolkowski avatar jziolkowski commented on July 16, 2024

because they will have LWT in topic. They should be visible at the beginning.
Here it looks like this:
image

from tdm.

defconhaya avatar defconhaya commented on July 16, 2024

No there are no LWT topics

from tdm.

defconhaya avatar defconhaya commented on July 16, 2024

Solved: I must restart a device in order to publish a LWT message.
Thanks for help !

from tdm.

jziolkowski avatar jziolkowski commented on July 16, 2024

Well, not really. The LWT is a retained message, which is present in the broker and sent out whenever any client connects to it. As such, TDM upon connecting should trigger your MQTT broker to publish retained topics.

Edit: the LWT message is stored/created as soon as your tasmota device connects to the broker for the first time. It's odd why it's not there.

from tdm.

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.