Page 1 of 1

Image gallery on SWremote

Posted: Wed Apr 21, 2010 12:13 pm
by raptor_demon
Hi,

I am looking for a way to display a gallery of images on a swremote that could be dynamically generated on the fly to display snapshots from my webcams.

Has anyone done something like this?

Thanks

Raptor

Re: Image gallery on SWremote

Posted: Fri Apr 30, 2010 10:31 pm
by Osler
This could be done but it will be very involved. You would need a null device with a list type property and enough property values for the number of images you want to display on the screen. The list property would need to be updated with a script each time a security picture is taken. The list should be contain the path to the picture and the pictures would have to be located in the theme folder. The list doesn't necessarily need to be a list property, but needs to be delimited so that you can break it apart into the different paths. I would envision 6 dynamic image controls on the screen that are linked to 6 properties in the null device. In addition to the image controls there would be a back button to the left of them and a forward button to the right. These would be execute task buttons that would be linked to a task that executes a script that takes the image path list, parses it out, and then updates each of the properties linked to the dynamic images in the null device with either the previous 6 image paths or the next 6 image paths.

Again, very much possible with HB, but the behind-the-scenes stuff would be somewhat complex. I had look at doing something similar to allow you to select music by album art with my sonos script but abandoned it due to the complexity.

Osler

Re: Image gallery on SWremote

Posted: Sun May 02, 2010 5:39 pm
by Richard Naninck
You mean something like 1 or 2 below?

Re: Image gallery on SWremote

Posted: Mon May 03, 2010 7:40 pm
by spike5884
Wow! Great looking interface.

Re: Image gallery on SWremote

Posted: Tue May 04, 2010 9:40 am
by raptor_demon
Thats what i want!!!

How do i do that?

Richard, fancy a vacation in North Carolina?

Raptor

Re: Image gallery on SWremote

Posted: Tue May 04, 2010 10:43 am
by Richard Naninck
Obviously there is some scripting behind it all and the actual data is retrieved from an SQLite2 database. I use meedio to build the databases. Meedio uses SQLite2 and with HouseBot and an SQLite2 COM object I connect to the dbase. On top of all pictures is a button and when it is pressed, you select the picture to view on a large screen in the picture module OR you simply select a movie and jump to the movie details screen. All of it is dynamic so you can jump through different sets of movies or pictures.

I can always post the scripts, but I guess you need some scripting skills to taylor it for your own use. It probably helps a lot if you use a database as well.