🤖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

    Scheduled Pinned Locked Moved General
    4 Posts 3 Posters 6.2k Views 1 Watching
    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 Offline
      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 Offline
        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 Offline
          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 Offline
            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

            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
            • First post
              Last post