先日 Amazon Dash Button から Slack に通知しようとしたことを書いた。
[Mac][Keyboard Maestro] Amazon Dash Button で Slack 通知 – with a Christian Wife
https://blog.withachristianwife.com/2019/01/19/amazon-dash-button-to-slack-with-keyboard-maestro/
Keyboard Maestro による方法はあまり確実ではないので、別の方法を試してみた。
環境:Raspberry Pi 3 B+、Raspbian Stretch
(1)Node.js と npm をインストール
Raspberry PiにNode.jsとnpmの最新版をインストールする – Qiita
https://qiita.com/mascii/items/77c685df65c4cbca9315
(2)後は以下に従う。
Amazon Dash Button で「ボスが来た」ボタンを作る (加筆修正版) – Qiita
https://qiita.com/albno273/items/615e8181120dacef4e5f
しかし、うまく動かない・・・。