-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add references to install.openbikesensor.org, add manual on command-l…
…ine flashing using platformio.
- Loading branch information
Showing
5 changed files
with
52 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
title: Flashen mit platformio | ||
weight: 10 | ||
--- | ||
|
||
Hast du ``git`` und ``python3`` installiert, kannst du mit folgenden Kommandos die OpenBikeSensor Firmware bauen und flashen. | ||
|
||
## Vorbereiten des Firmwareverzeichnisses: | ||
``` | ||
# Git-Repo klonen | ||
git clone https://github.com/openbikesensor/OpenBikeSensorFirmware.git | ||
cd OpenBikeSensorFirmware | ||
# Platformio in einem virtuellen Python Environment installieren | ||
python3 -m venv venv | ||
venv/bin/pip install platformio | ||
``` | ||
|
||
## Flashen | ||
Nun kannst du den ESP (nicht den OpenBikeSensor) per USB-Kabel mit deinem Rechner verbinden und mit folgendem Kommando die Firmware flashen. (je nach systemkonfiguration benötigtst du dafür evtl. root-rechte). GGF ist es dafür nötig den **boot**-Knopf am ESP zu drücken. | ||
``` | ||
platformio run -t upload | ||
``` | ||
|
||
## Nach dem Flashen | ||
Es empfiehlt sich, dich in den [Konfigurationsmodus]({{< ref "/docs/user-guide/configuration">}}) zu begeben, um | ||
- Dein internetfähiges WLAN im OpenBikeSensor zu konfigurieren. | ||
- Das Flashtool zu installieren. | ||
- Noch einmal ein Firmwareupdate aus dem Internet zu installieren. | ||
- Deinen API-Key für Datenuploads einzurichten. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters