Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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...

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