Skip to content

Commit

Permalink
Cleaning up obsolete information
Browse files Browse the repository at this point in the history
Stuff from implementation v1
  • Loading branch information
rossdrew committed Mar 6, 2020
1 parent e3fa136 commit 16bcd7c
Showing 1 changed file with 2 additions and 23 deletions.
25 changes: 2 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,34 +60,13 @@ Run the peripheral read loop
python read_cycle_v2.py
```

which will start to fill up data.csv and a specified InfluxDB, then (optionally) run the HTTP server

```bash
python http_interface.py
```

which will provide test charts on `http://{ip-address}:{port}/report` generated from file based data.
which will start to fill up a specified InfluxDB

Running in a test environment (not on a Raspberry Pi with a AM2302 sensor) will require swapping out the used of `TestClimateDataSource` for the `AM2302DataSource`. I'm yet to figure out a nice way to automate this.

## Recording

Data is recorded to a local InfluxDB and local sensors are also recorded to a local file in CSV format.

#### Sample File Data

```
2019-05-24 12:55:30.221564,25.899999618530273,43.29999923706055
2019-05-24 12:56:30.807389,26.0,43.29999923706055
2019-05-24 12:57:31.394122,26.0,43.79999923706055
2019-05-24 12:58:31.980609,25.899999618530273,43.599998474121094
2019-05-24 12:59:32.566356,25.700000762939453,43.29999923706055
2019-05-24 13:00:33.143378,25.700000762939453,43.70000076293945
2019-05-24 13:01:33.729952,25.100000381469727,45.900001525878906
2019-05-24 13:02:34.316845,24.5,47.5
2019-05-24 13:03:34.903718,24.0,48.900001525878906
2019-05-24 13:04:35.490432,23.700000762939453,49.79999923706055
```
Data is recorded to a local InfluxDB

#### Sample Weather JSON Data

Expand Down

0 comments on commit 16bcd7c

Please sign in to comment.