🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    HTTP request to Fibaro HC2

    General
    3
    4
    5.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tnesheim
      last edited by tnesheim

      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.

      1 Reply Last reply Reply Quote 0
      • T
        Thrasher
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • T
          tnesheim
          last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • lukasmaximusL
            lukasmaximus
            last edited by

            This sounds cool @tnesheim are you doing some home automation? Mind showing us how you did it?

            1 Reply Last reply Reply Quote 0
            • First post
              Last post