I created an html page that has links to specific devices. I would like to put a copy of this on my router so that any PC/device on the network can use it (remote usage would be a plus, but not necessary). It should survive a reboot.
Anyone know if this is possible?
If you are wondering why I did this, let me explain. The Vera UI is large and you cannot arrange items in an order that works best for you. So, I created a page that has the rooms/devices I use most listed at the top, all in simple text form. You can see the whole list on PC/iTouch/etc, and I control the order. Each item appears like this:
[size=12pt]
[tt]
(1) (2) (3) (4) (5)
FR Track On Off 38 50 75 18 dim sw
FR Hall On Off 21 tog sw
MBR Table On Off 25 50 75 12 dim sw
MBR DZ Lamp On Off 25 50 75 15 dim sw
LR Lamp On Off 17 tog plg[/tt][/size]
What you see are:
The device name
On and Off links for the device
If the device is a dimmer. then links for various percentages of dimming (note one has 38%, others 25%)
The node number (Device number? It’s whatever number I had to put in the html message command!)
The type of device: dim (it dims), tog (it is on/off only - aka appliance), and sw (switch) or plg (plu-in)
At the bottom, I also have links to the status page.
Back to the subject: I would like to put this on the router and be able to access it from any machine on the network. Any ideas?
I figured someone might want to see the file, so I’ve attached it.
In case anyone’s virus scanning software get’s freaked out, I renamed the file to a text file. Simply delete the .txt from the end.
You will also note that I have hardcoded the IP address in the file. I use an assigned IP address for Vera - not dynamic. If you use a dynamic IP address, this solution will not be as good! However, if there IS a way to put this on the router, then you we can probably use relative address in the html.
Clarification: I have an entry in my networking hosts file that maps vera to my hardcoded IP address. This is why the html has Vera:3451 instead of something like 192.168.1.20:3451.
first telnet to Vera
telnet loca.findvera.com
inside Vera’s cli type
passwd
and set a root password
Then from your computer using scp (WinSCP - choose scp as connect method) put the file in.
One of my goals was to make this as easy as possible on people-other-than-me. Needing to type: 192.168.1.50/cmh/filename.html does not make it user friendly.
My solution - and I have not checked to see if the files stay after a reboot using our method or mine - was to create a directory /www/hc and place my file in that directory with the name index.html. For those not familiar with defaults on (some) web servers, if you enter a server name, or a server name plus directory, the server will look for it’s default file and serve it up. In the case of Vera, the default filename is index.html.
Because I have added Vera to the hosts file on our home PC’s, getting to this page is as easy as typing vera/hc. For machines without the hosts file, you get to it by 192.168.1.50/hc. Not too bad.
DrZeller - I noticed in your file that your also trying to work with the Zwave Lock. I been playing in my box monitoring the commands coming across: Here is what I am seeing: