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
Guest
Trying to achive something like this python line in a QA.
I connect, send commands etc but cannot find how to include the "header"
asyncio.run(client.subscribe(query=query, headers={'Authorization': "d1007ead2dc84a2b82f0de19451c5fb22112f7ae11d19bf2bedb224a003ff74a"}, handle=print_handle))
Should it go into the connect or into the send command? (From the API (
Please login or register to see this link.
) it says it should be included in every request. (and I have it working in a http request (where it is not streaming data)Below suggestion (with errors)
1 answer 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.