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
Cafun 13
Hi community!
I was hoping someone can help me out with something.
So, I got
Please login or register to see this link.
to open/close my curtains.They've got an OpenAPI. At this moment there is no integration Fibaro (but they say it will be). I also do have Home Assistant and with that I can control my curtains.
I know it's not ideal, but I would like to use the Home Assistant API to open/close my curtains. So when I press a button on a Zwave remote, it opens/closes my curtains.
I don''t have any knowledge about JSON and http requests into Lua. I have the code below, but it doesn't work (I didn't expected to
).
At this moment it I get the error:
[ERROR] 07:22:13: line 3: '' expected near '" "'
But I don't think it's the only thing which isn't right.
They payload I defined should be in the body.
Please login or register to see this code.
Link to comment
Share on other sites
24 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.