laundry_status/README.md

13 lines
818 B
Markdown
Raw Normal View History

2024-01-28 15:33:36 -06:00
# Laundry status
2023-11-22 11:31:05 -06:00
2024-01-28 15:32:14 -06:00
This script generates a website that tracks the washing machine and dryer use of my apartment building. The washing machine and dryer are plugged into smartplugs (Sonoff S31s) that are running ESPHome. A homeassistant instance gets that data every 1 minute and sends it to an InfluxDB database. `laundry_status.R` reads that database with an api key, restructures the data, and generates a website using `laundry_status.Rmd`. It also generates a long-term data visualization using `laundry_longterm_data.Rmd`.
2024-01-28 15:33:03 -06:00
Both the status page and long-term data have Spanish translations (`laundry_status_es.Rmd` and `laundry_longterm_data_es.Rmd`).
2024-01-28 15:32:14 -06:00
You can see the website here: [laundry.dendroalsia.net](https://laundry.dendroalsia.net)
2023-11-22 11:31:05 -06:00
2024-01-28 15:33:36 -06:00
## Required libraries:
2023-11-22 11:31:05 -06:00
- `tidyverse`
- `influxdbclient`
- `rmarkdown`