Mention timezone setting importance

And correct .venv path
This commit is contained in:
2025-03-24 13:10:10 +01:00
parent dc60a7728f
commit aef0f374b9
+12 -5
View File
@@ -6,12 +6,19 @@ Recommended: [venv](https://docs.python.org/3/library/venv.html).
```shell ```shell
# Optional # Optional
$ python3 -m venv venv $ python3 -m venv .venv
$ source venv/bin/activate $ source .venv/bin/activate
$ pip3 install -r requirements.txt $ pip3 install -r requirements.txt
``` ```
Your PC timezone is important for esphome schedules, as they will use compiler's
timezone when syncing the clock (NTP). Consider changing it to your home TZ:
```
# dpkg-reconfigure tzdata
```
## Compiling ## Compiling
``` ```
@@ -21,7 +28,7 @@ $ cp -i templates/secrets.yaml{.sample,}
# Edit both secrets.yaml files. # Edit both secrets.yaml files.
# Optional # Optional
$ source venv/bin/activate $ source .venv/bin/activate
$ ./reflash.sh compile '' $ ./reflash.sh compile ''
``` ```
@@ -30,7 +37,7 @@ $ ./reflash.sh compile ''
``` ```
# Optional # Optional
$ source venv/bin/activate $ source .venv/bin/activate
$ ./reflash.sh $ ./reflash.sh
``` ```
@@ -39,7 +46,7 @@ or
``` ```
# Optional # Optional
$ source venv/bin/activate $ source .venv/bin/activate
$ esphome run file.yaml $ esphome run file.yaml
``` ```