FHEM Forum

FHEM => Anfängerfragen => Thema gestartet von: homer am 28 Mai 2013, 00:36:27

Titel: Android tasker with webauth protected FHEM
Beitrag von: homer am 28 Mai 2013, 00:36:27
Hi All,

I can turn a light on using tasker by issuing the following with HTTP GET:

my_url:my_port/fhem?cmd.LOUNGELIGHT=set%20LOUNGELIGHT%20on

... but only if I turn webauth off in FHEM. I assume I need to pass my username and password in the URL? Can someone please let me know how to do this?

Thanks
Homer
Titel: Aw: Android tasker with webauth protected FHEM
Beitrag von: homer am 28 Mai 2013, 11:26:09
Ok. I've worked out what to do:

username:password@my_url:my_port/fhem?cmd.LOUNGELIGHT=set%20LOUNGELIGHT%20on
Titel: Aw: Android tasker with webauth protected FHEM
Beitrag von: homer am 28 Mai 2013, 20:40:48
Thanks everyone for your help. Joerg, your suggest seems sensible. I'm giving it a try!

Thanks
Homer
Titel: Antw:Android tasker with webauth protected FHEM
Beitrag von: forum-merlin am 28 Dezember 2014, 22:30:58
Thanks Homer!

Nice to know how it works if web auth is enabled!
Now I can trigger FHEM commands from my "CRON Server" which controls several devices via shell script from outside.

cu