More than 5 years have passed since last update.
概要
macOSのターミナルからECHONET Lite家電を制御する
環境
macOS : macOS Sierra (version: 10.12.5)
対象家電:空気清浄機
実行コマンド
以下を実行することで空気清浄機をONにする
$ echo "0x10,0x81,0x00,0x00,0x05,0xFF,0x01,0x01,0x35,0x01,0x61,0x01,0x80,0x01,0x30" | xxd -p -r | nc -u 192.168.2.166 3610
※ 192.168.2.166は空気清浄機のIPアドレスにする
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
