Welcome to Smart Home Forum by FIBARO
Dear Guest,
as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.
As a member you can:
- Start new topics and reply to others
- Follow topics and users to get email updates
- Get your own profile page and make new friends
- Send personal messages
- ... and learn a lot about our system!
Regards,
Smart Home Forum by FIBARO Team

Question
sam9s 0
Hi All,
I am trying to execute a scent via REST API, from outside via ifttt, now I am able to execute the scene via URL inside the LAN correctly, but when doing from the internet, I am not able to pass username, password of the HC2 in order to run the scene
The url for the scene is like this
http://<<DDNS ADDRESS:11111/api/devices/<<scene ID>>/action/turnON
Now the port is correctly forward, and DDNS also working, and I AM ABLE to run the scene on POSTMAN inside LAN and from INTERNET
Now I want the same from IFTTT where I have the URL BUT I cannot find the syntax way to pass credentials in the body section, that would make the scene run. When I am in postman I put the URL, I put the credentials under Authorization BASIC and when I execute ...The scene DOES RUN, FROM INTERNET as well. But I cannot replicate the same behavior from IFTTT, since in IFTTT I only have body section and no Header or Authorization TAB as is in postmen
PLease assist how can I achieve the same via IFTTT. I think I just need to find a way to pass credentials from the body section in IFTTT.
Regards
Sammy
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.