Add notes for Sonoff 4CH updates (ensure to copy out timespec.chan*; remove 1MB build
This commit is contained in:
21
README.md
21
README.md
@ -35,11 +35,32 @@ build_vars:
|
|||||||
Note: OTA will not work on these devices, for lack of flash space for the
|
Note: OTA will not work on these devices, for lack of flash space for the
|
||||||
alternate boot partition.
|
alternate boot partition.
|
||||||
|
|
||||||
|
When updating these, ensure you have a copy of the timespec files:
|
||||||
|
|
||||||
|
```
|
||||||
|
mos get timespec.chan0
|
||||||
|
mos get timespec.chan1
|
||||||
|
mos get timespec.chan2
|
||||||
|
mos get timespec.chan3
|
||||||
|
```
|
||||||
|
|
||||||
|
After flashing, but them back:
|
||||||
|
|
||||||
|
```
|
||||||
|
mos put timespec.chan0
|
||||||
|
mos put timespec.chan1
|
||||||
|
mos put timespec.chan2
|
||||||
|
mos put timespec.chan3
|
||||||
|
```
|
||||||
|
|
||||||
### Using Sonoff-4CH
|
### Using Sonoff-4CH
|
||||||
|
|
||||||
|
Don't forget to copy the timespec files!
|
||||||
|
|
||||||
Sonoff 4CH uses a bunch of GPIO pins for the LEDs and pushbuttons, and as such
|
Sonoff 4CH uses a bunch of GPIO pins for the LEDs and pushbuttons, and as such
|
||||||
has no space for sensors.
|
has no space for sensors.
|
||||||
|
|
||||||
```
|
```
|
||||||
mos config-set app.config=sonoff-4ch.json sensors.dht_gpio=""
|
mos config-set app.config=sonoff-4ch.json sensors.dht_gpio=""
|
||||||
```
|
```
|
||||||
|
|
||||||
|
4
mos.yml
4
mos.yml
@ -44,8 +44,8 @@ config_schema:
|
|||||||
- ["debug.log_udp_addr", "192.168.1.20:1234"]
|
- ["debug.log_udp_addr", "192.168.1.20:1234"]
|
||||||
|
|
||||||
|
|
||||||
build_vars:
|
#build_vars:
|
||||||
FLASH_SIZE: 1048576
|
# FLASH_SIZE: 1048576
|
||||||
|
|
||||||
# List of libraries used by this app, in order of initialisation
|
# List of libraries used by this app, in order of initialisation
|
||||||
libs:
|
libs:
|
||||||
|
Reference in New Issue
Block a user