Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rcmdnk/raspi_setup
Setup script for Raspberry pi, including scripts, configurations, etc...
https://github.com/rcmdnk/raspi_setup
Last synced: about 1 month ago
JSON representation
Setup script for Raspberry pi, including scripts, configurations, etc...
- Host: GitHub
- URL: https://github.com/rcmdnk/raspi_setup
- Owner: rcmdnk
- License: apache-2.0
- Created: 2021-04-04T15:58:37.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-08T09:53:20.000Z (about 1 year ago)
- Last Synced: 2024-05-01T12:24:45.774Z (7 months ago)
- Language: Python
- Size: 58.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# raspi_setup
Setup script for Raspberry pi, including scripts, configurations, etc...Setup is optimized for Raspberry Pi Zero.
# Preparation
Prepare following configuration files in **/etc/conf.d**:
* bme280.conf:
{% codeblock /etc/conf.d/bme280.conf lang:md %}
SHEET_KEY=
WORKSHEET_NAME=Living
SERVICE_ACCOUNT=/etc/conf.d/credentials.json
TIMEDELTA=9
{% endcodeblock %}Ref: [rcmdnk/tsd2gspread: Time Series Data to Google Sheets](https://github.com/rcmdnk/tsd2gspread)
* mhz19.conf:
{% codeblock /etc/conf.d/mhz19.conf lang:md %}
SHEET_KEY=
WORKSHEET_NAME=Living
SERVICE_ACCOUNT=/etc/conf.d/credentials.json
TIMEDELTA=9
{% endcodeblock %}Ref: [rcmdnk/tsd2gspread: Time Series Data to Google Sheets](https://github.com/rcmdnk/tsd2gspread)
* cocoro.yml:
{% codeblock /etc/conf.d/cocoro.yml lang:yml %}
---
appSecret:
terminalAppIdKey:
{% endcodeblock %}Ref: [rcmdnk/cocoro: Tools for COCORO API (SHARP products)](https://github.com/rcmdnk/cocoro)
* credentials.json:
Ref: [Authentication — gspread 3.7.0 documentation](https://gspread.readthedocs.io/en/latest/oauth2.html#for-bots-using-service-account)
# Usage
1. Run presetup.sh
2. Prepare configuration files
3. Run install.sh