HTTP request to Fibaro HC2
-
Hi
I´m trying to connect to the Fibaro Home Center 2 API from my M5Stack using UIFlows. I´m trying to reach a variable at http://10.0.0.5/api/globalVariables/TellerPresence , but in addition to the URL, username/password are required. I cannot figure where to put this in the UIFLow. Please advice. -
Hi,
I dont have such hardware, but theoretically, you can see what kind of http request you need to send to authorize, and then send it with m5stack. You will need some micropython as I dont think UIFlow has such blocks -
I made it work with the UIFlow. The problem for me was to include username and password in the header in the right format. I was saved by a online key-generator that based on my username and password made a long key which I put into the header.
-
This sounds cool @tnesheim are you doing some home automation? Mind showing us how you did it?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login