Hourk Savet: Difference between revisions
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
3. Normally to connect Hue Bridge required to create username | 3. Normally to connect Hue Bridge required to create username | ||
<nowiki> | <nowiki>->Post request: http://<Hue IP address>/api/; Example http://192.168.1.0/api/ | ||
Body: {"devicetype":"my_hue_app#iphone Savet"} | ->Body: {"devicetype":"my_hue_app#iphone Savet"} | ||
->Hue with return the message error in JSON formate "link button not pressed" | |||
->Go to pressed link button on Hue | |||
->Send request again you will got success message from Hue with username ID; Example: pAH0aYzrouoeq3Kn0D8qV1js9QebHiy5lq7QPka | |||
</nowiki> | </nowiki> |
Revision as of 10:34, 23 February 2018
Research Topic
Design and implement mega hub for smart home
Connect and communicate with Hue Bridge, Hue:[1]
1. Make sure the connections are the same network
2. Find IP of Hue on the network
3. Normally to connect Hue Bridge required to create username
->Post request: http://<Hue IP address>/api/; Example http://192.168.1.0/api/ ->Body: {"devicetype":"my_hue_app#iphone Savet"} ->Hue with return the message error in JSON formate "link button not pressed" ->Go to pressed link button on Hue ->Send request again you will got success message from Hue with username ID; Example: pAH0aYzrouoeq3Kn0D8qV1js9QebHiy5lq7QPka