Basic Setup for running sensors for stadtpuls.com with Platformio.
Install Platformio Core CLI (or the vscode plugin) https://docs.platformio.org/en/latest/
cd path/to/this/folder/
# https://docs.platformio.org/en/latest/core/userguide/index.html
pio init --board <YOUR BOARD HERE>
For some sensors we use the https request method to post measurements to stadtpuls. To do so we need to adjust the environments variables within the env.sample.h
- copy
env.sample.h.
to yoursrc
folder and rename toenv.h
- include
src
folder to library paths in platformIO - replace sample values with the values of your sensor in stadtpuls
- for the certificate:
- open the URL of your server --> api.stadtpuls.com
- click on the lock icon to the left of your browser's search field
- show details about your certificate
- you might be shown multiple certifcates, take the last one (the one to the most right) and download it
- save your
env.h
Thanks goes to these wonderful people (emoji key):
Fabian Morón Zirfas 💻 📖 |
Julia Zet 💻 📖 |
Dennis Ostendorf 💻 |
Ingo Hinterding 💻 📖 |
Lucas Vogel 💻 📖 |
This project follows the all-contributors specification. Contributions of any kind welcome!
|
A project by:
|
Supported by:
|