This program integrates with the Philips Hue platform. The id, name, on status, and brightness for all lights are displayed. The program then runs continuously and displays any changes to the light’s status.
Basic usage:
./hue_talk <IP address>Full usage and options:
./hue_talk -h | --help : Print usage
hue_talk <IP address> : IP address is required for connection.
: IP address must be first argument
Options:
p <port number> : Designate a port number for the connection
: Default port number is 80
-u <username> : Designate a username for the connection
: If no username is provided, the Link-Button will be neededExample usage:
./hue_talk 192.168.0.2 -p 80 -u my_hue_usernamegit clone ---recursive https://github.com/auman66/hue_talk
cd hue_talk && mkdir build && cd build
cmake ..
make
./hue_talk <IP address>This program relies on two external packages:
- JSON for Modern C++: https://github.com/nlohmann/json
- C++ Requests: Curl for People, a spiritual port of Python Requests: https://github.com/whoshuu/cpr