Spent today writing this. It should be a good foundation for an async HTML 5 front end. I was reluctant to use any MH sockets not knowing how they would interact. Other than that it seems to mesh in with most patterns in mh/lib/

https://github.com/f34rdotcom/misterhouse/compare/websockets

All that is needed now is pretty graphics and plumbing and a tun of layout flow and design braining and I can fill in that empty TAB on my front door touchscreen.

--
Regards
 Sean Mathews




On Sun, Jan 5, 2014 at 12:30 AM, dbemowsk <dbemowsk@phpwebscripting.com> wrote:
My primary goal in this, at least from my side of things, is to get basic
control of major functions of the system on the touch screen. This is not
something that I am going to sit in front of to get major data from.  I
figure if I want that kind of data I will get it from the standard web
interface sitting at my computer.  One other thing with this is that in
being a wall mounted touch screen display, it's primary orientation is going
to be a landscaped view, and not a portrait view that you would typically
see on a phone or other normal tablet usage.

Functions that I plan to start with are:
1 - System Mode (away, home, or sleep), as that should be pretty easy.  It
will probably be a page showing an icon for the current mode with smaller
selection buttons below it to change it.

2 - Lights & Devices.  This I think I can do by parsing the json data from
http://mh.address.or.ip:8080/sub?json(objects) using javascript to generate
the pages.  I can also parse /sub?json(groups) to group pages of items.
This will be a little more complex to do, but I still don't think it will be
that hard.

3 - Climate.  This will possibly include separate pages of weather data and
thermostat control, and if I have room (screen real estate), I may make this
into two columns with one side being the weather info and the other being
HVAC control.

I don't do anything at the moment with TV & Movies, Music & Radio, Security,
or Scenes & Moods.

One other thing that I found tonight was the new beta firefox browser.
There is an add-on that you can enable that puts the browser in full screen
mode as soon as the page loads.  This makes it look less like a browser page
and more like a tablet app.  This is how it looks on the Asus Memo Pad with
the browser in full screen mode.
<http://misterhouse.10964.n7.nabble.com/file/n19171/IMG_20140105_021121.jpg>
The 4 dots on the bottom are the tablet's buttons for back, home, etc...,
but hidden.  Just tap on them and they show.  As can be seen too, I now have
header and footer bars.  The header bar is displaying the current date and
time (Time is a bit off) using javascript.

I'll post more as I progress on this.

Dan Bemowski



--
View this message in context: http://misterhouse.10964.n7.nabble.com/touchscreen-web-interface-tp19164p19171.html
Sent from the Misterhouse - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
________________________________________________________
To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365