Git Product home page Git Product logo

raspberrypi-home's Introduction

Raspberry Pi @ home

我が家のRaspberry Piで動いている奴等です。

環境作成

詳細は「自宅Raspberry Pi再構築メモ」を参考

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get install open-jtalk open-jtalk-mecab-naist-jdic hts-voice-nitech-jp-atr503-m001

git clone https://github.com/yamap55/raspberrypi-home.git
cd raspberrypi-home

python3 -m venv .venv
source /home/yamap55/raspberrypi-home/.venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt

# TOKEN設定
cp ./config_template.json ./config.json
vi ./config.json

# TODO: 
mkdir secret
vi ./secret/birthday-list.txt

crontab ./crontab.bk

script

  • crontab.bk
    • cronのバックアップ。
  • takePhoto.sh
    • 写真を撮ってSlackに投げ込むSript。
  • time_report.sh
    • 時報をお知らせするScript。

util

  • cap.py
    • Raspberry Piに接続されているカメラで写真を撮る。
  • fileUpload2Slack.py
    • ファイルをSlackにアップロード。
  • jsay.sh
    • 指定された文章を喋る。

slack-bot

  • hubot

参考にさせて頂いたblogとか

raspberrypi-home's People

Contributors

yamap55 avatar dependabot[bot] avatar

Watchers

James Cloos avatar  avatar  avatar

raspberrypi-home's Issues

【家事記録】GASのURLをHTML内に記載しないようにする

GASは認証が面倒なので公開にして使っているので、HTMLに記載しないでおきたい。
で、今までは消してからGitHubにあげてたが、面倒なのでHTML内から消し去りたい、

とりあえず思いついた案としては↓

  • GASのURLをURLパラメータにキーを仕込んでそこから取得するようにする

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.