Mention timezone setting importance
And correct .venv path
This commit is contained in:
@@ -6,12 +6,19 @@ Recommended: [venv](https://docs.python.org/3/library/venv.html).
|
||||
|
||||
```shell
|
||||
# Optional
|
||||
$ python3 -m venv venv
|
||||
$ source venv/bin/activate
|
||||
$ python3 -m venv .venv
|
||||
$ source .venv/bin/activate
|
||||
|
||||
$ 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
|
||||
|
||||
```
|
||||
@@ -21,7 +28,7 @@ $ cp -i templates/secrets.yaml{.sample,}
|
||||
# Edit both secrets.yaml files.
|
||||
|
||||
# Optional
|
||||
$ source venv/bin/activate
|
||||
$ source .venv/bin/activate
|
||||
|
||||
$ ./reflash.sh compile ''
|
||||
```
|
||||
@@ -30,7 +37,7 @@ $ ./reflash.sh compile ''
|
||||
|
||||
```
|
||||
# Optional
|
||||
$ source venv/bin/activate
|
||||
$ source .venv/bin/activate
|
||||
|
||||
$ ./reflash.sh
|
||||
```
|
||||
@@ -39,7 +46,7 @@ or
|
||||
|
||||
```
|
||||
# Optional
|
||||
$ source venv/bin/activate
|
||||
$ source .venv/bin/activate
|
||||
|
||||
$ esphome run file.yaml
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user