I’m no expert on networking, but I was wondering why I can’t connect to the lightbulb through HTTP API.
I’ve included a “setup” of my Home network. It’s really basic.
From a Modem only to a switch (becasue the Digicorder needs an IP address from the ISP).
From the switch, I connect to a small router and behind the router there’s an IPad and a Cellphone, which makes a wireless connection (both have Internet access, through an 192.168.x.x IP-address.
I’ve created a Authorisation token on my profile and tried this command from the Desktop PC:
" https://api.lifx.com/v1/lights/:selector/toggle ", with “:selector” = “all” or “d073d50009e8”
and the result I’ve got:
The bulb seems to be “offline” and it isn’t physically powered off, so according to the HTTP API section “Reachability” it’s unreachable.
I’m able to control the lightbulb through the LifX App 4 via the IPad, but not when I’m using the HTTP API.