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?