Git Product home page Git Product logo

Comments (3)

john30 avatar john30 commented on May 27, 2024

I can't verify your problem with the MQTT interface. Everything works just fine. Which version of mosquitto are you using? When I do a mosquitto_pub -n -t ebusd/$circuit/$name/get a couple of seconds later a mosquitto_sub -v -t "ebusd/#" receives the result.

For the regular polling of data: why don't you use the contrib/scripts/readall.sh in the cronjob for that?
And why looking into the log file at all if ebusd supports multiple regular ways to retrieve the values?

from ebusd.

andig avatar andig commented on May 27, 2024

I can't verify your problem with the MQTT interface. Everything works just fine.

Confirmed. I had 2 ebus instances running, reason unknown (sorry- I thought I had closed this issue to clean it up).

For the regular polling of data: why don't you use the contrib/scripts/readall.sh in the cronjob for that?

Haha ;) Never looked there. readall seems to run through every message found and read it?

And why looking into the log file at all if ebusd supports multiple regular ways to retrieve the values?

I wanted to get a good and detailed look at the bai operation- subminute resolution and was looking for the bai to push messages instead me polling it.

Looking at the logfile I got that Status01 whenever the bai sent it (though not much else). I was afraid to have my polling overload the bus and impact bai/vrc operations if I requested too much data.

I'm still wondering what the polling (with priority levels) actually does?

from ebusd.

john30 avatar john30 commented on May 27, 2024

yes, readall.sh reads all elements matching the parameters give, so e.g. with ./readall.sh -c bai temp it would read all temperature messages of the bai circuit.
the polling does what it says, it polls the messages marked as such in regular intervals (see --pollinterval argument to ebusd). you can also use the "read" command to adjust poll priorities during runtime of ebusd. a higher a poll priority value will lead to less often poll of that message, i.e. prio 1 messages are polled in every cycle, prio 2 messages are polled every second cycle and so on.

from ebusd.

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.