Skip to content
This repository was archived by the owner on Aug 21, 2024. It is now read-only.

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

py-sleep-influxdb

Parse Sleep As Android csv and store data in InfluxDb

Usage

download the csv backup from Sleep As Android and store the file as sleep.csv. Configure

  • influxdb_dbname
  • influxdb_user
  • influxdb_password
  • influxdb_host
  • influxdb_port

Create the database in InfluxDb and start the script.

The script takes the From field from the csv for the time field in InfluxDb. The script will write one record in InfluxDb per record in csv. actigraphic and noise records are currently not stored.

For the documentation of the csv format take a look at http://sleep.urbandroid.org/documentation/developer-api/csv/

The data can than be plotted with Grafana.

Dashboard

About

Parse Sleep As Android csv and store data in InfluxDb

Topics

Resources

Stars

10 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages