Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome General
 PowerHome Messageboard : PowerHome General
Subject Topic: psp examples Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
luth
Newbie
Newbie


Joined: April 14 2005
Online Status: Offline
Posts: 5
Posted: May 03 2005 at 02:17 | IP Logged Quote luth

Several of the forum messages I have read mention example PSP files in the web directory. I cannot find any. I see a 15 .gif files and 2 .css files but that's it. Am I missing them?
Back to Top View luth's Profile Search for other posts by luth
 
krommetje
Super User
Super User
Avatar

Joined: December 29 2004
Location: Netherlands
Online Status: Offline
Posts: 695
Posted: May 03 2005 at 03:50 | IP Logged Quote krommetje

luth wrote:
Several of the forum messages I have read mention example PSP files in the web directory. I cannot find any. I see a 15 .gif files and 2 .css files but that's it. Am I missing them?


If you search within this board, you'll find loads of examples of PSP-code with various subjects... just start to read some threads that might look interesting to you....
Read the PH-Helpfile, that is a good guide to learn PSP-Code... I have just started 6 months ago and still use the search function of this board as well as the help-file as a guideline to PSP-Code... If you are really stuck you can post a question in this board... Look at some threads in this board with a large amount of reply's and views.... A lot of code can be found in there...

Peter
Back to Top View krommetje's Profile Search for other posts by krommetje Visit krommetje's Homepage
 
luth
Newbie
Newbie


Joined: April 14 2005
Online Status: Offline
Posts: 5
Posted: May 04 2005 at 01:36 | IP Logged Quote luth

Peter,

Thanks for the reply. I have looked at many of the posting on this forum and found them quite helpful. I am up and running because of them. I was just wondering where the example files might be since I see them mentioned on the boards and in the documentation. I don't see them in my web folder. Thanks for mentioning the PH-Helfile. I was not aware of that. Hopefully that will give me the details I am looking for.

Luth
Back to Top View luth's Profile Search for other posts by luth
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: May 04 2005 at 17:14 | IP Logged Quote dhoward

Luth,

I havent included any of the PSP examples in the betas since I havent had a chance to update the code with all the latest changes.

Ive gone back through and pulled the PSP code for the main webpage and updated it so that it would at least work. It only pulls the X-10 devices and uses the layout that was in use before the last beta, but it works and should be a fairly thorough example of PSP in action.

You can download the file at http://www.power-home.com/download/pspsample.zip.

It contains three files. Unzip them into your PowerHome web directory and then launch your browser and bring up http://127.0.0.1/index.psp. This will bring up a PSP version of the X-10 status screen. The playmacro.psp and x10button.psp files support the playing of macros from the index.psp page and the controlling of the X-10 devices.

Hope this helps,

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
luth
Newbie
Newbie


Joined: April 14 2005
Online Status: Offline
Posts: 5
Posted: May 16 2005 at 23:09 | IP Logged Quote luth

Dave, thanks for the examples. These are very helpful!
Back to Top View luth's Profile Search for other posts by luth
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: May 18 2005 at 20:53 | IP Logged Quote dhoward

No prob...let me know if you have any other questions.

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 

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