Announcement

Collapse

Contacting HomeSeer This Week

HomeSeer is open and operational this week. All orders are being processed and shipped as usual. However, some staff are working from home. If you need to contact HomeSeer for support or customer service, please use our Email or Chat options. https://homeseer.com/contact-us/
See more
See less

HSTouch color change via a button

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

  • alphatech
    replied
    Wim,
    You are the best, thanks. I also noticed that in the hue field of the device you have populated preset values and the up and down, so for now I'm using them with the combination of the up and down button to accomplish that.

    Thanks,
    Aldo

    Leave a comment:


  • w.vuyk
    replied
    Aldo,

    I have a long time bugzilla waiting on this. Normally you would want this with a slider or alike in HSTouch. But the slider function does not like the 65535 possible values and does not pass these on to the device.

    With the latest production version of JowiHue (1.0.6.5) and the beta you could implement a scripting version that you could assign to a button.

    From the documentation: (in the docs directory)

    IncreaseLights
    Code:
    Dim test As Boolean = hs.PluginFunction("JowiHue", "", "IncreaseLights", {True, "All Lights", False, True, False})
    In your situation you would set the inHue to true. It will change one step in the hue setting. I am using the same here, with a standard setting (configuration page) for hue change at 4666. This gives a reasonable change with each press for me.

    Not a ideal solution, but a workable workarond for you I hope?

    Wim

    [edit]: In a near future I will also add 'presets' Which should enable set any selected light to a preset color. There will be a few predefined presets, but you will also be able to create your own.
    Last edited by w.vuyk; November 29th, 2015, 04:55 PM. Reason: adding preset for future

    Leave a comment:


  • alphatech
    started a topic HSTouch color change via a button

    HSTouch color change via a button

    I'm trying to change the color of the lamp in my HSTouch project, what is the best way to accomplish it?
Working...
X