I’m running HA in a docker container on a rpi2.
I want to look into the whole influxdb/grafana thing and started by setting up influxdb using the hypriot/rpi-influxdb image.
Now, the documentation says that it is possible to import data from the home assistant database (dockerized mysql in my case) into InfluxDB.
The exact command is:
hass --script influxdb_import --config CONFIG_DIR \ -H IP_INFLUXDB_HOST -u INFLUXDB_USERNAME -p INFLUXDB_PASSWORD \ --dbname INFLUXDB_DB_NAME --exclude_domains automation,configurator
This approach seems to be for Hassbian / AIO installations, but not for docker setups.
How do I run this?
Can I trigger this somehow from inside the HA container?