The Vera Community forums have moved!

General => Remote Control => Topic started by: psykokwak on January 06, 2013, 06:15:49 am

Title: How to install "myvera" directly on your vera.
Post by: psykokwak on January 06, 2013, 06:15:49 am
Hi all,
MyVera is an interface that allows you to control your home automation from your browser (chrome only) or from your ipad or iphone (or android device).
Here, some screenshots :
- http://sbdomotique.files.wordpress.com/2012/09/myvera3d.jpg
- http://sbdomotique.files.wordpress.com/2012/12/20121205-221700.jpg
- http://sbdomotique.files.wordpress.com/2012/12/iphone1.jpg

And a video : https://www.youtube.com/watch?v=vEtwF4m6tzA

You can download it from its author website : http://sbdomotique.wordpress.com/
The official myvera thread (in french) : http://www.touteladomotique.com/forum/viewtopic.php?f=48&t=9041

This interface uses PHP, so you will need to have a web server with PHP that can communicate with your vera.

I'll explain here how to install myvera (and php) directly on the vera. So, no need to have an external computer for our PHP interfaces...


  WARNING:
I explain here how to install "myvera" on the flash memory but that space is very limited. It turns out that it fits with the version of "myvera" available at the time of writing this tutorial, but there is no guarantee that future versions of myvera can also fit.
If this is the case, there are two possibilities:
- Install MyVERA in RAM (in "/tmp"). However, at every reboot you will need to reinstall "myvera."
- Install on a USB stick. There's no risk in case of reboot.

I still places available the current "space optimized" version (myveraRC121119)  http://www.psykokwak.com/pub/vera/myvera.tgz

  PREREQUISITES:
So obviously the first thing to do is to install PHP on your vera. For this, I invite you to visit the following tutorial: http://forum.micasaverde.com/index.php/topic,13126.0.html


  Step 1: Copy "myvera" on vera:
- With winscp copy "myvera.tgz" folder in the "/tmp" your vera.


  Step 2: Install "myvera" (in "/root", but you are free to install it wherever you want)
- In SSH (with putty), type the following commands:
Code: [Select]
cd /tmp
tar xvzf myvera.tgz -C /root/


  Step 3: Configure the web server (lighttpd) to access to "myvera"
- Edit (with "vi") file "/etc/lighttpd.conf".
- At the very end of the file, add the following:
Code: [Select]
$SERVER["socket"] == ":8080" {
server.document-root = "/root/myvera"
}
The first line indicate the TCP port on which we want to access to myvera (useful for separating "integrated" interface in the case of access from internet)
The second line indicates the location where you installed "myvera."


  Step 4: Test that everything works
- Restart the web server:
Code: [Select]
pkill -9 lighttpd
lighttpd-f /etc/lighttpd.conf
If there is no message that appears is that the server is restarted.
Now from your browser, type the following url: http://<veraip>:8080/

 ;D ;D

If you have any questions, do not hesitate to post them here :D
Title: Re: How to install "myvera" directly on your vera.
Post by: chixxi on January 09, 2013, 07:31:38 am
I have installed everything according to your description, which by the way is very straight forward, I like it. It is installed on a UBS stick. The interface seems to be running, at least I can access it through my browser. I will do some more extensive testing on the weekend.

However, I already have some questions/remarks:

1. Do you plan on creating an english version? I do speak french and english quite well, I would offer to do the translations for you. I could also offer german translations since that is my native language.

2. On http://sbdomotique.wordpress.com/ I was unable to find a download for MyVera. Is http://www.psykokwak.com/pub/vera/myvera.tgz the newest version or is this the special "space optimized" version?

3. Do you plan on implementing an update routine? Or does this always have to be done manually? I think it would be nice if the version and release date would be listed in "Config.", then I would at least know which version is running.

4. The command "lighttpd-f / etc / lighttpd.conf" in the description above is wrong, should be "lighttpd -f /etc/lighttpd.conf".

5. I would love to see you implement rights/users. So for example I could say "The user XY has only access to light XY".

6. Could you maybe explain how to setup .htaccess when installed locally on the vera?

By the way, I saw on some screenshots that you already support two of my plugins, the VirtualSwitch and the VariableContainer, THANK YOU for this and the plugin, great work!
Title: Re: How to install "myvera" directly on your vera.
Post by: psykokwak on January 09, 2013, 07:43:46 am
1. Do you plan on creating an english version? I do speak french and english quite well, I would offer to do the translations for you. I could also offer german translations since that is my native language.
I'm not the "myvera" developper. I'll forward your request to him. I think it could be a good idea.

2. On http://sbdomotique.wordpress.com/ I was unable to find a download for MyVera. Is http://www.psykokwak.com/pub/vera/myvera.tgz the newest version or is this the special "space optimized" version?
This is the latest version at the time I writing this but I know there is a major update in the next few days.
If you have enough space (because you use an USB stick), you could use the "standard" version.

3. Do you plan on implementing an update routine? Or does this always have to be done manually? I think it would be nice if the version and release date would be listed in "Config.", then I would at least know which version is running.
I don't know. Like I said, I'm not the developper.

4. The command "lighttpd-f / etc / lighttpd.conf" in the description above is wrong, should be "lighttpd -f /etc/lighttpd.conf".
Oups, sorry. Fixed. Thanks.

5. I would love to see you implement rights/users. So for example I could say "The user XY has only access to light XY".
I think it will be a feature of the next release.

6. Could you maybe explain how to setup .htaccess when installed locally on the vera?
Here an automatic translation that explain it : http://translate.google.fr/translate?sl=fr&tl=en&js=n&prev=_t&hl=en&ie=UTF-8&eotf=1&u=http%3A%2F%2Fsbdomotique.wordpress.com%2F2012%2F11%2F20%2Fmyvera-htaccess%2F&act=url

By the way, I saw on some screenshots that you already support two of my plugins, the VirtualSwitch and the VariableContainer, THANK YOU for this and the plugin, great work!
I'll forward your thanks to the author ;)
Title: Re: How to install "myvera" directly on your vera.
Post by: chixxi on January 09, 2013, 08:36:16 am
Thanks for the fast reply!

Concerning point 6:

Which would be the "web" folder on the vera? Is this /www? Do in need to put the .htaccess there?
Title: Re: How to install "myvera" directly on your vera.
Post by: psykokwak on January 09, 2013, 08:46:55 am
Not sure that lighttpd supports .htaccess files (which are specific to Apache server).
Title: Re: How to install "myvera" directly on your vera.
Post by: chixxi on January 09, 2013, 09:08:10 am
Not sure that lighttpd supports .htaccess files (which are specific to Apache server).

So does this mean it is not needed when installed locally on the vera itself? Which users/pw would I then need to enter? Or is then no password needed?
Title: Re: How to install "myvera" directly on your vera.
Post by: psykokwak on January 09, 2013, 01:36:25 pm
By default there is no protection. Just enter what you want as login and password.
Lighttpd provides a different mechanism to do the same as the .htaccess protection (which is a classic http auth).
You have to read the lighttpd documentation if you want to use this feature.
In the next release this mechanism will be replaced by a PHP transparent auth (both auth will always be possible).
Title: Re: How to install "myvera" directly on your vera.
Post by: big517 on January 09, 2013, 04:10:00 pm
This is interesting, looking forward to the english version before I jump in.
I have a question though.

There seems to be a "blueprint" style layout of your home.  Where do you set this up at?   Do you provide a picture, then place the devices anywhere on a map?
Title: Re: How to install "myvera" directly on your vera.
Post by: psykokwak on January 09, 2013, 05:27:08 pm
Exactly,
You have to create your plan from any software you want (I used http://floorplanner.com/) then export it as an image and insert the image into the app. Then you just have to place your devices anywhere you want over the image.
MyVera asks the vera for all available devices, so you just have to decide which one you want do display on your map.
Title: Re: How to install "myvera" directly on your vera.
Post by: chixxi on January 10, 2013, 02:43:00 am
So it is up and running for me. But I still have some questions:

In which format and size should the pictures be available? Always when I try adding and image url I get and error that the vue was not updated. Can images also be stored locally ond the vera/usb-stick?

Also for me virtual switches and variable containers are not working, even though it says here (http://sbdomotique.wordpress.com/2012/11/08/myvera-modules/) that they should be working. So I am still wondering if I really have the newest version?

What I also realized that it is very optimzed for the iPad, on which the interface looks very perfect and clear. On the Nexus 10 however the interface does not look nice, no errors, but just not clear.
Title: Re: How to install "myvera" directly on your vera.
Post by: psykokwak on January 10, 2013, 03:00:47 am
Your image must be in jpeg and it will be stored in one myvera subdir.
Try with this is newer beta version, there is lot of improvement : http://sb.domo.free.fr/dev/myvera02_nigtlybuild231212.zip
(don't forget to clear your cache)
Title: Re: How to install "myvera" directly on your vera.
Post by: davidd1205 on January 10, 2013, 05:52:04 am
Your image must be in jpeg and it will be stored in one myvera subdir.
Try with this is newer beta version, there is lot of improvement : http://sb.domo.free.fr/dev/myvera02_nigtlybuild231212.zip
(don't forget to clear your cache)

hello

the link is http://sb.domo.free.fr/dev/myvera02_nigtlybuild301212.zip

very good job

Title: Re: How to install "myvera" directly on your vera.
Post by: big517 on January 11, 2013, 02:40:29 pm
Thanks for the link to the homefloorplanner site, I spent a good amount of time yesterday re-creating my home :)  I plan to use it for this.

I have a question though; Could I install this on another PHP webserver?  i'll admit this is new to me, but I have a QNAP NAS which has a webserver, can I follow your install instructions above?  If it's easy enough, please advise how to install, it will save me a lot of time.  Also advise when/where to change the information to suit my system.

2nd question is can this be installed on Vera2?

Thank you,
Title: Re: How to install "myvera" directly on your vera.
Post by: psykokwak on January 12, 2013, 06:12:36 am
I have a question though; Could I install this on another PHP webserver?  i'll admit this is new to me, but I have a QNAP NAS which has a webserver, can I follow your install instructions above?  If it's easy enough, please advise how to install, it will save me a lot of time.  Also advise when/where to change the information to suit my system.
I don't know your QNAP NAS. It should have a package installer, so you have to use it to install PHP. My package only works for our Vera.


2nd question is can this be installed on Vera2?

It should :D
Title: Re: How to install "myvera" directly on your vera.
Post by: big517 on January 12, 2013, 06:48:31 am
I actually copied it all over to the qnap, it seems to be running, but i'm having a hard time configuring this thing.  Are you saying that this "web page" can ONLY be ran from Vera?

In New View, I have Name, Tab, Index, and URL of the Image.
I cannot select anything under tab, URL I've tried a remote and local URL, I only get ERROR Updating.

I cannot create a Tab, or Create a View.  All errors every time.  I can see a list of all my devices and scenes in those tabs, but I cannot create or save anything... please help.
Title: Re: How to install "myvera" directly on your vera.
Post by: zolakk on January 12, 2013, 02:56:25 pm
I got it working just fine in a Ubuntu VM running apache. Initially it didn't work at all, but after checking the apache error logs I found you need to enable curl support in your php.ini file. I also had to make sure that the web user had write access to the folder to create the config files or else nothing would save
Title: Re: How to install "myvera" directly on your vera.
Post by: psykokwak on January 12, 2013, 03:26:27 pm
I actually copied it all over to the qnap, it seems to be running, but i'm having a hard time configuring this thing.  Are you saying that this "web page" can ONLY be ran from Vera?
MyVera works with any PHP enabled webserver.

In New View, I have Name, Tab, Index, and URL of the Image.
I cannot select anything under tab, URL I've tried a remote and local URL, I only get ERROR Updating.
Check that your webserver has rights to write inside your "myvera" directory (and all subfolders).

I cannot create a Tab, or Create a View.  All errors every time.  I can see a list of all my devices and scenes in those tabs, but I cannot create or save anything... please help.
Once you have uploaded your plan you may place your devices over.
Title: Re: How to install "myvera" directly on your vera.
Post by: big517 on January 12, 2013, 04:40:04 pm
I got it working just fine in a Ubuntu VM running apache. Initially it didn't work at all, but after checking the apache error logs I found you need to enable curl support in your php.ini file. I also had to make sure that the web user had write access to the folder to create the config files or else nothing would save

Where do I enable CURL support?  Here is the PHP file;

Code: [Select]
[PHP]
engine = On
short_open_tag = On
asp_tags = Off
precision    =  12
y2k_compliance = On
output_buffering = Off
zlib.output_compression = Off
implicit_flush = Off
unserialize_callback_func=
serialize_precision = 100
allow_call_time_pass_reference = On
safe_mode = Off
safe_mode_gid = Off
safe_mode_include_dir =
safe_mode_exec_dir =
safe_mode_allowed_env_vars = PHP_
safe_mode_protected_env_vars = LD_LIBRARY_PATH
disable_functions =
disable_classes =
expose_php = On
max_execution_time = 240     ; Maximum execution time of each script, in seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
memory_limit = 64M      ; Maximum amount of memory a script may consume
error_reporting  =  E_ALL & ~E_NOTICE
display_errors = Off
display_startup_errors = Off
log_errors = Off
log_errors_max_len = 1024
ignore_repeated_errors = Off
ignore_repeated_source = Off
report_memleaks = On
track_errors = Off
variables_order = "EGPCS"
register_globals = off
register_argc_argv = On
post_max_size = 16M
gpc_order = "GPC"
magic_quotes_gpc = On
magic_quotes_runtime = Off   
magic_quotes_sybase = Off
auto_prepend_file =
auto_append_file =
default_mimetype = "text/html"
doc_root =
user_dir =
include_path = ".:/etc/config/php"
extension_dir = /usr/local/apache/modules
enable_dl = On
file_uploads = On
upload_max_filesize = 16M
allow_url_fopen = On
default_socket_timeout = 300
upload_tmp_dir = /share/Web
[Syslog]
define_syslog_variables  = Off

[mail function]
SMTP = localhost
smtp_port = 25
sendmail_path = /usr/sbin/sendmail -t -i

[Java]

[Date]
date.timezone = "Asia/Taipei"

[SQL]
sql.safe_mode = Off

[ODBC]
odbc.allow_persistent = On
odbc.check_persistent = On
odbc.max_persistent = -1
odbc.max_links = -1 
odbc.defaultlrl = 4096 
odbc.defaultbinmode = 1 

[MySQL]
mysql.allow_persistent = On
mysql.max_persistent = -1
mysql.max_links = -1
mysql.default_port =
mysql.default_socket = "/tmp/mysql.sock"
mysql.default_host =
mysql.default_user =
mysql.default_password =
mysql.connect_timeout = 60
mysql.trace_mode = Off

[mSQL]
msql.allow_persistent = On
msql.max_persistent = -1
msql.max_links = -1

[PostgresSQL]
pgsql.allow_persistent = On
pgsql.auto_reset_persistent = Off
pgsql.max_persistent = -1
pgsql.max_links = -1
pgsql.ignore_notice = 0
pgsql.log_notice = 0

[Sybase]
sybase.allow_persistent = On
sybase.max_persistent = -1
sybase.max_links = -1
sybase.min_error_severity = 10
sybase.min_message_severity = 10
sybase.compatability_mode = Off

[Sybase-CT]
sybct.allow_persistent = On
sybct.max_persistent = -1
sybct.max_links = -1
sybct.min_server_severity = 10
sybct.min_client_severity = 10

[dbx]
dbx.colnames_case = "unchanged"

[bcmath]
bcmath.scale = 0

[browscap]

[Informix]
ifx.default_host =
ifx.default_user =
ifx.default_password =
ifx.allow_persistent = On
ifx.max_persistent = -1
ifx.max_links = -1
ifx.textasvarchar = 0
ifx.byteasvarchar = 0
ifx.charasvarchar = 0
ifx.blobinfile = 0
ifx.nullformat = 0

[Session]
session.save_handler = files
session.use_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain =
session.serialize_handler = php
session.gc_probability = 1
session.gc_divisor     = 100
session.gc_maxlifetime = 1440
session.bug_compat_42 = 1
session.bug_compat_warn = 1
session.referer_check =
session.entropy_length = 0
session.entropy_file =
session.cache_limiter = nocache
session.cache_expire = 180
session.use_trans_sid = 0
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="

session.save_path = /share/MD0_DATA/.php_session
[MSSQL]
mssql.allow_persistent = On
mssql.max_persistent = -1
mssql.max_links = -1
mssql.min_error_severity = 10
mssql.min_message_severity = 10
mssql.compatability_mode = Off
mssql.secure_connection = Off

[Assertion]

[Ingres II]
ingres.allow_persistent = On
ingres.max_persistent = -1
ingres.max_links = -1
ingres.default_database =
ingres.default_user =
ingres.default_password =

[Verisign Payflow Pro]
pfpro.defaulthost = "test-payflow.verisign.com"
pfpro.defaultport = 443
pfpro.defaulttimeout = 30

[com]

[Printer]

[mbstring]

[FrontBase]

[exif]

[eaccelerator]
extension = eaccelerator.so
eaccelerator.shm_size = 32
eaccelerator.cache_dir = /.eaccelerator.tmp
eaccelerator.enable = 1
eaccelerator.optimizer = 1
eaccelerator.check_mtime = 1
eaccelerator.debug = 0
eaccelerator.filter =
eaccelerator.shm_max = 1M
eaccelerator.shm_ttl = 0
eaccelerator.shm_prune_period = 3600
eaccelerator.shm_only = 0
eaccelerator.compress = 1
eaccelerator.compress_level = 9 

[Crack]

; End:

Title: Re: How to install "myvera" directly on your vera.
Post by: zolakk on January 12, 2013, 08:30:59 pm
I just had to put ' extension=php_curl.dll ' at the end of my file as part of this guide: http://saffrongeek.wordpress.com/2009/03/03/curl-enabling-php-ubuntu/ (http://saffrongeek.wordpress.com/2009/03/03/curl-enabling-php-ubuntu/)
Title: Re: How to install "myvera" directly on your vera.
Post by: Brientim on January 13, 2013, 06:42:20 pm
Where do I enable CURL support?  Here is the PHP file;

Have a look here
http://forum.qnap.com/viewtopic.php?f=125&t=65933
Title: Re: How to install "myvera" directly on your vera.
Post by: big517 on January 14, 2013, 05:40:48 am
Thanks for looking that up, I ended up finding that same thread last night and following it through.  I also added full read/wright attributes for the web files and it works.  I'm relying on Google translate for now but I was able to setup a page and get it working.  Pretty cool!
I also purchased a floorplanner .com account to get some nice 3D renders.  Only problem is that it becomes next to unusable once you start adding a ton of 3d objects but it worked out.

I suggest you add a 110 outlet as an available asset, there are many other options I haven't looked at in the config due to the lack of translation, but this is a solid GUI.
Title: Re: How to install "myvera" directly on your vera.
Post by: big517 on January 28, 2013, 09:01:55 pm
Is this going to be the place to watch for updates to myvera?
Title: Re: How to install "myvera" directly on your vera.
Post by: big517 on February 06, 2013, 01:24:36 pm
Looks like a new version was just released!

http://sbdomotique.wordpress.com/2013/02/02/myvera-version130202/

Anyone tried it out yet?

Title: Re: How to install "myvera" directly on your vera.
Post by: zolakk on March 19, 2013, 11:58:52 am
Looks like there is another new version out. Has anyone been able to translate this to english?

http://sbdomotique.wordpress.com/2013/02/12/myvera-130317/
Title: Re: How to install "myvera" directly on your vera.
Post by: sb_domo on March 19, 2013, 03:28:10 pm
Hello,
I am the author of MyVera. I am French and my English is not very good...
I spent quite a lot of time to improve this interface and I think that the version of March 17th can be considered as the first stable version.
MyVera is, at the moment, only in French but it can be now translated. It is necessary for this to translate the text of the file resources\locales\lang.json. Chixxi proposed it. If this offer always hold, he is welcome.

Some precision on MyVera.
I use it on my iPad and my iPhone but several users have put it on Android (Nexus or other one). Dolphin seems to be a good solution under Android (because it accepts the mode full screen).
And for Chixxi, yes, VirtualSwitch and the VariableContainer are supported (I use them)...
Title: Re: How to install "myvera" directly on your vera.
Post by: zolakk on March 20, 2013, 01:00:16 pm
Hello,
I am the author of MyVera. I am French and my English is not very good...
I spent quite a lot of time to improve this interface and I think that the version of March 17th can be considered as the first stable version.
MyVera is, at the moment, only in French but it can be now translated. It is necessary for this to translate the text of the file resources\locales\lang.json. Chixxi proposed it. If this offer always hold, he is welcome.

Some precision on MyVera.
I use it on my iPad and my iPhone but several users have put it on Android (Nexus or other one). Dolphin seems to be a good solution under Android (because it accepts the mode full screen).
And for Chixxi, yes, VirtualSwitch and the VariableContainer are supported (I use them)...
Thank you for the reply, I did notice that when looking at the new version and that made translating to english super easy. This version works great so far, and is one of the best interfaces I have used so far for Vera. Keep up the great work! :)
Title: Re: How to install "myvera" directly on your vera.
Post by: sb_domo on March 21, 2013, 04:34:48 am
Thank you for the reply, I did notice that when looking at the new version and that made translating to english super easy.
If somebody translates the lang.json file, if he transmits it to me, I would distribute it in the next versions.
Title: Re: How to install "myvera" directly on your vera.
Post by: zolakk on March 21, 2013, 11:59:43 am
Here's the lang.json file I used. It probably has to be tweaked for phrasing here and there but it definitely makes it totally usable :)
Title: Re: How to install "myvera" directly on your vera.
Post by: sb_domo on March 21, 2013, 12:24:02 pm
Thank you. The future version will be thus officially in French and in English...
Title: Re: How to install "myvera" directly on your vera.
Post by: Pashak on March 27, 2013, 07:37:34 am
I've got this working. Thanks for the tips so far. I need to put curl in also.
Ive got this running on a windows machine for now
I have 2 issues so far:
1) in modules i cant scroll down to see the rest of the modules. This is in chrome. In firefox and IE, i get no interface to login.

2) after adding a module, it says to make sure you save. How do you save? theres no save button.

Thanks in advance
Title: Re: How to install &quot;myvera&quot; directly on your vera.
Post by: sb_domo on March 27, 2013, 01:42:04 pm
Hello,
MyVera works with Chrome and Safari but not with IE and Firefox because it use webkit.
By default, MyVera is for touch-screen, also you have to slide with the mouse to scroll.

To save the list of devices, you must go to the first screen with the back button (in MyVera, at the top, left), you will see a save button in red...

Envoy? de mon iPad ? l'aide de Tapatalk HD
Title: Re: How to install "myvera" directly on your vera.
Post by: Pashak on March 27, 2013, 08:18:43 pm
thanks sb_domo,

will give it shot tonight.

much appreciated

Regards

Pashak
Title: Re: How to install "myvera" directly on your vera.
Post by: jolerius on April 25, 2013, 02:06:35 pm
I haven't got my vera lite yet so i tried to install myVera on my pc just to test it out. But i can't figure out how i should install it. Or is it not possible to install on a regular PC just to test it?
Title: Re: How to install "myvera" directly on your vera.
Post by: sb_domo on April 26, 2013, 02:42:35 am
You can install MyVera on a PC but you can't test it without a Vera : The first thing MyVera do is running a synchro with the Vera. Without this, MyVera do nothing.


Envoy? de mon iPad ? l'aide de Tapatalk HD
Title: Re: How to install &quot;myvera&quot; directly on your vera.
Post by: jolerius on April 27, 2013, 12:38:36 am
Ok, i got my Vera lite now. Bur could someone make a bit more dummie - friendly. Feel lika an idiot that dont understand how to install latest myvera on a usb.



Title: Re: How to install "myvera" directly on your vera.
Post by: jolerius on May 02, 2013, 01:58:49 pm
i'm having a lot of problems.. i finally managed to install MyVera on a USB i think.
But every time i tris to do something it asks me for usernam and password.
I keep typing the right ones and it keeps asking.

What am i doing wrong? Is there some other password? Can i turn the password thing of?
It's really annoying not being able to do ANYTHING at all.. !! :(
Title: Re: How to install "myvera" directly on your vera.
Post by: luissalvador on May 09, 2013, 04:01:13 pm
Hi
Is it possible to change the language for the compact version (i.e. directly on vera) of MyVera? I can't seem to find the lang files or even the locales folder for that matter.

Also, if i wanted to uninstall MyVera would it suffice to delete the myvera folder on the veralite's  flash memory or is there some other procedure?

Thanks! Great app and port!
Title: Re: How to install "myvera" directly on your vera.
Post by: luissalvador on May 10, 2013, 10:12:03 am
I'm having trouble with positioning devices on the vues. When I click on D?finir l'emplacement nothing happens.
Title: Re: How to install "myvera" directly on your vera.
Post by: sb_domo on May 22, 2013, 12:51:30 pm
i'm having a lot of problems.. i finally managed to install MyVera on a USB i think.
But every time i tris to do something it asks me for usernam and password.
I keep typing the right ones and it keeps asking.

What am i doing wrong? Is there some other password? Can i turn the password thing of?
It's really annoying not being able to do ANYTHING at all.. !! :(
On Vera, you can't use htaccess protect I think. With MyVera, you can use another protection with a proxy (the pages for that are in protect directory*).
But, you should do your test without any protection to begin. In that case, you have to put a username and a password in the config panel but you can put anything...

*see config.html file (and username/password will be in _parameters.php).
Title: Re: How to install "myvera" directly on your vera.
Post by: sb_domo on May 22, 2013, 01:00:09 pm
Hi
Is it possible to change the language for the compact version (i.e. directly on vera) of MyVera? I can't seem to find the lang files or even the locales folder for that matter.
You have to use the new version of MyVera.

I'm having trouble with positioning devices on the vues. When I click on D?finir l'emplacement nothing happens.
When you click on that button, You would see your view and you have to click on it where you want to put your module.
Title: Re: How to install "myvera" directly on your vera.
Post by: luissalvador on June 11, 2013, 03:13:10 pm
Its working now under the new version, thanks!

But now I have PHP installed directly on vera and myvera is installed on a usb pen drive which I have to mount everytime.

Does anyone know how to automount usb drives on startup?
Title: Re: How to install "myvera" directly on your vera.
Post by: speeksel on July 02, 2013, 02:57:37 pm
@luissalvador -> http://wiki.openwrt.org/doc/uci/fstab
@sb_domo -> i couldn't find your e-mail adress, check the attachment for Dutch (Pay Bas) language translation ;)
@all, i'f made a simple 10 step manual for sb_domo because i struggled getting it working because my French is very bad.

========================================================
Installation manual MyVera (Build 130324) by SPeeKSeL
========================================================

Simple to the point 10 step HOWTO;

1. A webserver like Apache (preferred) or lighttpd
2. PHP with CURL support enabled
3. Download the latest MyVera software from http://sbdomotique.wordpress.com/myvera-download/
4. Unzip the thing!
5. To get english in MyVera, change the language setting by;
copy resources\locales\lang_en.json over resources\locales\lang.json
or _de for german and so on...
6. Upload the folder to your webserver
7. Change rights of protect/config with 0755 recursive over this folder
8. Go to your webbrowser and go to de MyVera folder on your website
9. Login into your Vera
10. Read and play (and recreate this manual with the additional steps if anything is missing!)


========================================================
Thanks to:
========================================================
  sb_domo (Author of MyVera)
  psykokwak (documentation)



========================================================
Resources:
========================================================
http://sbdomotique.wordpress.com
http://www.floorplanner.com/
http://forum.micasaverde.com/index.php/topic,13133.0.html
Title: Re: How to install "myvera" directly on your vera.
Post by: speeksel on July 02, 2013, 03:00:22 pm
Before i forget, sb_domo your MyVera rocks ass!

Thanks.
Title: Re: How to install "myvera" directly on your vera.
Post by: sb_domo on July 03, 2013, 12:19:19 pm
Hello, Speeksel
Thanks for your "Pays Bas" translation. I'll put it in the next version...
Title: Re: How to install "myvera" directly on your vera.
Post by: luissalvador on July 03, 2013, 01:50:59 pm
Hello sb_domo,

If you like, we can translate MyVera to portuguese.

B Rgds

Luis
Title: Re: How to install "myvera" directly on your vera.
Post by: sb_domo on July 05, 2013, 03:23:22 am
Hello,
Portuguese, why not...
With the Dutchman, that will make two language which I do not know how to speak...

Thank you...
Title: Re: How to install "myvera" directly on your vera.
Post by: luissalvador on July 16, 2013, 03:53:08 pm
Here is the tranlated file.
Title: Re: How to install &quot;myvera&quot; directly on your vera.
Post by: sb_domo on July 17, 2013, 04:45:03 am
Ok,
I'll put it in the next release...
Thank you...
Title: Re: How to install "myvera" directly on your vera.
Post by: sb_domo on July 17, 2013, 08:22:33 am
Hello,
A new beta version here: http://sb.domo.free.fr/myverabuild/build130324b4.zip (http://sb.domo.free.fr/myverabuild/build130324b4.zip)
Title: Re: How to install "myvera" directly on your vera.
Post by: luissalvador on July 17, 2013, 04:17:36 pm
Hi, are the portuguese language option in this beta version?
Title: Re: How to install "myvera" directly on your vera.
Post by: sb_domo on July 17, 2013, 04:20:56 pm
Yes, I've put the two new languages.
Thank you for the portuguese...


Envoy? de mon iPad ? l'aide de Tapatalk HD
Title: Re: How to install "myvera" directly on your vera.
Post by: luissalvador on July 23, 2013, 08:52:01 pm
Hello Sb-Domo, the actualized Myvera version works perfectly! Thanks!
Title: Re: How to install "myvera" directly on your vera.
Post by: squatingyeti on December 16, 2014, 05:53:36 pm
Hoping for some help here. I can't seem to get everything right with this. I followed all the steps but I'm stuck with the lighttpd portion. Everything was done step by step. However, at first it said it couldn't start the server because it can't bind to port 80 as it's already in use. I looked at the myvera portion of the directions and added the code to switch it to 8080 in the lighttpd.conf. So, after killing lighttpd and doing lighttpd -f /etc/lighttpd.conf I don't get any error. However, if I go to http://<myveraip>:8080 nothing loads :( Not sure where I've gone wrong and could greatly use some help. Thinking of starting over, but not sure which files I can delete on my actual vera to do so. I can take all the lighttpd and myvera files, correct? along with the php4vera stuff?

If I don't have to start over I won't, but I dunno where I went wrong with this. I have a veralite running UI7 if that matters.
Title: Re: How to install "myvera" directly on your vera.
Post by: rtaxerxes on January 07, 2015, 07:49:53 am
I was also want to know if there is any way to allow scrolling or resizing so views can be used on an iPhone and not only the iPad. Anyone with PHP experience who might be able to help?