f.lux f.lux forum
    • Recent
    • Popular
    • Register
    • Login

    f.lux generates many Hue keys

    Windows v4
    2
    6
    2.2k
    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.
    • L
      LogicDeLuxe
      last edited by

      I noticed in the user list, that f.lux has generated quite a lot keys. Only one of them is updated today, and all the others seem to be unused.

      1 Reply Last reply Reply Quote 0
      • herfH
        herf
        last edited by

        It should make one when you pair it (and only then). Are you seeing it try to pair frequently?

        L 1 Reply Last reply Reply Quote 0
        • L
          LogicDeLuxe @herf
          last edited by

          @herf said in f.lux generates many Hue keys:

          Are you seeing it try to pair frequently?

          No. The pairing popup only appears when I clear the whitelist of all f.lux entries. All those entries have a creation date within a 3 seconds time period.

          1 Reply Last reply Reply Quote 0
          • herfH
            herf
            last edited by

            We will generate multiple keys like that if we think you have multiple bridges. (We have two in our network at home.)

            How many id's are in https://www.meethue.com/api/nupnp ?

            L 1 Reply Last reply Reply Quote 0
            • L
              LogicDeLuxe @herf
              last edited by LogicDeLuxe

              @herf said in f.lux generates many Hue keys:

              How many id's are in https://www.meethue.com/api/nupnp ?

              That link shows me one id and the LAN IP of my one and only bridge.
              In /api/key/config, I counted a total of 94 keys belonging to f.lux.

              1 Reply Last reply Reply Quote 0
              • herfH
                herf
                last edited by herf

                I think this is it: f.lux keeps the "hue" preference turned on even when pairing fails, and so each time you restart it like this, it will try to make an account. It will tell you in a notifier that it's doing that...but of course you might not jump right up and hit the hue button right then.

                We probably should not do this on startup, and instead turn the feature off if it fails... this is broken in the code because we allow you to pair with multiple bridges, and so if you wanted f.lux to control one and not another one, it is hard to show that in the UI.

                Then, I think Hue is persisting those attempts forever, even if the pairing is unsuccessful. (The "old" protocol did not do this, so I have an excuse....)

                Will take another look at it.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright © 2014 NodeBB Forums | Contributors