Like this:
Code: Select all
ON:
http://flemmingss:PWD@localhost:8080/json.htm?type=command¶m=switchlight&idx=36&switchcmd=On
OFF:
http://flemmingss:PWD@localhost:8080/json.htm?type=command¶m=switchlight&idx=66&switchcmd=Offthe buttons on the wall works, I can see it in the log.
Code: Select all
2016-10-18 19:18:31.753 (Rfxcom433E USB) Lighting 2 (17B - Bryter)
2016-10-18 19:18:32.905 (Rfxcom433E USB) Lighting 2 (17B - Bryter)But the JSON url's works from my browser, phone ect (not localhost), also with "logon page"?
what can be the problem?
I don't want to use the "Basic-Auth" because it works badly with automatic login.