New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refreshing data for mqtt or httpd json interface- use of polling? #52
Comments
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 For the regular polling of data: why don't you use the contrib/scripts/readall.sh in the cronjob for that? |
Confirmed. I had 2 ebus instances running, reason unknown (sorry- I thought I had closed this issue to clean it up).
Haha ;) Never looked there.
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 I'm still wondering what the polling (with priority levels) actually does? |
yes, readall.sh reads all elements matching the parameters give, so e.g. with |
I want to log some ~30 values of my bai- either each minute or when it changes. I've currently solved this by
Status01
notificationsMy code is in https://github.com/andig/vaillant.
I'm wondering what other/ better options there are. Using
mqtt
or/data/
I can get all currently received values from ebusd. Usingmqtt
(but not httpd) I can force updates using/get
suffix.Would the polling feature be suitable for my purpose/ could you explain how it works? I'm wondering if I could setup polling once and only use mqtt or json client to look for the updates?
The text was updated successfully, but these errors were encountered: