-
-
Notifications
You must be signed in to change notification settings - Fork 138
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
How to initialize polling of several messages in Docker Compose #508
Comments
Content of the docker-compose yaml file: version: "3.5" services: mosquitto:
influxdb: telegraf: ebusd: |
I would suggest that you clone the ebusd-configuration repository (https://github.com/john30/ebusd-configuration) to a local directory and change the message type from "r" to "r1-r9" (according to the poll priority needed) for all values you want to poll regularly (refer to message definition). The parameter So you don't need to do that manually via MQTT. |
Awesome, that sounds exactly what I'm looking for! Thanks! |
closed due to inactivity |
Hi,
I am working on setting up the following chain: ebusd -> mosquitto -> telegraf -> influxdb using docker-compose.
Currently the entire chain seems to be working as expected, but there is 1 thing I still have to do manually which I would like to automate somehow.
After initializing ebusd I have to manually use Mosquitto to enable polling of the parameters I'm interested in using (for example) the following command: docker container exec mosquitto mosquitto_pub -t 'ebusd/700/z1RoomTemp/get' -m '?3'
As far as I understand, this command tells ebusd to enable polling for this message, which indeed works; I nicely see the data flowing into the database at a regular interval.
I would however like to add this initialization somewhere in my code such that ebusd automatically knows which messages to poll. How to do this?
The text was updated successfully, but these errors were encountered: