Last active
December 24, 2017 13:50
-
-
Save freddiefujiwara/6a637a1c50e1d76cd032b22ed61ac029 to your computer and use it in GitHub Desktop.
Google HomeとIFTTTと自宅のサーバ(Rasberry Piでもok)で簡単家電操作 ref: https://qiita.com/freddiefujiwara/items/589f1388d5b278cf216e
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module.exports = { | |
| "heat":"[エアコン暖房ボタンの赤外線信号]", | |
| "cool":"[エアコン冷房ボタンの赤外線信号]", | |
| "airoff":"[エアコンオフボタンの赤外線信号]", | |
| "tv":"[テレビ電源の赤外線信号]" , | |
| "light":"[ライトの赤外線信号]" | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| try_files $uri $uri/ /index.html; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| npm i -g broadlinkjs-rm-cli |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| broadlinkjs-rm-cli 192.168.1.3 heat # 暖房をつける |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| broadlinkjs-rm-cli 192.168.1.3 heat # 暖房をつける |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| npm i -g altd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| altd /var/log/nginx/access_log -w broadlinkjs-rm-cli,ls |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| broadlinkjs-rm-cli 192.168.1.3 airoff |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| command airoff -> Device 192.168.1.3(11:22:33:44:55:66) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| OK |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment