The Virtual Crib - Home Automation Software Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
CLOSED: Device Image Change not working

 
Reply to topic    The Virtual Crib - Home Automation Software Forum Index » Bug Reports View previous topic
View next topic
CLOSED: Device Image Change not working
Author Message
SnyperBob



Joined: 22 Aug 2007
Posts: 629
Location: Illinois

Post CLOSED: Device Image Change not working Reply with quote
Hey guys.

I'm not sure if I'm doing something wrong but I'm trying to change the default images for ds10a.

I just want to change the ON (OPENED) image to one that I created. It's just Vaughn's that I put a little space in between the two parts.


Anyway, here's what I'm trying to do:
1. Click on Settings menu and select device types
2. Click on DS10A Device in the list.
3. Change the 'default ON image' to my new one
4. Click the update button

When I go to the main tab my image doesn't look any different than before. ie...the same image displays whether the ds10a is open or closed. It's the default image built into the program.
Sun Jan 06, 2008 3:47 am View user's profile Send private message Visit poster's website AIM Address
Humanzee



Joined: 22 Aug 2007
Posts: 519
Location: Seattle, WA

Post Reply with quote
The image set in "Device Types" under settings only is used only when new items are added to a map. Its the default image. Since your device was already added to the map you need to update the record for that device only. Check the locations tab, I think, which ever it is where the image coordinates are stored. In there you can update the actual image that is being used for that specific device ON vs. OFF. For example if you had ds10a's hooked to two different doors and you might need a different graphic for each door, right swinging and a left swinging etc.

_________________
vCrib Tester #1, Forum moderator, using INSTEON devices, X10 sensors and remotes via W800RF, All doors are wired with contact closures.
vCrib Wiki
Mon Jan 07, 2008 11:11 am View user's profile Send private message
CribKeeper
Site Admin


Joined: 09 Aug 2007
Posts: 652
Location: Overland Park, KS

Post Reply with quote
Humanzee is correct.

Vaughn

_________________
the Crib Keeper
www.vcrib.com
Mon Jan 07, 2008 11:54 am View user's profile Send private message Visit poster's website
SnyperBob



Joined: 22 Aug 2007
Posts: 629
Location: Illinois

Post Reply with quote
ok, I'll check this out. I noticed that setting on the location tab right before coming into work, but didn't have a chance to play with it.


Still though, should you be able to change the default pic for ALL types of one sensor via the settings menu?

I think it would be convenient. In the future if you want to change all images for a certain type of sensor, it could just overwrite them all, rather than having to change them all individually.
Mon Jan 07, 2008 11:56 pm View user's profile Send private message Visit poster's website AIM Address
CribKeeper
Site Admin


Joined: 09 Aug 2007
Posts: 652
Location: Overland Park, KS

Post Reply with quote
It can be done, make an SQL command:

UPDATE Map_Devices SET On_Image='C:\vCrib\images\maps\new_value.jpg' WHERE On_Image='C:\vCrib\images\maps\DS10a';

So it is not that bad if you need to do a bulk change. The other side of that coin is you update the default and it rewrites all of your current settings. I have 40 DS10As in my house, all with custom ON and OFF graphics. If I updated that default and it wiped out all of those settings and I had to go find the on and off images for every DS10, I would spend more time crying than I would updating images.

Now, there is always a comprimise. so after you save the default template, I could pop-up a box that asks if you want to apply the new settings to existing devices, and maybe even a followup pop-up that says "Are you sure? This will over-write 14 devices settings!"

That way we have the best of both worlds. Until someone requests a command to only replace images with defaults on 1 map and not others =) Ah, that bridge is a little ways down the road though...

Vaughn

_________________
the Crib Keeper
www.vcrib.com
Tue Jan 08, 2008 10:12 am View user's profile Send private message Visit poster's website
Humanzee



Joined: 22 Aug 2007
Posts: 519
Location: Seattle, WA

Post Reply with quote
Just overwrite your image file with your new one of a same name. All devices using the old image will be updated.

_________________
vCrib Tester #1, Forum moderator, using INSTEON devices, X10 sensors and remotes via W800RF, All doors are wired with contact closures.
vCrib Wiki
Tue Jan 08, 2008 8:28 pm View user's profile Send private message
SnyperBob



Joined: 22 Aug 2007
Posts: 629
Location: Illinois

Post Reply with quote
that's a good idea.

btw, I was able to (of course) change the individual images the way you said. Thinking more about it now, I think that it's good the way it is. You can do some cool effects being able to change their images individually. I think Vaughn does something cool with his

ie... Show doors open and closed, etc.
Tue Jan 08, 2008 10:10 pm View user's profile Send private message Visit poster's website AIM Address
Humanzee



Joined: 22 Aug 2007
Posts: 519
Location: Seattle, WA

Post Reply with quote
yeah, im just using a little red and white dot for doors that are open or closed. I kind of expect to do a whole new rendering for our floor maps. So i didn't want to get too fancy with door graphics etc. I wanted to do a different map for night and day etc. Chief Architect can do rendering based on your light fixtures that you have etc. Takes a long time to render but looks really good. Problem is that I can't get the same camera angle twice, so the perspectives are different when I render lights on, vs. lights off etc.

_________________
vCrib Tester #1, Forum moderator, using INSTEON devices, X10 sensors and remotes via W800RF, All doors are wired with contact closures.
vCrib Wiki
Tue Jan 08, 2008 11:57 pm View user's profile Send private message
CribKeeper
Site Admin


Joined: 09 Aug 2007
Posts: 652
Location: Overland Park, KS

Post Reply with quote
Yeah, it older versions were much simpler, but now it is very flexable about using different graphics on different maps.

I have not even used it to its fullest, but on one map a door could be a graphical picture of your door open and closed, another map could use the same graphics but way bigger, and on another map the image could just be a white box that say the words OPEN and CLOSED... Most people will not use it to this level, but I have devices on 3-4 maps and definitly like having custom graphics for each. Glasshouse shows a little of this.

so the images, X/Y etc used to be device properties, but I had to push it all out to MAP_DEVICES to store multple settings... Touchscreesns, PDAs are all good examples of when you would have alternate graphics on a device...

I need to do my graphics from scratch, so I have not put too much effort in adding graphics to my current maps, which has been turning me off to more demos...

Vaughn

_________________
the Crib Keeper
www.vcrib.com
Thu Jan 10, 2008 12:58 pm View user's profile Send private message Visit poster's website
Display posts from previous:    
Reply to topic    The Virtual Crib - Home Automation Software Forum Index » Bug Reports All times are GMT - 6 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.