Announcement

Collapse
No announcement yet.

Any interest in wireless RGB LED strip lights with HomeSeer?

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

  • gearyt
    replied
    Speakers look ok...
    Attached Files

    Leave a comment:


  • Kevin Lo
    replied
    Originally posted by gearyt View Post
    Running 64 Bit Windows 8.1
    I get that error on one my of HS3 machine , that is running on the ESXi VMware. The server didn't have phiscal sound card and no sound card detected in the VM Win7 x64 , that why have that problem. (And speaker have a red cross on system tray)

    Then I install the virtual sound card for testing , then my problem solve.

    http://www.virtualaudiostreaming.net/

    I can't reproduce the problem in my other "normal" PC that running HS3.

    Leave a comment:


  • gearyt
    replied
    Originally posted by scott12v View Post
    Yep.

    Both the CoreAudioApi.dll and the Plugin are in the HomeSeer directory:
    C:\Program Files (x86)\HomeSeer HS3

    I'm running 64 bit Windows 7.

    Thanks,.
    Scott
    Running 64 Bit Windows 8.1

    Leave a comment:


  • scott12v
    replied
    Originally posted by Kevin Lo View Post
    Dear Scott ,

    1a) Let me study , see is that possible to make a mode selection for switch between popup and drop download list. Now it can switch between Popup or show all the button. (Click the Mode device , in the Configuration page , uncheck "Use pop-up dialog for control:" , then save , you can see the result. )

    1b) Please see attachment , if you only defined 3 , just delete the unused entry. But please remember the setting , when you need to add in future , you need to follow the setting.

    1c) Please also see attachment , you can change the name in the Status Column. My plug-in only detect the "Value" field , please don't change the Value field value.

    2) As mrhappy already explain before , for the design of this plug-in , it save the necessary information in the HS device database(Connection Type and IP) . So plug-in no need to read the INI file. If I need to change it back to INI method , need to put many effort to change the code.

    Awesome...thanks Kevin!

    Leave a comment:


  • Kevin Lo
    replied
    Originally posted by scott12v View Post
    I'm getting the same error as GearyT...

    Calling SetIOMulti in plugin RGB Controller:Element not found. (Exception from HRESULT: 0x80070490)

    The Mode option works great! I do have a couple of suggestions that I will post in a separate post.
    GearyT , Scott , I also get this error in my another HS3 machine. Let me check what happen and get back to you.

    Thanks

    Here is the exact problem were located. Still finding what happen ......

    System.Runtime.InteropServices.COMException (0x80070490) : Element not found.
    at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRIn ternal(Int32 errorCode, IntPtr errorInfo)
    at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(I nt32 errorCode)
    at CoreAudioApi.MMDeviceEnumerator.GetDefaultAudioEndpoint(EDat aFlow dataFlow, ERole role)
    Last edited by Kevin Lo; February 25, 2014, 10:54 PM.

    Leave a comment:


  • Kevin Lo
    replied
    Originally posted by scott12v View Post
    Two suggestions:

    1. For the Mode Control, change it from a popup dialog to a dropdown list.
    a. This would allow for easier Mode selection (not that it is too hard now)
    b. You could show only the Modes that are actually defined (so if 3 are defined, only 3 would be in the dropdown)
    c. You could rename the modes in the text file. So if I wanted a mode for Christmas, I could name it that rather than remember that it was Mode 3

    2. For the Device Type, it would be nice if there were just 3 device types:
    RGB Controller 1, RGB Controller 2, RGB Controller 3. Now there are 27 different Device Types so the Device Type dropdown on the Homeseer Devices screen gets pretty cluttered. This is a pretty minor issue, but I wanted to point it out nonetheless.

    Thanks,
    Scott
    Dear Scott ,

    1a) Let me study , see is that possible to make a mode selection for switch between popup and drop download list. Now it can switch between Popup or show all the button. (Click the Mode device , in the Configuration page , uncheck "Use pop-up dialog for control:" , then save , you can see the result. )

    1b) Please see attachment , if you only defined 3 , just delete the unused entry. But please remember the setting , when you need to add in future , you need to follow the setting.

    1c) Please also see attachment , you can change the name in the Status Column. My plug-in only detect the "Value" field , please don't change the Value field value.

    2) As mrhappy already explain before , for the design of this plug-in , it save the necessary information in the HS device database(Connection Type and IP) . So plug-in no need to read the INI file. If I need to change it back to INI method , need to put many effort to change the code.
    Attached Files

    Leave a comment:


  • scott12v
    replied
    Originally posted by Kevin Lo View Post
    Did you copy the CoreAudioApi.dll to HS3 directory ? Since Music option need that dll.

    Thanks
    Yep.

    Both the CoreAudioApi.dll and the Plugin are in the HomeSeer directory:
    C:\Program Files (x86)\HomeSeer HS3

    Perhaps I need to register the DLL?

    I'm running 64 bit Windows 7.

    Thanks,.
    Scott

    Leave a comment:


  • Kevin Lo
    replied
    Originally posted by scott12v View Post
    I'm getting the same error as GearyT...

    Calling SetIOMulti in plugin RGB Controller:Element not found. (Exception from HRESULT: 0x80070490)

    The Mode option works great! I do have a couple of suggestions that I will post in a separate post.
    Did you copy the CoreAudioApi.dll to HS3 directory ? Since Music option need that dll.

    Thanks

    Leave a comment:


  • scott12v
    replied
    Two suggestions:

    1. For the Mode Control, change it from a popup dialog to a dropdown list.
    a. This would allow for easier Mode selection (not that it is too hard now)
    b. You could show only the Modes that are actually defined (so if 3 are defined, only 3 would be in the dropdown)
    c. You could rename the modes in the text file. So if I wanted a mode for Christmas, I could name it that rather than remember that it was Mode 3

    2. For the Device Type, it would be nice if there were just 3 device types:
    RGB Controller 1, RGB Controller 2, RGB Controller 3. Now there are 27 different Device Types so the Device Type dropdown on the Homeseer Devices screen gets pretty cluttered. This is a pretty minor issue, but I wanted to point it out nonetheless.

    Thanks,
    Scott

    Leave a comment:


  • scott12v
    replied
    Originally posted by gearyt View Post
    whoops... threw this
    Started the music
    started the controller
    I'm getting the same error as GearyT...

    Calling SetIOMulti in plugin RGB Controller:Element not found. (Exception from HRESULT: 0x80070490)

    The Mode option works great! I do have a couple of suggestions that I will post in a separate post.

    Leave a comment:


  • kenrad
    replied
    Kevin LO

    I just updated to the latest version of your plugin and I am now getting this error

    2/25/2014 12:48:47 PM ~!~Error~!~Unable to start plug-in API: Only one usage of each socket address (protocol/network address/port) is normally permitted

    And HS3Pro stops loading and freezes any idea how to remedy the situation. I am thinking about removing the plugin and trying again to see what happens

    Cheers Ken

    EDIT: eneded up rebooting the PC and that resolved the issue I dont think it was related to the plugin I think it was a port that didn't close when shutting down HS3
    Cheers Ken
    Last edited by kenrad; February 25, 2014, 06:11 PM. Reason: Solved

    Leave a comment:


  • gearyt
    replied
    whoops... threw this
    Started the music
    started the controller
    Attached Files

    Leave a comment:


  • Kevin Lo
    replied
    Originally posted by huggy_d1 View Post
    Does the "mode" function have any documentation associated with it?

    Do we need to update the firmware so the network is not being used to send mode state changes? I ask because I know the super cheap rgb controllers use a single IR command to change modes, and the communication protocol does not include the mode change information, unless it has been there all along and your plug-in had not called it into action yet??

    I think it is fantastic and will test it either way very soon.
    The mode is self-define. You can download the HS3 Plug-in and see the config directory. It have a file rgb_sequence.txt

    You can define that 12 mode in this file. I think that is very easy to understand. So I didn't write any document.

    here is example :

    For Mode 1 , Just cycling Red to Green to Blue. I will change to next color every 10000 ms (10 seconds) , fade rate is 64

    [Mode1]
    Seq=3
    1=255,0,0
    2=0,255,0
    3=0,0,255
    Interval=10000
    Fade=64

    For Mode 5 , Flash red two time , then turn OFF for 1 seconds , then flash Green two time , then off 1 seconds , then flash Blue two time ....etc

    [Mode5]
    Seq=15
    1=255,0,0
    2=0,0,0
    3=255,0,0
    4=0,0,0
    5=0,0,0
    6=0,255,0
    7=0,0,0
    8=0,255,0
    9=0,0,0
    10=0,0,0
    11=0,0,255
    12=0,0,0
    13=0,0,255
    14=0,0,0
    15=0,0,0
    Interval=500
    Fade=1

    For the other super cheap RGB controller , the firmware already define some mode , so that they can just use one command to change the mode. (But as I know , most of it is just to send Mode + or Mode - to change the mode , cannot send a single command , such as Change to Mode 11 directly)
    But I didn't hard code the mode inside my RGB controller , so that I need to make it work via software base.
    Attached Files

    Leave a comment:


  • huggy_d1
    replied
    Originally posted by Kevin Lo View Post
    New Release coming. Version 1.1.0.0
    Copy the new version exe and dll to the HS3 directory.
    Copy the rgb_sequence.txt to the config directory.

    You can edit the rgb_sequence.txt for that 12 mode operation.
    When you restart your HS3 , it should create two extra device for you.
    One is for audio control , one is for 12 mode.
    For audio control and mode operation , it will continue to steam the data to controller. Once got any operation , such as ON , Off to any channel or control the device by script command. It will stop the mode running and also stop the audio data streaming.

    Let me know if you have any problem. Enjoy it.

    PS. This version 's Mode and Audio function , only work with Network Type Controller. Serial Port Connection will add later.
    Does the "mode" function have any documentation associated with it?

    Do we need to update the firmware so the network is not being used to send mode state changes? I ask because I know the super cheap rgb controllers use a single IR command to change modes, and the communication protocol does not include the mode change information, unless it has been there all along and your plug-in had not called it into action yet??

    I think it is fantastic and will test it either way very soon.

    Leave a comment:


  • Kevin Lo
    replied
    Originally posted by gearyt View Post
    Kevin.. how is the next software release coming ??
    New Release coming. Version 1.1.0.0
    Copy the new version exe and dll to the HS3 directory.
    Copy the rgb_sequence.txt to the config directory.

    You can edit the rgb_sequence.txt for that 12 mode operation.
    When you restart your HS3 , it should create two extra device for you.
    One is for audio control , one is for 12 mode.
    For audio control and mode operation , it will continue to steam the data to controller. Once got any operation , such as ON , Off to any channel or control the device by script command. It will stop the mode running and also stop the audio data streaming.

    Let me know if you have any problem. Enjoy it.

    PS. This version 's Mode and Audio function , only work with Network Type Controller. Serial Port Connection will add later.
    Attached Files
    Last edited by Kevin Lo; February 25, 2014, 04:33 AM.

    Leave a comment:

Working...
X