aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md24
1 files changed, 4 insertions, 20 deletions
diff --git a/README.md b/README.md
index d0a9f96..e803073 100644
--- a/README.md
+++ b/README.md
@@ -9,28 +9,13 @@ energyconsumption.
```
python3 -m venv venv
source venv/bin/activate
-pip3 install -r requirements.txt
+pip install --upgrade pip
+pip install .
```
+If running `scripts/neihub.py` or `scripts/esphomeapi.py`, also run `pip install
+".[esphome]"` and `pip install ".[neohub]"`.
-## Handling pip
-
-```
-# Create requirements.txt
-pip3 freeze > requirements.txt
-
-# Show outdated packages
-pip3 list --outdated
-
-# Upgrade package
-pip3 install -U name
-
-# Upgrade everything
-pip3 install -U -r requirements.txt
-
-# Update requirements.txt
-pip3 freeze > requirements.txt
-```
## Schema
@@ -65,4 +50,3 @@ journalctl -fu "energyscripts-*"
## TODO:
Put every state in `states`-table. Entities in an entity-table, and devices in
a device-table.
-