"Run if on/off" JSON url dont work if i use "login page" instead of "basic authentication"
Posted: Tuesday 18 October 2016 22:48
I have some wall-buttons connected to my RFXTRX443E that should turn lights on and off.
Like this:
This works fine if i use "Basic-Auth", but if i change it to "logon page" it stops working in like 10 minutes or somthint.
the buttons on the wall works, I can see it in the log.
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.
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.