Update Readme.md
This commit is contained in:
parent
a7ac9aef89
commit
0b0839be86
12
Readme.md
12
Readme.md
@ -14,14 +14,4 @@ This is a Gadgetbridge MQTT bridge for TrueNAS Scale, which allows you to connec
|
|||||||
## Editing Sensors
|
## Editing Sensors
|
||||||
|
|
||||||
- add new mqtt sensor around here [main.py#L90](https://git.olli.info/Oliver/GadgetbridgeMqtt/src/branch/main/main.py#L90)
|
- add new mqtt sensor around here [main.py#L90](https://git.olli.info/Oliver/GadgetbridgeMqtt/src/branch/main/main.py#L90)
|
||||||
- add new function for new sensor around here [main.py#L208](https://git.olli.info/Oliver/GadgetbridgeMqtt/src/branch/main/main.py#L208)
|
- add new function for new sensor around here [main.py#L208](https://git.olli.info/Oliver/GadgetbridgeMqtt/src/branch/main/main.py#L208)
|
||||||
|
|
||||||
## Reduce Database Size
|
|
||||||
|
|
||||||
1. Export ZIP in Gadgetbridge > Data Management
|
|
||||||
2. Unzip, clear logs & other unneeded data.
|
|
||||||
3. Locate `Gadgetbridge` in `database/` and `files/` and delete old heart pulse samples to reduce the size of the Gadgetbridge database:
|
|
||||||
```bash
|
|
||||||
sqlite3 Gadgetbridge "DELETE FROM HEART_PULSE_SAMPLE; VACUUM;"
|
|
||||||
```
|
|
||||||
4. Rezip and import back into Gadgetbridge
|
|
||||||
Loading…
Reference in New Issue
Block a user