So after a lot of searching, I finally found out how to make curl work with passwords. The first time I tried this:
curl -u user:pass --anyauth -X PUT -d brightness=100 http://localhost:8176/Master\ Bedroom\ Lights
My bedroom lights turned on with a brightness of 100%. Perfect.
Then I tried this:
curl -u user:pass --anyauth -X PUT -d brightness=25 http://localhost:8176/Master\ Bedroom\ Lights
And nothing happens.
Nothing happens when I try -d turnOn-1, turnOff=1, etc....
However, if I open Safari, and go to http://localhost:8176/Master%20Bedroom% ... t&turnOn=1 it works every time
All other variations work fine if I use the web address in safari, but curl refuses to work.
Does anyone have ideas?
Thanks!