Help us understand the problem. What is going on with this article?

Philips Hueを固定IPにする

More than 1 year has passed since last update.

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

システム構成

ルーターで固定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 でも設定できるっぽい。知らなかった

https://developers.meethue.com/content/configuring-static-ip-address-bridge-claims-success-stays-old-address

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした