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

    Xiaomi smart bulb integration

    Smart Lighting
    18
    44
    25.3k
    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.
    • M
      markussl @AtomekTomek
      last edited by

      @AtomekTomek After some time screwing around with python, i managed to get it working with no prior experience. I can try to help you if you have any problems.

      1 Reply Last reply Reply Quote 0
      • P
        powerfons @AtomekTomek
        last edited by

        @AtomekTomek I also got it working, I can help you if needed, it's a 10min process if you are familiar with the tools!

        1 Reply Last reply Reply Quote 0
        • A
          Alexx
          last edited by

          Hi there! I also ordered a Xiaomi RGB light bulb, because of the price. Now I've read, that there is no direct way at the moment to keep it synced with f.lux :( And I am not familiar with Python and those stuff...
          How did you get it to work @markussl and @powerfons ??

          Thank you for your help!

          1 Reply Last reply Reply Quote 0
          • A
            Alexx
            last edited by

            Well, it seems there is development for integration with f.lux ;)

            http://forum.yeelight.com/t/f-lux-behavior-with-yeelight/4485

            At least it's a beginning :thumbsup_tone2:

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

              Our new beta has yeelight support, for lights that support their LAN API.

              https://forum.justgetflux.com/topic/6289/to-join-the-f-lux-beta

              A 1 Reply Last reply Reply Quote 0
              • A
                Alexx @herf
                last edited by

                @herf said in Xiaomi smart bulb integration:

                Our new beta has yeelight support, for lights that support their LAN API.

                https://forum.justgetflux.com/topic/6289/to-join-the-f-lux-beta

                I'm using the betas for quiet a while now.
                Could you please tell me, how to enable the support for YeeLight?
                I've already checked the box for YeeLight support, but it didn't work.

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

                  Which kind of light do you have?

                  Some of them I've tested don't seem to support the LAN API (only work through cloud), but it's more likely we have a bug...

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    Alexx @herf
                    last edited by

                    @herf It's this one:
                    https://xiaomi-mi.com/smart-lighting/xiaomi-yeelight-smart-led-bulb-ipl-e27/

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

                      We have tested mainly on the Bedside Lamp, which is newer and works very well. It is one of the few that has 110V support so we can test it - unfortunately the 220V models do not seem to communicate very reliably when run at 110V in the US.

                      If you are comfortable with Wireshark we could see if your bulb is responding to the discovery protocol (the first step) - it is port 1982 UDP (sort of like UPnP but on a nonstandard port).

                      Also you should know that the LAN protocol we're using (provided to third parties) is not the same as the cloud-based system that the yeelight/milight seem to use in their own apps. So there may be bugs in older lights with the LAN protocol, and maybe they would be fixed in a firmware update, but I'm not sure what should work and what should not.

                      A 1 Reply Last reply Reply Quote 0
                      • A
                        Alexx @herf
                        last edited by

                        @herf Hi, maybe I should have been more patient and more precise...
                        It just works now:thumbsup_tone2:
                        Don't know, why I didn't see it yesterday.
                        I don't need extra stuff or another URL.
                        Great!

                        Does it affect all connected lights at once?

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

                          Good to hear it! :) :)

                          A 1 Reply Last reply Reply Quote 0
                          • A
                            Alexx @herf
                            last edited by Alexx

                            @herf :grinning: What about my question? Since I use no URL, will f.lux process separate
                            lights as one?

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

                              @Alexx right now it knows about each bulb but doesn't have UI for separate controls yet.

                              1 Reply Last reply Reply Quote 0
                              • O
                                Odyseus @Alexx
                                last edited by

                                @alexx How did you make it work? I have the same issue as you do here.
                                Thanks

                                A 1 Reply Last reply Reply Quote 0
                                • A
                                  Alexx @Odyseus
                                  last edited by

                                  @odyseus Have a look right here
                                  Beside of that, does f.lux tell you, that it found lamps at the startup? Your lamps have to be switched on, of course;)

                                  O 1 Reply Last reply Reply Quote 0
                                  • O
                                    Odyseus @Alexx
                                    last edited by

                                    @alexx Oh so i do need to use that fluxee thing ? I thought it was already implemented into f.lux.

                                    A 1 Reply Last reply Reply Quote 0
                                    • A
                                      Alexx @Odyseus
                                      last edited by

                                      @odyseus At first you could try to insert the URL in f.lux, which you find in the fluxee description.

                                      A 1 Reply Last reply Reply Quote 0
                                      • A
                                        Alexx @Alexx
                                        last edited by

                                        @alexx http://127.0.0.1:8080/room_1

                                        O R 2 Replies Last reply Reply Quote 1
                                        • O
                                          Odyseus @Alexx
                                          last edited by

                                          @alexx Still doesn't work :( do i have to launch the fluxee.exe each time i start my computer ?

                                          1 Reply Last reply Reply Quote 0
                                          • B
                                            BenBen
                                            last edited by

                                            I just bought a bulb Yeelight RVB (YLDP06YL).
                                            I was worried that it might be difficult to get it working with f.lux but it really doesn't.
                                            It doesn't need the Python script from David Ramiro (https://github.com/davidramiro/fluxee). Maybe it was needed before, i'm using f.lux version 4.76.

                                            Here is what i've done :
                                            Install the bulb, install the software on the smartphone (Mi home + Yeelight).
                                            You might not need Mi home, i didn't test without it.
                                            Get everything works between the app and the bulb.
                                            Then enable Lan control in the Yeelight app.
                                            For that, David Ramiro has made two screen capture who explain very well what to do (David if you read me, i hope you don't mind using your links here) :
                                            https://kore.cc/fluxee/1.png
                                            https://kore.cc/fluxee/2.png
                                            On f.lux, on the menu "Options and Smart Lighting..." then "Connected lighting", check "YeeLight".
                                            It works perfectly for me, i hope it will be the same for everyone.

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