View Full Version : Ben any chance of having this as an option?
jwilson56
May 24th, 2004, 03:38 PM
Ben is there anyway to have the slider not update till the user lets go of the mouse button? I am using it for a dimming function and I think its overloading the plugin with all the updates.
John
I also thought you might like to see my lighting control screen. Hitting above or below the switches toggles the light and also the graphics to the correct image. The sliders dim the lights as well. This is done using George's hsGirder.
jwilson56
May 28th, 2004, 07:30 AM
Bump
Ben S
May 28th, 2004, 08:02 AM
Not currently. You can set the granularity to not send on small amounts of changes, but that's it for now.
Good idea, though. Would be useful. Let me look into this as a future functionality enhancement.
jwilson56
June 3rd, 2004, 04:34 PM
Ben I just wanted to let you know that George added a feature in his hsGirder plugin for the slider function. It will only send the value after the values have stopped changing for a specified period of time. It works pretty well now.
John
dalopey
June 4th, 2004, 05:05 AM
Jwilson56:
Are you willing to make this light switch available in a CCF, please?
I have X10 switches I just installed this past weekend, and I really like what you have done... especially the Dimmers! I was thinking of doing something just like this... but why re-invent the wheel?
Thank you.
jwilson56
June 4th, 2004, 06:51 AM
I am going to release it soon. I just need to finish changing the script around to handle George's change. Also I have some ideas to try out. Soon... I promise...
John
jwilson56
June 4th, 2004, 11:42 AM
Ok I guess I need some help from more seasoned guys. Here is what I am trying to do. I currently have my light panel (above) working using George's hsGirder plugin. There are two hidden buttons on each light switch (above and below the switch) that sends out Girder commands that a Homeseer script uses to turn on and off the lights. After that George's script will update the image to 'on' or 'off' and the graphic changes. It all works fine but there is a fair amount of overhead sending back and forth all the image data.
What I was hoping was to change the way I do it by trying to use the 'STATE' function. Have the bright and dark light switch graphics assigned to the active/inactive and each time you click the button it would send out the state through Girder and have George's plugin grab it and perform the duty of turning the X10 light on or off based on the state. This would save much time and overhead not having to send the graphics back each time. As for Girder and all the low level IR codes I am a complete novice. Is any of this possible?
The way George's plugin works as far as passing info is that the first part of the name is the script name to get executed. The second part can be the 'case' statement to select the function desired and the third part is the payload. I presume this is normal Girder stuff as I have never used Girder before. So nrlight.lightswitch.4 would run script nrlight.txt and pass lightswitch and 4 as parameters. So how could I adapt the STATE function to this? It will certainly become a valuable tool for Homeseer folks. Of coarse there should be away to set the state from Homeseer to change the light switch based on an X10 event. I can do that now but again I have to send the image back. I think George will incorporate any changes needed inhis plugin to handle this type of function if we can figure out whats needed.
As always you guys have my thanks for any help.
John
jwilson56
June 5th, 2004, 07:23 AM
Bump..... Ben any possibilities. Forgive me for asking but i am just trying to figure the bounderies of the coding possibilities.
Thanks
John
Ben S
June 5th, 2004, 07:37 PM
Can George's plugin set variables as well as images?
If so, you can just set a variable to 0 (off) or 1 (on). Let's call that variable "KitchenLights".
The ID tag for the button would be "STATE:KitchenLights"
jwilson56
June 6th, 2004, 10:39 AM
Wow is this working great now. Thanks Ben for the tip. Using the STATE function made the graphic updates much faster.
I now have the light switches working to Homeseer and the dimmers only get updated after the mouse is let go thanks to the change in Georges plugin. I also finished the Homeseer scripting to update all the Netremote clients with any changes from real PalmPads including updating the slider's positions as well. So when the lights get turned on , off, or dimmed from any source (providing they get changed in Homeseer) the Netremote clients will all get updated. Almost ready for release as an example for the Homeseer folks.
John
I am looking into trying to use the RegisterStatusChangeCB function in Homeseer for some of the feedback stuff...
Ben S
June 10th, 2004, 04:15 PM
Cool stuff!
dalopey
June 11th, 2004, 06:39 AM
jwilson56 - I am quite interested in getting this when you are done. I have yet to check out Homeseer, but will soon. What you are doing is very exciting - and very useful!! I can't wait til you're done!! Keep up the good work. I have my X10 stuff working great - but only the basic stuff - on off dim bright... I thought that was pretty cool - I have out in the yard last night turning on off lights!!! :)
Powered by vBulletin® Version 4.1.8 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.