Skip to content

Commit

Permalink
final refinement thank to Emanuele Falzone!
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Dec 22, 2020
1 parent 17a52a4 commit cf378f2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion flux_firealarm/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
- "8086:8086"

influxdb-sidecar-setup:
image: emanuelefalzone/influxdb-sidecar-setup:1.0.0
image: emanuelefalzone/influxdb-sidecar-setup:1.0.1
hostname: influxdb-sidecar-setup
container_name: influxdb-sidecar-setup
environment:
Expand All @@ -20,6 +20,7 @@ services:
INFLUX_ORGANIZATION: quantia
INFLUX_BUCKET: usde
INFLUX_RETENTION_PERIOD: 0
INFLUX_PORT: 8086

notebook:
image: jupyter/pyspark-notebook:42f4c82a07ff
Expand Down
6 changes: 3 additions & 3 deletions flux_firealarm/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

**NOTE**: for continuous execution either save as cell in a dashbaord and activate auto-refresh or as a task

###Q0
### Q0

sensors that measure a temperature above 20 C

Expand All @@ -42,7 +42,7 @@ from(bucket: "training")



###Q1
### Q1
sensors that observe smoke (smoke either true or false)

```
Expand All @@ -64,7 +64,7 @@ from(bucket: "training")
|> filter(fn: (r) => r._value == true )
```

###Q2 - Avg
### Q2 - Avg

the average temperature observed by the sensors

Expand Down

0 comments on commit cf378f2

Please sign in to comment.