/raspi_setup

Setup script for Raspberry pi, including scripts, configurations, etc...

Primary LanguagePythonApache License 2.0Apache-2.0

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=<SHEET_KEY> WORKSHEET_NAME=Living SERVICE_ACCOUNT=/etc/conf.d/credentials.json TIMEDELTA=9 {% endcodeblock %}

Ref: rcmdnk/tsd2gspread: Time Series Data to Google Sheets

  • mhz19.conf:

{% codeblock /etc/conf.d/mhz19.conf lang:md %} SHEET_KEY=<SHEET_KEY> WORKSHEET_NAME=Living SERVICE_ACCOUNT=/etc/conf.d/credentials.json TIMEDELTA=9 {% endcodeblock %}

Ref: rcmdnk/tsd2gspread: Time Series Data to Google Sheets

  • cocoro.yml:

{% codeblock /etc/conf.d/cocoro.yml lang:yml %}

appSecret: terminalAppIdKey: {% endcodeblock %}

Ref: rcmdnk/cocoro: Tools for COCORO API (SHARP products)

  • credentials.json:

Ref: Authentication — gspread 3.7.0 documentation

Usage

  1. Run presetup.sh
  2. Prepare configuration files
  3. Run install.sh