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
Ok. I've worked out what to do:
username:password@my_url:my_port/fhem?cmd.LOUNGELIGHT=set%20LOUNGELIGHT%20on
Thanks everyone for your help. Joerg, your suggest seems sensible. I'm giving it a try!
Thanks
Homer
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