Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Programming
 PowerHome Messageboard : PowerHome Programming
Subject Topic: Open Source HTML 5 Remote Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
kev21986
Senior Member
Senior Member
Avatar

Joined: April 04 2007
Location: United States
Online Status: Offline
Posts: 199
Posted: September 22 2011 at 21:56 | IP Logged Quote kev21986

If anyone is interested I am slowly working on porting my ctrlHome app
over to HTML 5 as an open source project. It is very early in development
and I welcome all the help anyone can give.

The project can be found at https://github.com/respectTheCode/ctrlHome

A sample of the project can be used from http://ctrlhome.herokuapp.com

Edited by kev21986 - January 02 2012 at 18:46


__________________
Kevin Smith
@respectTheCode
Back to Top View kev21986's Profile Search for other posts by kev21986 Visit kev21986's Homepage
 
krommetje
Super User
Super User
Avatar

Joined: December 29 2004
Location: Netherlands
Online Status: Offline
Posts: 695
Posted: November 20 2011 at 12:57 | IP Logged Quote krommetje

tell more...
Back to Top View krommetje's Profile Search for other posts by krommetje Visit krommetje's Homepage
 
kev21986
Senior Member
Senior Member
Avatar

Joined: April 04 2007
Location: United States
Online Status: Offline
Posts: 199
Posted: November 21 2011 at 08:18 | IP Logged Quote kev21986

I haven't gotten very far yet. It seems like development goes in little bursts.
This is one of my many side projects and is replacing ctrlHome/iHome the
iOS app I started a few years back.

At this point I have picked angular for the front end and nodejs for the
backend. The backend can send and receive commands to a users PH install
and I have a few test tools working. The APIs need work and I haven't really
started the front end.

__________________
Kevin Smith
@respectTheCode
Back to Top View kev21986's Profile Search for other posts by kev21986 Visit kev21986's Homepage
 
kev21986
Senior Member
Senior Member
Avatar

Joined: April 04 2007
Location: United States
Online Status: Offline
Posts: 199
Posted: December 04 2011 at 11:10 | IP Logged Quote kev21986

I can't find the post now, but someone had asked for SSL / https. I have
moved ctrlHome to heroku and it now functions over http or https.


https://ctrlhome.herokuapp.com
or
http://ctrlhome.herokuapp.com

Edited by kev21986 - December 04 2011 at 11:10


__________________
Kevin Smith
@respectTheCode
Back to Top View kev21986's Profile Search for other posts by kev21986 Visit kev21986's Homepage
 
GCollins
Groupie
Groupie
Avatar

Joined: March 27 2011
Location: United States
Online Status: Offline
Posts: 54
Posted: December 30 2011 at 19:41 | IP Logged Quote GCollins

Sorry I can't contribute directly, but I am interested in progress and wish you and all collaborators well! Looking forward to your results!
Back to Top View GCollins's Profile Search for other posts by GCollins
 
kev21986
Senior Member
Senior Member
Avatar

Joined: April 04 2007
Location: United States
Online Status: Offline
Posts: 199
Posted: January 02 2012 at 18:59 | IP Logged Quote kev21986

The progress is slow but I will keep working on it as I find time. It is all
written in HTML and JavaScript so it should be easy to read and work on once
there is a little more structure to the app. My goal is to make it so that there
isn't much reason to extend it though. I haven't figured it all out yet but I
want anyone with a little understanding of HTML to be able to make what
ever control interface they want. CtrlHome is really more of a framework to
make the communication with PH simple. Most of the UI will be user editable
and hopefully stored in PH. So think CMS but for controlling PH.



__________________
Kevin Smith
@respectTheCode
Back to Top View kev21986's Profile Search for other posts by kev21986 Visit kev21986's Homepage
 
kev21986
Senior Member
Senior Member
Avatar

Joined: April 04 2007
Location: United States
Online Status: Offline
Posts: 199
Posted: February 14 2012 at 07:39 | IP Logged Quote kev21986

Making more progress. It now has a basic device / group list with control
and macro list. There is a basic control interface similar to what I had done
in the iOS app.

I have started working on angular widgets and directives to control PH and a
way to store and serve HTML/CSS pages. When its finished users will be able
to make control interfaces with HTML/CSS with a simple interface to PH.

__________________
Kevin Smith
@respectTheCode
Back to Top View kev21986's Profile Search for other posts by kev21986 Visit kev21986's Homepage
 
raven77m
Newbie
Newbie


Joined: December 31 2006
Online Status: Offline
Posts: 24
Posted: February 14 2012 at 10:46 | IP Logged Quote raven77m

Did ya ever think about implementing
Sencha
Framework? I have a pretty sweet webapp built using it and it works
pretty well.
Or maybe that would be something the users would implement...
Thanks for all ur work on this code BTW, its looking pretty sweet!
Back to Top View raven77m's Profile Search for other posts by raven77m
 
kev21986
Senior Member
Senior Member
Avatar

Joined: April 04 2007
Location: United States
Online Status: Offline
Posts: 199
Posted: February 14 2012 at 11:42 | IP Logged Quote kev21986

I started off using sencha but found it to be a little complicated. I want to give the user complete control over what it looks like without that steep of a learning curve. With
the angular widgets and directives and web based editor it should be pretty easy to work with and you don't need to understand angular to use the widgets and directives.

This isn't functional yet but with the angular widgets and directives Im planning you could do stuff like

Code:

<ph:device device="LIGHT1" onClass="on" offClass="off">Toggles LIGHT 1 and has on/off based on LIGHT1 status</ph:device>
<ph:group group="GROUP1" onClass="on" offClass="off">Toggles GROUP1</ph:group>

<ph:device device="LIGHT1">LIGHT1 is {{status}}</ph:device>
<div>LIGHT1 is {{devices.LIGHT1.status}}</div>

<div ph:deviceOnClass="LIGHT1|on" ph:deviceOffClass="LIGHT1|off" ph:deviceOnClick='LIGHT1|ph_macro("ON")'
ph:deviceOffClick='LIGHT1|ph_macro("OFF")'>Has on/off class based on LIGHT1 status and runs ON/OFF based on LIGHT1 status</div>


The project is also open source so a more adventurous user could clone it and change anything.

Sencha has a CDN so it would work with what I have planned I think. I'll post an update when I have the the HTML stuff working.

Edited by kev21986 - February 14 2012 at 11:43


__________________
Kevin Smith
@respectTheCode
Back to Top View kev21986's Profile Search for other posts by kev21986 Visit kev21986's Homepage
 
pingmustard
Newbie
Newbie


Joined: September 13 2010
Online Status: Offline
Posts: 18
Posted: August 26 2012 at 22:33 | IP Logged Quote pingmustard

Hi Kevin, if i wanted to set this up for local development /testing, what
tools / run times would I need? This looks like a very cool project
Back to Top View pingmustard's Profile Search for other posts by pingmustard
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum