LoginSignup
3
2

More than 5 years have passed since last update.

Philips Hueを固定IPにする

Posted at

意外と情報でてきにくいのでメモ

システム構成

ルーターで固定IPにしたり、動的に割り振られたものを取得してもいいのですが、あんまり機材増やしたくない場合が多いので、MacとHueを直結して固定IPにしちゃう。

ですので、以下のような構成だとします。

Macbook
↓
USB Ethernet Adapter
↓
Hue bridge

Hue 側の設定

コンソールを開く

http://{HUE_BRIDGE_IP}/debug/clip.html

デバイス名のとかの設定は済んでいるとして、

URL:

/api/{USERNAME}/config

Message Body:

{
  "ipaddress":"192.168.0.200",
  "dhcp":false,
  "netmask": "255.255.255.0",
  "gateway": "192.168.0.100"
}

Mac側の設定

Hue のゲートウェイと、Mac側のIPアドレスを揃えておくこと

network.png

無事に設定できれば、
http://192.168.0.200/debug/clip.html
が開くはず。

curl でも設定できるっぽい

ちなみにブラウザコンソール以外に curl でも設定できるっぽい。知らなかった

3
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2