Author Topic: ALTUI: MyHome page customization  (Read 692 times)

Offline amg0

  • Moderator
  • Sr. Hero Member
  • *****
  • Posts: 2713
  • Karma: +163/-8
ALTUI: MyHome page customization
« on: October 18, 2017, 02:41:23 pm »
Here is a very simple tutorial to change the picture of a room in MyHome page. Vera acts as a web server serving files from the /www file system root. we take advantage of this to get custom images for this page, this is how it works

BASIC
1.   Choose an image or take a picture
a.   recommanded size 300x213 , edit your image if possible to make sure it is optimized size-wise

2.   Note down the ALTUI ID of the room image you want to change
a.   Example 0-7

3.   Name your image file R_0-7.jpg
a.   Warning capital letter matters.  Capital R  , lower case .jpg

4.   Connect to your VERA via SSH
a.   For example using winscp tool on windows
b.   You must know your root password to connect to vera

5.   On your vera goto the folder /www

6.   Upload your image file there

7.   Verify that a direct web access to the image works by using the following url:
a.   http://192.168.1.32/R_0-7.jpg

8.   From now on,  the MyHome page should show this image for the room ID 0-7

Older documentation : http://forum.micasaverde.com/index.php/topic,33308.msg299150.html#msg299150


Changing the picture location
if you want to change the picture locations on your vera, for instance, let's say you want to store pictures under /www/localcdn.  in that case :

1. put your picture in /www/localcdn folder on vera

2. set the "ImagePath" variable of your ALTUI device to be :   "../localcdn/"
a. note that the  leading "../" is necessary to make sure it works when used in Remote Access mode
b. the capital / lower cases letters matters !
c. verify that http://192.168.1.32/localcdn/R_0-7.jpg gives you the image
« Last Edit: October 18, 2017, 02:52:06 pm by amg0 »

Offline guald

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
Re: ALTUI: MyHome page customization
« Reply #1 on: October 22, 2017, 02:10:29 pm »
Have mercy! I installed WinSCP. But now, would anybody mind giving me the extra steps in detail to access my VeraEdge so I can go on with step 5?
Thanks in advance!

Offline amg0

  • Moderator
  • Sr. Hero Member
  • *****
  • Posts: 2713
  • Karma: +163/-8
Re: ALTUI: MyHome page customization
« Reply #2 on: October 24, 2017, 07:52:56 am »
here is a quick set of screen shots