Announcement

Collapse
No announcement yet.

LED strip lighting

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

    LED strip lighting

    I have 2 implementations of LED strip lights that I control via IR commands from HS3. I use The USBUIRT to send the signal to the strip lights. The lights come with a small IR remote which I use to manually control the LED lights.

    Frequently, the lights get out of sync with HS3. They turn on when they should turn off, etc. I've tried the virtual device approach, but it also gets out of sync.

    I'm pretty sure this issue is being caused by the distance between my IR emitter and the LED strip light sensor. But there is no way for me to get the emitter closer.

    Any ideas on how to keep HS3 and the LEDs in sync?

    Steve Q


    Sent from my iPad using Tapatalk
    HomeSeer Version: HS3 Pro Edition 3.0.0.368, Operating System: Microsoft Windows 10 - Home, Number of Devices: 373, Number of Events: 666, Enabled Plug-Ins
    2.0.83.0: BLRF, 2.0.10.0: BLUSBUIRT, 3.0.0.75: HSTouch Server, 3.0.0.58: mcsXap, 3.0.0.11: NetCAM, 3.0.0.36: X10, 3.0.1.25: Z-Wave,Alexa,HomeKit

    #2
    Originally posted by Steve Q View Post
    I have 2 implementations of LED strip lights that I control via IR commands from HS3. I use The USBUIRT to send the signal to the strip lights. The lights come with a small IR remote which I use to manually control the LED lights.

    Frequently, the lights get out of sync with HS3. They turn on when they should turn off, etc. I've tried the virtual device approach, but it also gets out of sync.

    I'm pretty sure this issue is being caused by the distance between my IR emitter and the LED strip light sensor. But there is no way for me to get the emitter closer.

    Any ideas on how to keep HS3 and the LEDs in sync?

    Steve Q


    Sent from my iPad using Tapatalk
    Steve, I looked at the Fibaro units, but the $70 price caused me to search for something else. I was able to find the LEDENET DC 12V 24V Magic UFO LED WiFi Controllers on Amazon for $12 a piece. They are around $28 now... see https://www.amazon.com/gp/product/B0...?ie=UTF8&psc=1

    I have been pleased with their performance so far. What I have in HomeSeer turns the units off and on, some color change if certain conditions are met. I am using the drhslpPlugIn to turn the units On/Off and change color. This plugin works great. Since they are IP based, we can also control them via our phone without HomeSeer if needed...

    Click image for larger version

Name:	ufo.jpg
Views:	1
Size:	92.7 KB
ID:	1191959
    Billy

    Comment


      #3
      Is there a specific WIFI command for ON and a different command for OFF?

      I am thinking about just plugging the power supply for my LED light strip into a z-wave module. This seems like overkill. But it might be the easiest way to keep them in sync. I will then use IR to change color mode, etc.

      Steve Q


      Sent from my iPad using Tapatalk
      HomeSeer Version: HS3 Pro Edition 3.0.0.368, Operating System: Microsoft Windows 10 - Home, Number of Devices: 373, Number of Events: 666, Enabled Plug-Ins
      2.0.83.0: BLRF, 2.0.10.0: BLUSBUIRT, 3.0.0.75: HSTouch Server, 3.0.0.58: mcsXap, 3.0.0.11: NetCAM, 3.0.0.36: X10, 3.0.1.25: Z-Wave,Alexa,HomeKit

      Comment


        #4
        Originally posted by Steve Q View Post
        I have 2 implementations of LED strip lights that I control via IR commands from HS3. I use The USBUIRT to send the signal to the strip lights. The lights come with a small IR remote which I use to manually control the LED lights.

        Frequently, the lights get out of sync with HS3. They turn on when they should turn off, etc. I've tried the virtual device approach, but it also gets out of sync.

        I'm pretty sure this issue is being caused by the distance between my IR emitter and the LED strip light sensor. But there is no way for me to get the emitter closer.

        Any ideas on how to keep HS3 and the LEDs in sync?

        Steve Q


        Sent from my iPad using Tapatalk
        I use IR on a TV and a Fan and I use a counter/virtual device to keep it in sync. seems to work for me so far..... hope it helps....

        for the ON event:
        if Rca power has changed
        andif counter has absolute value is 1
        andif rca virtual device equals ON
        then IRblaster power
        then reset counter to 0

        for the OFF event:
        if Rca power has changed
        andif counter has absolute value is 0
        andif rca virtual device equals off
        then IRblaster power
        then reset counter to 1

        by the way....if you use the handheld to power either, they will still be out of syc with homeseer.
        Last edited by wadesready; August 19, 2017, 05:04 AM. Reason: wanted to

        Comment


          #5
          Originally posted by Steve Q View Post
          Is there a specific WIFI command for ON and a different command for OFF?

          I am thinking about just plugging the power supply for my LED light strip into a z-wave module. This seems like overkill. But it might be the easiest way to keep them in sync. I will then use IR to change color mode, etc.

          Steve Q


          Sent from my iPad using Tapatalk
          Yes, they have specific commands for on/off. I have multiple units in the Kitchen and bathrooms and have not noticed them out of sync, but we also use different colors (see below).

          I like the individual commands to control the colors... so I can turn them on/off when needed or dim them, and change the color to say red if a storm is approaching. We have these LED lights under the kick panels in our bathrooms and kitchen. We also have them in the crown molding in the bathroom and above the cabinets in the kitchen. My wife likes the cyan color for the lights shining on the ceiling for accent lighting. They come on at night and provide some additional light. I bought the RBGW lights so changing the color is an added bonus and if used right can provide some informational purpose... LOL
          Billy

          Comment


            #6
            bdraper, I am interested in your setup with the drhslpPlugIn and how you were able to control LEDENET devices and RGBW strips. I am looking to do some RGBW lighting around the house and this seems like an inexpensive way to interface with these. I haven't found anything on the board that will control these LEDENET devices other than this plugin. Not sure if there is something new.

            The thing I am interested in is how you are changing the colors in the plugin and if you had any examples of your setup.

            Thanks!!
            Mike

            Comment


              #7
              Originally posted by bdraper View Post
              Steve, I looked at the Fibaro units, but the $70 price caused me to search for something else. I was able to find the LEDENET DC 12V 24V Magic UFO LED WiFi Controllers on Amazon for $12 a piece. They are around $28 now... see https://www.amazon.com/gp/product/B0...?ie=UTF8&psc=1

              I have been pleased with their performance so far. What I have in HomeSeer turns the units off and on, some color change if certain conditions are met. I am using the drhslpPlugIn to turn the units On/Off and change color. This plugin works great. Since they are IP based, we can also control them via our phone without HomeSeer if needed...

              [ATTACH]62861[/ATTACH]

              I am very interested in this. I am looking at a kit like this to start, and I was wondering if this would be compatible since it seems very similar and is WiFi based. I bought one of the Fibaro RGBW units, but for $70 it doesn't control much output and doing all the areas I want to would be cost prohibitive. I am planning to use HS switches to turn the lighting on and off.

              https://smile.amazon.com/SMD5050-60l...821057&sr=8-12

              Comment


                #8
                Originally posted by mlagase View Post
                bdraper, I am interested in your setup with the drhslpPlugIn and how you were able to control LEDENET devices and RGBW strips. Right now, I am looking to do some RGBW lighting around the house and this seems like an inexpensive way to interface with these. I haven't found anything on the board that will control these LEDENET devices other than this plugin. Not sure if there is something new.

                The thing I am interested in is how you are changing the colors in the plugin and if you had any examples of your setup.

                Thanks!!
                Mike
                Sure, no problem.

                These are the commands that I have configured in the drhsIpPlugIn, these are defined in the [Commands] section of the drhsIpPlugIn.ini file.

                Code:
                LED Control - (ON)=Binary,0x71 0x23 0x0f 0xa3 0x81 0x8a 0x8b 0x96
                LED Control - (OFF)=Binary,0x71 0x24 0x0f 0xa4 0x81 0x8a 0x8b 0x96
                LED Color - (Aquamarine) (050%)=Binary,0x31 0x3f 0x80 0x6a 0x00 0x00 0x0f 0x69 0x81 0x8a 0x8b 0x96
                LED Color - (Aquamarine) (100%)=Binary,0x31 0x7f 0xff 0xd4 0x00 0x00 0x0f 0x92 0x81 0x8a 0x8b 0x96
                LED Color - (Blue) (050%)=Binary,0x31 0x00 0x00 0x89 0x00 0x00 0x0f 0xc9 0x81 0x8a 0x8b 0x96
                LED Color - (Blue) (100%)=Binary,0x31 0x00 0x00 0xff 0x00 0x00 0x0f 0x3f 0x81 0x8a 0x8b 0x96
                LED Color - (Brown) (050%)=Binary,0x31 0x53 0x15 0x15 0x00 0x00 0x0f 0xbd 0x81 0x8a 0x8b 0x96
                LED Color - (Brown) (100%)=Binary,0x31 0xa5 0x2a 0x2a 0x00 0x00 0x0f 0x39 0x81 0x8a 0x8b 0x96
                LED Color - (CornflowerBlue) (050%)=Binary,0x31 0x32 0x4b 0x77 0x00 0x00 0x0f 0x34 0x81 0x8a 0x8b 0x96
                LED Color - (CornflowerBlue) (100%)=Binary,0x31 0x64 0x95 0xed 0x00 0x00 0x0f 0x26 0x81 0x8a 0x8b 0x96
                LED Color - (Cyan) (050%)=Binary,0x31 0x00 0x42 0x42 0x00 0x00 0x0f 0xc4 0x81 0x8a 0x8b 0x96
                LED Color - (Cyan) (100%)=Binary,0x31 0x00 0xff 0xff 0x00 0x00 0x0f 0x3e 0x81 0x8a 0x8b 0x96
                LED Color - (Green) (050%)=Binary,0x31 0x00 0x89 0x00 0x00 0x00 0x0f 0xc9 0x81 0x8a 0x8b 0x96
                LED Color - (Green) (100%)=Binary,0x31 0x00 0xff 0x00 0x00 0x00 0x0f 0x3f 0x81 0x8a 0x8b 0x96
                LED Color - (Magenta) (050%)=Binary,0x31 0x80 0x00 0x80 0x00 0x00 0x0f 0x40 0x81 0x8a 0x8b 0x96
                LED Color - (Magenta) (100%)=Binary,0x31 0xff 0x00 0xff 0x00 0x00 0x0f 0x3e 0x81 0x8a 0x8b 0x96
                LED Color - (Purple) (100%)=Binary,0x31 0x80 0x00 0x80 0x00 0x00 0x0f 0x40 0x81 0x8a 0x8b 0x96
                LED Color - (Purple) (050%)=Binary,0x31 0x40 0x00 0x40 0x00 0x00 0x0f 0xC0 0x81 0x8a 0x8b 0x96
                LED Color - (Red) (100%)=Binary,0x31 0xff 0x00 0x00 0x00 0x00 0x0f 0x3f 0x81 0x8a 0x8b 0x96
                LED Color - (Red) (050%)=Binary,0x31 0x89 0x00 0x00 0x00 0x00 0x0f 0xc9 0x81 0x8a 0x8b 0x96
                LED Color - (White) (100%)=Binary,0x31 0x00 0x00 0x00 0xff 0x00 0x0f 0x3f 0x81 0x8a 0x8b 0x96
                LED Color - (White) (050%)=Binary,0x31 0x00 0x00 0x00 0x89 0x00 0x0f 0xc9 0x81 0x8a 0x8b 0x96
                LED Color - (Yellow) (100%)=Binary,0x31 0xff 0xff 0x00 0x00 0x00 0x0f 0x3e 0x81 0x8a 0x8b 0x96
                LED Color - (Yellow) (050%)=Binary,0x31 0x80 0x80 0x00 0x00 0x00 0x0f 0x40 0x81 0x8a 0x8b 0x96
                LED Mode - Color Gradual Change (All)=Binary,0x61 0x25 0x10 0x0f 0xa5
                LED Mode - Color Gradual Change (Blue)=Binary,0x61 0x28 0x10 0x0f 0xa8
                LED Mode - Color Gradual Change (Cyan)=Binary,0x61 0x2a 0x10 0x0f 0xaa
                LED Mode - Color Gradual Change (Green)=Binary,0x61 0x27 0x10 0x0f 0xa7
                LED Mode - Color Gradual Change (Purple)=Binary,0x61 0x2b 0x10 0x0f 0xab
                LED Mode - Color Gradual Change (Red)=Binary,0x61 0x26 0x10 0x0f 0xa6
                LED Mode - Color Gradual Change (White)=Binary,0x61 0x2c 0x10 0x0f 0xac
                LED Mode - Color Gradual Change (Yellow)=Binary,0x61 0x29 0x10 0x0f 0xa9
                LED Mode - Color Gradual Change (Green & Blue)=Binary,0x61 0x2f 0x10 0x0f 0xaf
                LED Mode - Color Gradual Change (Red & Blue)=Binary,0x61 0x2e 0x10 0x0f 0xae
                LED Mode - Color Gradual Change (Red & Green)=Binary,0x61 0x2d 0x10 0x0f 0xad
                LED Mode - Jump Change (ALL)=Binary,0x61 0x38 0x10 0x0f 0xb8
                LED Mode - Strobe (All)=Binary,0x61 0x30 0x10 0x0f 0xb0
                LED Mode - Strobe (Blue)=Binary,0x61 0x33 0x10 0x0f 0xb3
                LED Mode - Strobe (Cyan)=Binary,0x61 0x35 0x10 0x0f 0xb5
                LED Mode - Strobe (Green)=Binary,0x61 0x32 0x10 0x0f 0xb2
                LED Mode - Strobe (Purple)=Binary,0x61 0x36 0x10 0x0f 0xb6
                LED Mode - Strobe (Red)=Binary,0x61 0x31 0x10 0x0f 0xb1
                LED Mode - Strobe (White)=Binary,0x61 0x37 0x10 0x0f 0xb7
                LED Mode - Strobe (Yellow)=Binary,0x61 0x34 0x10 0x0f 0xb4

                Define a connection and then setup a event using the information in the drhsIpPlugIn.
                Click image for larger version

Name:	connection.jpg
Views:	1
Size:	37.5 KB
ID:	1195988


                If you need a screenshot of an event, let me know.

                Believe me, I know what you are thinking, it is crude and you are right, but it does work... I have 3 of these units in our Master Bathroom, 2 in the Kitchen with 4 more to deploy. I am very happy with them, they are cheap, and have been working for a while, without any issue.

                I saw your post here https://forums.homeseer.com/showthread.php?p=1357347 and am hopeful that your test works out.


                Originally posted by bebaldin View Post
                I am very interested in this. I am looking at a kit like this to start, and I was wondering if this would be compatible since it seems very similar and is WiFi based. I bought one of the Fibaro RGBW units, but for $70 it doesn't control much output and doing all the areas I want to would be cost prohibitive. I am planning to use HS switches to turn the lighting on and off.

                https://smile.amazon.com/SMD5050-60l...821057&sr=8-12
                bebaldin, let me know if you need additional information.
                Last edited by bdraper; March 23, 2018, 09:52 PM.
                Billy

                Comment


                  #9
                  Thanks for information, this is great. I have a controller coming on Sunday so I can give this a try.

                  Much appreciated
                  Mike

                  Comment


                    #10
                    Looks like my device came early so I hooked it up and can send commands to it via events. So far so good. One of the odd things is that the white lights stay on all of the time and would most likely need to figure out a way to turn the white off so it is just solid colors of one color or another.

                    I'll continue to play with this some more but the information you provided definitely got me started and I'll see what type of setup I can get going.

                    Seems like a lot of manual work with this plugin but is certainly doable. I will try the LimitLessLED plugin to see if this will work there.

                    Update: Looks like I need an Ibox or something to use with the LimitlessLED plugin so cannot test that currently with this device. It's also wonky with the drhsIpPlugIn plugin on setting the values and moving between different ones in the events. For example, if I use one of your strobe commands and then select that I want to go to blue 100% in the event, it doesn't work.

                    Update2: I cannot get any static color commands to work using the drhsIpPlugIn plugin. All of the other strobe, flash, fade ones work just fine, I just cannot set to a specific color unless I missing some type of sequences that need to be performed to move away from the scene type events over to a static color

                    Update3: Looks like the document you sent me may be different as for me to get 50% brightness on white, I need to use 0x31 0x00 0x00 0x00 0x7f 0x00 0x0f 0x0f 0xce so it appears the bits have changed in this model. Will need to find better documentation to get this to work to my liking. I had to use a network capture program on my phone to be able to get these codes that the app was sending to the controller.
                    Last edited by mlagase; March 24, 2018, 10:10 PM.

                    Comment


                      #11
                      Originally posted by mlagase View Post
                      Looks like my device came early so I hooked it up and can send commands to it via events. So far so good. One of the odd things is that the white lights stay on all of the time and would most likely need to figure out a way to turn the white off so it is just solid colors of one color or another.

                      I'll continue to play with this some more but the information you provided definitely got me started and I'll see what type of setup I can get going.

                      Seems like a lot of manual work with this plugin but is certainly doable. I will try the LimitLessLED plugin to see if this will work there.

                      Update: Looks like I need an Ibox or something to use with the LimitlessLED plugin so cannot test that currently with this device. It's also wonky with the drhsIpPlugIn plugin on setting the values and moving between different ones in the events. For example, if I use one of your strobe commands and then select that I want to go to blue 100% in the event, it doesn't work.

                      Update2: I cannot get any static color commands to work using the drhsIpPlugIn plugin. All of the other strobe, flash, fade ones work just fine, I just cannot set to a specific color unless I missing some type of sequences that need to be performed to move away from the scene type events over to a static color

                      Update3: Looks like the document you sent me may be different as for me to get 50% brightness on white, I need to use 0x31 0x00 0x00 0x00 0x7f 0x00 0x0f 0x0f 0xce so it appears the bits have changed in this model. Will need to find better documentation to get this to work to my liking. I had to use a network capture program on my phone to be able to get these codes that the app was sending to the controller.
                      Wonder why they would change the codes? Sorry the list I gave you is not working out. I have bought several of these units and they have all worked without any issue.

                      Based on what I was reading these should work too, I was thinking about trying them out sometime.
                      Billy

                      Comment


                        #12
                        No worries, you got me started and up and running for the most part. To get mine working, I will need to do packet captures for specific colors like your setup as it appears that I did need the added code 0xce at the end to control for that specific color.

                        It will take a bit of work to get going but will only be time invested. It's too bad there wasn't another LED plugin that controlled this so we wouldn't have to do this manual work for IP based command setups.

                        Comment


                          #13
                          Originally posted by mlagase View Post
                          No worries, you got me started and up and running for the most part. To get mine working, I will need to do packet captures for specific colors like your setup as it appears that I did need the added code 0xce at the end to control for that specific color.

                          It will take a bit of work to get going but will only be time invested. It's too bad there wasn't another LED plugin that controlled this so we wouldn't have to do this manual work for IP based command setups.
                          Glad it helped.

                          Yea, I agree, the foot print on these are really small. It would be really nice if there was a plugin that integrated more seamlessly, but also glad to have something that works too.
                          Billy

                          Comment


                            #14
                            This conversation got me to buy one of these units.

                            As per my usual MOS, I can't get the app to work on my phone. I can see the
                            LEDnet server, but then it disappears. The directions that come with the LED controller aren't exactly helpful.

                            How did you guys find the IP address?

                            Thanks
                            Don

                            Comment


                              #15
                              Originally posted by donstephens View Post
                              This conversation got me to buy one of these units.

                              As per my usual MOS, I can't get the app to work on my phone. I can see the
                              LEDnet server, but then it disappears. The directions that come with the LED controller aren't exactly helpful.

                              How did you guys find the IP address?

                              Thanks
                              Are you using the Magic Home app to set the unit up? So far, I have not had any issues setting up 6 units using the Magic Home app on my Samsung S8+... As for finding the IP address, I looked in my router and also use Jon00 Remote Computer Control & Network Monitor to find new devices on my network.

                              When you say the LED net server disappears, is this after you connect it to your network.

                              You know, now that you mention it, I did have an issue with the first one... the password was to long on my normal wireless network and also wanted to segregate them a bit. So I created a different wireless network with a shorter password and all went well after that. The units would act like they were going to attach and then fail. I had to reset the first one several times.

                              Hope this helps.
                              Billy

                              Comment

                              Working...
                              X