Skip to content

Instantly share code, notes, and snippets.

@kurozumi
Created October 12, 2017 13:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kurozumi/f3e74025f0353d1e8bcbba1416800a83 to your computer and use it in GitHub Desktop.
Save kurozumi/f3e74025f0353d1e8bcbba1416800a83 to your computer and use it in GitHub Desktop.
【Python】Amazon Dashボタンでメール送信する方法
settings:
delay: 10
devices:
fc:a6:67:00:00:00: # macアドレス
name: じゃがりこ # 適当。じゃがりこ用のボタンを買ったので。
user: pi # スクリプトファイルの実行権限をもつユーザー
cmd: python3 /home/pi/amazon-dash/sendmail.py # スクリプトを実行するコマンド
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment