Pull data from resmed/myAir to influxdb - https://github.com/vdbg/resmed-influx
10K+
Allows for importing MyAir data to InfluxDB.
Note: instructions below are for using config.toml for settings but environment variables may be used instead. See template.config.toml for instructions.
touch config.tomlsudo docker run --name myAir -v "`pwd`/config.toml:/app/config.toml" vdbg/resmed-influxsudo docker cp myAir:/app/template.config.tomlconfig.tomlconfig.toml by following the instructions in the filesudo docker start myAir -i
This will display logging on the command window allowing for rapid troubleshooting. Ctrl-C to stop the container.sudo docker container rm myAirsudo docker run -d --name myAir -v "`pwd`/config.toml:/app/config.toml" --restart=always --memory=100m vdbg/resmed-influxsudo docker container logs -f myAirThe app may fail on first run, or may start failing after a long period of successful runs with a "policyNotAccepted" error. If this happens, navigate to the myAir web - ResMed site, enter your credentials, and accept myAir's policy.
Content type
Image
Digest
sha256:19103b8af…
Size
29.3 MB
Last updated
almost 2 years ago
docker pull vdbg/resmed-influx