Image gallery on SWremote

General HouseBot discussion. Any issues that don't fit into any of the other topics belong here.
Post Reply
raptor_demon
Senior Member
Posts: 141
Joined: Tue Jul 07, 2009 12:55 pm
Location: NC

Image gallery on SWremote

Post 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
Osler
HouseBot Guru
Posts: 742
Joined: Fri Feb 03, 2006 11:18 pm

Re: Image gallery on SWremote

Post 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
Richard Naninck
HouseBot Guru Extraordinaire
Posts: 1121
Joined: Tue Sep 28, 2004 7:49 am
Location: The Netherlands

Re: Image gallery on SWremote

Post by Richard Naninck »

You mean something like 1 or 2 below?
Attachments
pictures.JPG
pictures.JPG (127.33 KiB) Viewed 3390 times
movies.jpg
movies.jpg (163.89 KiB) Viewed 3390 times
spike5884
Senior Member
Posts: 129
Joined: Thu Aug 26, 2004 8:08 am
Location: WI

Re: Image gallery on SWremote

Post by spike5884 »

Wow! Great looking interface.
Thanks,
Scott J
aka spike5884
raptor_demon
Senior Member
Posts: 141
Joined: Tue Jul 07, 2009 12:55 pm
Location: NC

Re: Image gallery on SWremote

Post by raptor_demon »

Thats what i want!!!

How do i do that?

Richard, fancy a vacation in North Carolina?

Raptor
Richard Naninck
HouseBot Guru Extraordinaire
Posts: 1121
Joined: Tue Sep 28, 2004 7:49 am
Location: The Netherlands

Re: Image gallery on SWremote

Post 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.
Post Reply