Announcement

Collapse
No announcement yet.

Yeelight Plugin (Beta) - Testers Wanted

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Adam, I am curious, will this plugin work with the LEDENET controllers?

    I have some of the LEDENET controllers for LED lights. They can be controlled with an app on your phone named Magic Home. This is one of the controllers see https://www.amazon.com/LEDENET-Contr.../dp/B00MDKOSN0

    Thoughts?
    Billy

    Comment


      #17
      Originally posted by jfla View Post
      Hello, MrHappy

      I have a big problem

      After update this morning, Windows Defender detect a virus in file HSPI_YEELIGHT3P.exe

      NOT with V0001

      Jean-Francois.
      OK well this is obviously does not sound good, I have however checked and re-checked the version with Windows defender (I also run it and keep my definitions up to date) and cannot see a trojan. I have looked around and it looks as if it is detected in a number of pieces of software and are likely to be a false positive. I have checked it on VirusTotal and it comes back clean.

      I expect it is because of what I am doing (sending multicast packets on a non standard port) it might think that it is some type of malware, I'm sorry you are seeing this. I am hoping that when Rob gets his devices he can test the plugin and I will know whether or not it works for someone else apart from me. At the minute it is difficult to guess where the problem might be, on your PC or in the plugin.

      Comment


        #18
        Originally posted by bdraper View Post
        Adam, I am curious, will this plugin work with the LEDENET controllers?

        I have some of the LEDENET controllers for LED lights. They can be controlled with an app on your phone named Magic Home. This is one of the controllers see https://www.amazon.com/LEDENET-Contr.../dp/B00MDKOSN0

        Thoughts?
        I'm doing some work with a not dissimilar device that uses the eWelink app on ios/droid and I expect these are likely similar. I am afraid the plugin does not support these and never will. The devices are commonly ESP8266/8285 and can be re-flashed with a number of different firmware versions out there, I've tried interfacing natively with the protocol that appears to be built into these units and it is a pain (secure websockets and odd bits like that) and does not work correctly which leads me to think of re-flashing is the likely way forward. You can pick up all sorts cheaply which are similar and I have the Arilux dimmer that I am looking at re-flashing.

        Comment


          #19
          I've also been looking at getting a lightswitch working which uses ewelink. IFTT works with it. but thats very slow.

          Comment


            #20
            Adam,
            I finally received my Yeelight (1 month to the day of order). I haven't played with it yet, however, from what I read about the android app, I need to create an account to use it. Is this required from your plugin? Can it be used independent on cloud services?

            You have a couple of versions of your plugin here, which one should I use?

            Robert
            HS3PRO 3.0.0.500 as a Fire Daemon service, Windows 2016 Server Std Intel Core i5 PC HTPC Slim SFF 4GB, 120GB SSD drive, WLG800, RFXCom, TI103,NetCam, UltraNetcam3, BLBackup, CurrentCost 3P Rain8Net, MCsSprinker, HSTouch, Ademco Security plugin/AD2USB, JowiHue, various Oregon Scientific temp/humidity sensors, Z-Net, Zsmoke, Aeron Labs micro switches, Amazon Echo Dots, WS+, WD+ ... on and on.

            Comment


              #21
              Originally posted by langenet View Post
              Adam,
              I finally received my Yeelight (1 month to the day of order). I haven't played with it yet, however, from what I read about the android app, I need to create an account to use it. Is this required from your plugin? Can it be used independent on cloud services?

              You have a couple of versions of your plugin here, which one should I use?

              Robert
              You unfortunately need to sign up (I just use a disposable email address for these things) to the app to link your devices to the wifi however that is that last you need to do with the app, the plugin is 100% connecting locally to the bulbs - there are no external calls made to it.

              Use the version posted in the Dec 21st post, I've checked and there is no virus in there it is likely the scanner picking up what the network traffic is doing and interpreting it as a virus. You will need to enable LAN mode in the app on android first though before the plugin will see the bulbs, it was quite hidden IIRC you had to go into the individual bulb settings then it was an option at the very bottom of the screen.

              Comment


                #22
                Adam,

                The plugin doesn't seem to see the yeelight at all. I'm able to control the light with my phone, however, the logs only show...

                Jan-14 5:43:43 PM Plug-In Finished initializing plug-in Yeelight 3P

                Jan-14 5:43:43 PM Yeelight 3P Start Discovery Timer

                Jan-14 5:43:43 PM Yeelight 3P UDP RX Thread Started

                Jan-14 5:43:43 PM Yeelight 3P Yeelight LED Startup

                Jan-14 5:43:43 PM Info Plugin Yeelight 3P has connected. IP:127.0.0.1:51103

                I used the plugin download from the December 31 as I think that's the one you meant.. perhaps I'm wrong..?

                Robert
                HS3PRO 3.0.0.500 as a Fire Daemon service, Windows 2016 Server Std Intel Core i5 PC HTPC Slim SFF 4GB, 120GB SSD drive, WLG800, RFXCom, TI103,NetCam, UltraNetcam3, BLBackup, CurrentCost 3P Rain8Net, MCsSprinker, HSTouch, Ademco Security plugin/AD2USB, JowiHue, various Oregon Scientific temp/humidity sensors, Z-Net, Zsmoke, Aeron Labs micro switches, Amazon Echo Dots, WS+, WD+ ... on and on.

                Comment


                  #23
                  Hello, MrHappy

                  I have installed AVAST on my homeseer serveur.

                  Now, No error with HSPI_YEELIGHT3P.exe

                  I started it :

                  janv.-18 19:45:03 Yeelight 3P Creating Device: Yeelight 31aac13 CT Colour
                  janv.-18 19:45:03 Yeelight 3P Creating Device: Yeelight 31aac13 RGB Colour
                  janv.-18 19:45:03 Yeelight 3P Creating Device: Yeelight 31aac13 Transition
                  janv.-18 19:45:03 Yeelight 3P Creating Device: Yeelight 31aac13 Fade Duration
                  janv.-18 19:45:03 Yeelight 3P Creating Device: Yeelight 31aac13 Control
                  janv.-18 19:45:03 Yeelight 3P Creating Device: Yeelight 31aac13 Root
                  janv.-18 19:45:03 Yeelight 3P Device Does Not Exist - 31aac13 - Creating Devices
                  janv.-18 19:44:58 Yeelight 3P Start Discovery Timer
                  janv.-18 19:44:58 Plug-In Finished initializing plug-in Yeelight 3P
                  janv.-18 19:44:58 Yeelight 3P UDP RX Thread Started
                  janv.-18 19:44:58 Yeelight 3P Yeelight LED Startup
                  janv.-18 19:44:58 Info Plugin Yeelight 3P has connected. IP:127.0.0.1:53895
                  janv.-18 19:44:51 Info Plugin drhsIpPlugIn with instance: has disconnected
                  janv.-18 19:44:51 Plug-In Shutting down Plug-In: drhsIpPlugIn

                  Comment


                    #24
                    Hello,

                    I find Newtonsoft.Json.dll V9.0.1.19813 in an other folder (in BIN/HSBUDDY)

                    I created a folder named Yeelight3P in bin folder ,

                    And Add this line in HSPI_YEELIGHT3P.exe.xml

                    <?xml version="1.0" encoding="utf-8"?>
                    <configuration>
                    <runtime>
                    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">

                    <probing privatePath="bin/Yeelight3P"/>

                    <dependentAssembly>
                    <assemblyIdentity name="System.Runtime" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
                    <bindingRedirect oldVersion="0.0.0.0-2.6.10.0" newVersion="2.6.10.0"/>
                    </dependentAssembly>
                    <dependentAssembly>
                    <assemblyIdentity name="System.Threading.Tasks" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
                    <bindingRedirect oldVersion="0.0.0.0-2.6.10.0" newVersion="2.6.10.0"/>
                    </dependentAssembly>
                    <dependentAssembly>
                    <assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
                    <bindingRedirect oldVersion="0.0.0.0-2.2.29.0" newVersion="2.2.29.0"/>
                    </dependentAssembly>
                    </assemblyBinding>
                    </runtime>
                    <startup>
                    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup>
                    </configuration>
                    Now Plugin Work

                    Thanks, MrHappy

                    Now, i want to send scene to my Yeelight Led Strip......

                    See Post : https://forums.homeseer.com/showpost...&postcount=664

                    Jean-Francois.

                    Comment


                      #25
                      Hello, MrHappy

                      I have installed the last version V_0_0_0_6

                      It don't run

                      I post the log started in developper mode:

                      With V0_0_0_0_5 --> start and Run is ok

                      With V0_0_0_0_6 --> start is NOT ok

                      My Yeelight.ini:

                      [Settings]
                      InterfaceName=

                      Jean-Francois.
                      Attached Files

                      Comment


                        #26
                        Sorry I have not been ignoring anyone, I'm working with Rob by email about the issues but the plugin is potentially problematic because I need to figure out what is my issue (as in an issue with the plugin) and what could be an issue with the bulbs not configured/firewall/AV issue (which would need to be resolved first before I can figure out if the plugin is playing up). I imagine due to the non standard port (compared to UPNP running on port 1900, this runs on 1982) then AV software might be complicating things.

                        What I can say is that I have been using the plugin now constantly (version .6) and I still have contact with all of my bulbs just fine. I run Win 7, only the one wired network interface and I only run windows security software (firewall/AV).

                        So,

                        1) I've fixed the JSON issue, it was very silly and I noticed that the other day. The file now comes with an app.config file as appropriate and the Newtonsoft DLL sits in the bin directory. This is in the version .6.

                        2) The setting now does not look at the network interface name, instead it looks at the number. If you start the plugin then the interfaces should go into the HS log, look at the interface number. Then in the Yeelight3P.ini file add the following lines;

                        Code:
                        [Settings]
                        InterfaceNumber=11
                        Changing 11 to your interface number you wish to send the packets out from, save the file and restart the plugin. It should then report which interface it is going to send things out from. This should be the same that your light bulb is connected to. If you have wifi extenders I would prefer until I can figure it out if it was on the same network just to lower any failure points.

                        I think that is it for the minute, once I can get at least one bulb reporting then I at least know it is nothing specific to my setup - here is the screenshot just to prove it does work!

                        Here is the version you should try - (see first post)
                        Last edited by mrhappy; April 21, 2018, 04:59 AM.

                        Comment


                          #27
                          Hi, MrHappy

                          I reload V6

                          Started in developer mode

                          I modify my Yeelight3P.ini:

                          [Settings]
                          InterfaceNumber=11
                          I get this error:

                          Connecting to server at 127.0.0.1...
                          Connected, waiting to be initialized...
                          [20/01/2018 09:06:55] - Yeelight LED Startup
                          [20/01/2018 09:06:55] - StartThread Entered
                          [20/01/2018 09:06:55] - --> Receive Thread Started
                          [20/01/2018 09:06:55] - -> NumOfInterface: -1
                          [20/01/2018 09:06:55] - ---> Start Of Block
                          [20/01/2018 09:06:55] - --> Multicast Adapter Discovered: Ethernet
                          [20/01/2018 09:06:55] - --> MCA Count: 12
                          [20/01/2018 09:06:55] - ---> MCA Item Address: ff01::1%15
                          [20/01/2018 09:06:55] - ---> MCA Item Address: ff02::1%15
                          [20/01/2018 09:06:55] - ---> MCA Item Address: ff02::c%15
                          [20/01/2018 09:06:55] - ---> MCA Item Address: ff02::fb%15
                          [20/01/2018 09:06:55] - ---> MCA Item Address: ff02::1:3%15
                          [20/01/2018 09:06:55] - ---> MCA Item Address: ff02::1:ff2e:1500%15
                          [20/01/2018 09:06:55] - ---> MCA Item Address: 224.0.0.1
                          [20/01/2018 09:06:55] - ---> MCA Item Address: 224.0.0.251
                          [20/01/2018 09:06:55] - ---> MCA Item Address: 224.0.0.252
                          [20/01/2018 09:06:55] - ---> MCA Item Address: 224.0.0.253
                          [20/01/2018 09:06:55] - ---> MCA Item Address: 239.255.255.250
                          [20/01/2018 09:06:55] - ---> MCA Item Address: 239.255.255.251
                          [20/01/2018 09:06:55] - --> Multicast Operational Status: 1
                          [20/01/2018 09:06:55] - ---> Index: 15
                          With V5 no error:

                          Connecting to server at 127.0.0.1...
                          Connected, waiting to be initialized...
                          [20/01/2018 09:09:09] - Yeelight LED Startup
                          [20/01/2018 09:09:09] - StartThread Entered
                          [20/01/2018 09:09:09] - --> Receive Thread Started
                          [20/01/2018 09:09:09] - -> NameOfInterface: 11
                          Jean-Francois.

                          Comment


                            #28
                            I've been working with langenet off the message board and he appears to now have the plugin working on version .6

                            jfla - are you able to confirm that it now works with version .6 also - the entries in the debug file suggest that it is finding the bulbs and possibly has created the light bulbs?

                            Comment


                              #29
                              Hi, MrHappy

                              I redownloaded V0_0_0_6

                              I have the same message (see post above)

                              NOT WORK With V6

                              Work fine with V5 since two weeks

                              My configuration:
                              Current Date/Time: 07/02/2018 08:22:33
                              HomeSeer Version: HS3 Pro Edition 3.0.0.372
                              Operating System: Microsoft Windows 10 Famille - Work Station
                              System Uptime: 1 Day 4 Hours 20 Minutes 30 Seconds
                              IP Address: 192.168.50.55
                              Number of Devices: 435
                              Number of Events: 156
                              Available Threads: 800

                              Enabled Plug-Ins
                              2.0.38.0: BLLAN
                              1.0.3.0: BLShutdown
                              4.8.6.0: BULLET
                              0.0.0.31: drhsIpPlugIn
                              3.0.0.66: mcsXap
                              3.0.0.14: NetCAM
                              3.0.1.109: PHLocation
                              30.0.0.36: RFXCOM
                              5.0.2.0: SCREPOSITORY
                              4.0.0.4: THERMOSTAT
                              3.0.0.44: X10
                              0.0.0.5: Yeelight 3P
                              3.0.1.130: Z-Wave

                              Jean-Francois.
                              Last edited by jfla; February 7, 2018, 02:23 AM.

                              Comment


                                #30
                                Hello, MrHappy

                                No News on plugin Yeelight?

                                I still have the .5 version running on HS3, Work Fine

                                I upgraded my system 3.0.0.422

                                Current Date/Time: 09/03/2018 18:44:02
                                HomeSeer Version: HS3 Pro Edition 3.0.0.422
                                Operating System: Microsoft Windows 10 Famille - Work Station
                                System Uptime: 0 Days 4 Hours 54 Minutes 33 Seconds
                                IP Address: 192.168.50.55
                                Number of Devices: 445
                                Number of Events: 159
                                Available Threads: 800
                                HSTouch Enabled: True
                                Event Threads: 0
                                Event Trigger Eval Queue: 0
                                Event Trigger Priority Eval Queue: 0
                                Device Exec Queue: 0
                                HSTouch Event Queue: 0
                                Email Send Queue: 0
                                Anti Virus Installed: Avast Antivirus Windows Defender

                                Enabled Plug-Ins
                                2.0.39.0: BLLAN
                                1.0.3.0: BLShutdown
                                4.8.6.0: BULLET
                                0.0.0.31: drhsIpPlugIn
                                3.0.0.66: mcsXap
                                3.0.0.14: NetCAM
                                3.0.1.109: PHLocation
                                30.0.0.36: RFXCOM
                                5.0.2.0: SCREPOSITORY
                                4.0.0.4: THERMOSTAT
                                3.0.0.44: X10
                                0.0.0.5: Yeelight 3P
                                3.0.1.190: Z-Wave

                                Jean-Francois.

                                Comment

                                Working...
                                X