Do you mean in your browser? If yes that is EXPECTED behaviour your webbrowser does GET requests the HA API expects POST requests. This has nothing to do with your profile not activating. Nothing strange here.
You need to narrow down on the profile part in tasker this is where your error lies.
Input/Output error for http://XXXX:8123/api/services/switch/turn_on%service?api_password=XXXX: java.io.IOException: Invalid % sequence: %se in path at index 59: http://XXXXX:8123/api/services/switch/turn_on%service?api_password=XXXX
One thing I noticed a lot with tasker is it does some caching. Try to reboot your phone after some changes and see what happens. It maybe that tasker has something old still cached.
I do not need ANY ifs because I am calling the API.ai which handles the correct calls to HA.
I can say
“OK Google ask my home to turn on the lights”
“OK Google ask my home how it feels”
doesen’t matter as long as I configured does utterances in the API.ai
Probably you made some mistakes…
In my original post, I made also some typos, however, it seems I cannot edit my post any more
(eg in data / file, the entity_id I had one double quote too much…)
The example where you didnt use %service, that way you can only turn on switches…
If you use %service, then it can be anything what you want and put that in the variable service.
I recommend to check the following things.
your global variables
your local variables
your HTTP post action, especially your data…
Then it should work… I created those since the beginning I had HASS, and it have been working flawless for me…
I have checked your original post, corrected all the mistakes and rebooted my phone but I still get the same error:
Input/Output error for http://XXXX:8123/api/services/switch/turn_on%service?api_password=XXXX: java.io.IOException: Invalid % sequence: %se in path at index 59: http://XXXXX:8123/api/services/switch/turn_on%service?api_password=XXXX
@broesie is it possible to set Command Filter like this:
(?<task>.+) (?<device>.+)
You always have a word between groups (e.g. (?<task>.+) my (?<device>.+) ) but in my native language I don’t need any words in between. With the word between groups all works, but without it doesn’t.
Input/Output error for http://XXXX:8123/api/services/switch/turn_on%service?api_password=XXXX: java.io.IOException: Invalid % sequence: %se in path at index 45: