www.homeseer.com    
 

Go Back   HomeSeer Message Board > Developer Support > Scripts & Plug-Ins:Development and Libraries > Script & Plug-In Library Discussion

Script & Plug-In Library Discussion This forum is for discussing scripts that are posted in the Script Library. To keep the Script Libray as neat as possible, replies are not permitted in that forum. Please post questions, comments, scripts in process, etc. to this forum.

Reply
 
Thread Tools Display Modes
  #1  
Old April 19th, 2002, 05:28 PM
ghutton
Guest
 
Posts: n/a
Just thought I would post this. Haven’t really seen a demo that takes it to the next level (w/source). Here is a sample of Flash and HS building on some of the pieces I have found around the board. This is an addition to the work, Ultra Jones, Gary Spanilio and Mechanic have done. With the addition that Mechanic did to the .vbs script – adding Location_Finder and Device_Finder, I added MODE 7 the ability to control the devices and added to Mechanic’s demo the ability to turn a device On/Off. The Flash interface could have a few more things done to it like, changing the status of the buttons to show an On/Off state and clearing the screen from old vars and so on and comment out Debug statements in the VBScript. The purpose of the post is to let you see how it all comes together.

I really did this to learn how to interface Flash and HS. As, my ultimate goal is to develop and touch screen interface in Flash for HS. Which I plan to post when completed. That’s it for now happy learning. By the way I am not a programmer so if it’s messy – Oh Well – at least it works.

To install and run copy all files (except the .fla) into Homeseer/html and browse the html file in your browser.

-Glenn
Attached Files
File Type: zip mechmenu2.zip (48.9 KB, 0 views)
Reply With Quote
  #2  
Old April 19th, 2002, 08:40 PM
alevey
Guest
 
Posts: n/a
A few things I noticed:
1) I noticed that the "close menu" closes all levels, not just one.
2) fairly slow... less automation would be desired.
3) Menu items from last choice stays when new locations have less items.

Suggested possible navagation schemes:
1) "tree" structure - quick & easy navagation!
2) Grouping items w/ status like most do with thier custom ASP pages would be desireable. Like this: http://crystal.dnsalias.org:8080/
making each area expand or collapse as desired

I guess the key is to make multiple views available, each is useful for different situations.

I've also thought that a view with multiple "tabs" for the smaller touchscreens (Audrey & Fuji's) is the best way to go here. I have the beginning of my project started... I will add tabs next to add additional controls such as A/V equipment via IR.
Attached Images
 
Reply With Quote
  #3  
Old April 20th, 2002, 05:20 AM
mattz mattz is offline
Seer Deluxe
 
Join Date: Apr 2001
Location: Cherry Hill, NJ
Posts: 185
Glenn - very nice job! I just unzipped it, and it worked with no mods. This brings us towards having a slick interface that is touch screen capable. If you are soliciting suggestions, here are mine:

- Standard functionality (as you've got) right out of the box, but with the ability to change colors, button style, and labels.

- Ability to place buttons, text, graphics, device status, or device names in specific locations on the screen.

- When you pick a different location, the appropriate sublist comes up, without having to close the sublist first.

Keep up the good work!
Reply With Quote
  #4  
Old April 25th, 2002, 10:04 AM
billjohnson395
Guest
 
Posts: n/a
Thanks, Glenn, works great!

I had wanted to do the on/off thing myself, but spent so much time learning Flash that I didn't have any left over to finish it!

I'm going to look at Glenn's on/off code and see how hard it is to change colors. I know you can do the flat box colors fairly easily, but I'm not sure the "look and feel" graphics can be changed on the fly. Most of the comments I see here are bug fixes as opposed to major changes, so they could come first.

The GUI would probably need a complete re-work to accomodate any major changes anyway, so maybe I can look at incorporating some different ideas.

TTFN
Reply With Quote
  #5  
Old April 25th, 2002, 11:53 AM
ghutton
Guest
 
Posts: n/a
Great! Glad you like it. Like I said in the original post. This was just for (me and anyone else to learn the interface HS/vbs/Flash). I have since added to more cases to the .vbs, “Event control” and “IR control”. I am working right now on the IR control GUI in Flash. Kind of like a ProntoPro, but WiFi’ed on massive next gen techy steroids. Ooohhwaaahh!! It’ really quite kewl. I am also working on a Flash interface using all the tools of the .vbs file. What I am planning on doing in the Flash interface is to pull the Location, Device info via the .vbs then dynamically create the icons and Loc/Dev descriptions. In order to do so it will be mostly action script in Flash. The only thing I am mulling around w/is the images/icons. I will most likely set up a text file that will be read-in by Flash which will identify which icons to use as HS does not support icons at this time (I have seen it posted on the wish list though requesting this feature).

I am doing this because I am going to control all of my automation and A/V stuff through a single WiFi device. In this case I have selected the Casio BE-300 and a CF-WiFi card. The whole package retail is around $300.00. As soon as I finish the IR interface in Flash I will post the file. The IR Flash interface is hard coded, as there is no way that I know of to get the names from HS dynamically and besides everyone has different remotes and combinations of equipment.
Reply With Quote
  #6  
Old April 25th, 2002, 03:34 PM
billjohnson395
Guest
 
Posts: n/a
Here is an update on "our" file, Glenn. It has the following changes (documented in the HTML file):
- modified the mechmenu.vbs location section to remove duplicates when a location has spaces in it.
- Trapped & removed "Weather" as an invalid Location
- Trapped & removed "Computer" as an invalid Device Type
- Made the CLOSE buttons do what you'd expect them to (they're still too small, too).

I looked at the color options and it looks like it should be easy, but I couldn't get my brain around it in the limited time I had today.

There are lots of folks that would like to see a wireless interface, so keep in touch on the Casio project. I would think that reading in text is easy, it's dynamic icons that would give you fits. I went thorough about 10 Flash tutorials and by the time I'd finished, I had forgotten the first one.

Keep posting!

[This message was edited by Mechanic on Friday, 26 April 2002 at 12:33 PM.]
Reply With Quote
  #7  
Old April 26th, 2002, 10:34 AM
billjohnson395
Guest
 
Posts: n/a
Regards,
Attached Files
File Type: zip mechmenu3.zip (51.2 KB, 1 views)
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 02:10 AM.


Copyright HomeSeer Technologies, LLC