Please login or register.

Login with username, password and session length
Pages: 1 2 3 [4] 5

Author Topic: My new software - RemoteWatch x10  (Read 76783 times)

dbemowsk

  • Hero Member
  • *****
  • Helpful Post Rating: 21
  • Posts: 428
    • PHP Web Scripting
Re: My new software - RemoteWatch x10
« Reply #45 on: August 18, 2010, 12:52:29 AM »

Well, I think I have successfully repaired the HA PC.  I have had it running now for over 24 hours with no faults.  Turns out it needed a good cleaning, some new heat sink grease to cool the processor, a new power supply and a few driver updates.  I have been manually checking the processor heat sink for excessive heat and she seems to be staying cool.  I am hoping for the best.

Version 1.2.3 was the last version to use a full screen template with the old style menus.  The new version 2.0.0 has been changed to use a template optimized for an internet tablet computer such as the Nokia n770. The new internet tablet template has a different menu style.  With changes made for the new template style, some things on the old full screen template are not functioning correctly.  My plan for down the road is to have selectable templates for different device screen formats, however coding this and new features takes time. 

I would like to add things for using macros and timers as shuggins suggests, but this may take a while.  Dimming capabilities are in the works, but it appears I have a few things to work through with that.  I should have that working soon though.

Now that I have the computer back up and running, I hope to have an updated release ready by Sunday.  That is providing nothing major comes up between now and then.  I'll post here when the new release is ready.

shuggins, I am curious how the software worked with you with your iPhone.  I don't own an iPhone to test with, so input on how it works may be helpful to others.
Logged
Dan Bemowski
Owner of PHP Web Scripting LLC
Programmer of RemoteWatch X10
User of any X10 products I can get my hands on.

shuggins

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 51
Re: My new software - RemoteWatch x10
« Reply #46 on: August 18, 2010, 02:03:56 PM »

Well, again, I was only able to get version 1.2.3 installed and working on my PC at home.  Version 2.0.0 would not import my AHP .ahx file so I could not get any modules imported at all.  But 1.2.3 looked just fine on my iPhone, using the Safari Web Browser that iPhone comes with.

Here's all I had to do to get it up and accessible from the outside internet:

1. Logged into my router and obtained the "outside world" IP Address.  All router softwares are different.  But, they all should have a screen for obtaining this.
2. Also in all router software you can do "port forwarding". I just had to say forward requests on port "8088", which is what RemoteWatch runs under, to my local 192.1268.x.x machine that's
    running Remove Watch X10.
3. Once I did all that if I open a browser and type in the external IP address with port 8088 (example: http://99.161.17.64:8080), bingo!  Up comes the Remote Watch site.
4. I can access it from Internet Explorer at work and I can access it from iPhone also!
5. Using iPhone (while at work) I logged in my site as the root user (I did change PW btw) and I was able to turn on/off modules and see their status, etc.
6. Very cool.

I certainly would rather use 2.0.0, but it seems to be missing mySQL dll's in the /bin/ folder under PHP.
Logged

dbemowsk

  • Hero Member
  • *****
  • Helpful Post Rating: 21
  • Posts: 428
    • PHP Web Scripting
Re: My new software - RemoteWatch x10
« Reply #47 on: August 18, 2010, 07:44:59 PM »

I think what happened with 2.0.0 is that when I was looking over an old piece of code, some of the non working old code got copied into the new version.  I am going to try to have that working by Sunday and will post an update as soon as I get it working right again. 

You are going to notice a major difference in the look of the new version because I switched to a new template style that I am optimizing for my Nokia tablet.  The screen size of the tablet is 800 x 480 so it looks small when using the tablet view an a regular PC.  I will eventually get a full screen PC template working, but for now I am focusing on getting things in the tablet version working for my soon to be wall mounted information display. 

If anyone has any other suggestions for things to add, I am all ears.
Logged
Dan Bemowski
Owner of PHP Web Scripting LLC
Programmer of RemoteWatch X10
User of any X10 products I can get my hands on.

dbemowsk

  • Hero Member
  • *****
  • Helpful Post Rating: 21
  • Posts: 428
    • PHP Web Scripting
Re: My new software - RemoteWatch x10
« Reply #48 on: August 19, 2010, 12:46:21 AM »

I was able to find the PHP error log file.  Looks like it's having trouble with mySQL?  But, I was able to change the ROOT password and do other settings like for the Weather tab, etc.  So I *thought* I had the PHP part of it working.

Here are the errors:

[14-Aug-2010 12:27:31] PHP Warning:  PHP Startup: Unable to load dynamic library '\usr\local\php\extensions\php_pdo.dll' - The specified module could not be found.
 in Unknown on line 0
[14-Aug-2010 12:27:31] PHP Warning:  PHP Startup: Unable to load dynamic library '\usr\local\php\extensions\php_pdo_mysql.dll' - The specified module could not be found.
 in Unknown on line 0
[14-Aug-2010 12:27:31] PHP Warning:  PHP Startup: Unable to load dynamic library '\usr\local\php\extensions\php_pdo_sqlite.dll' - The specified module could not be found.
 in Unknown on line 0
[14-Aug-2010 12:27:31] PHP Warning:  PHP Startup: Unable to load dynamic library '\usr\local\php\extensions\php_mbstring.dll' - The specified module could not be found.
 in Unknown on line 0
[14-Aug-2010 12:27:31] PHP Warning:  PHP Startup: Unable to load dynamic library '\usr\local\php\extensions\php_mysqli.dll' - The specified module could not be found.
 in Unknown on line 0
[14-Aug-2010 12:27:31] PHP Warning:  PHP Startup: Unable to load dynamic library '\usr\local\php\extensions\php_pdo.dll' - The specified module could not be found.
 in Unknown on line 0
[14-Aug-2010 12:27:31] PHP Warning:  PHP Startup: Unable to load dynamic library '\usr\local\php\extensions\php_pdo_mysql.dll' - The specified module could not be found.
 in Unknown on line 0
[14-Aug-2010 12:27:31] PHP Warning:  PHP Startup: Unable to load dynamic library '\usr\local\php\extensions\php_pdo_sqlite.dll' - The specified module could not be found.
 in Unknown on line 0

I looked into these errors showing up in the PHP log.  It appears that the PHP.ini file was set to load these extensions, but I did not have them copied over into the php extensions folder.  I am currently not using PHP Data Objects (PDO) or mysqli for mysql database access so the functionality of the code should not have been compromised with these missing modules.  I have commented these modules out in the PHP.ini file so these errors should not show in the PHP error log.  I could have just added these modules to the PHP extensions folder and this would have also prevented the errors from showing, but in the interest of keeping the software package size low it was just easier to comment them out since they are not used yet anyway.
Logged
Dan Bemowski
Owner of PHP Web Scripting LLC
Programmer of RemoteWatch X10
User of any X10 products I can get my hands on.

shuggins

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 51
Re: My new software - RemoteWatch x10
« Reply #49 on: August 19, 2010, 10:59:01 AM »

Yea, figured it was something like that.  Looking forward to the update for sure!   :)
Logged

dbemowsk

  • Hero Member
  • *****
  • Helpful Post Rating: 21
  • Posts: 428
    • PHP Web Scripting
Re: My new software - RemoteWatch x10
« Reply #50 on: August 21, 2010, 06:54:54 PM »

Well, the latest release of the software, version 2.1.0 has been put up on the download page.  With all the testing I did on this release, I am HOPING that I caught all the errors. 

One thing that has been added on this release is the ability to select a template to use when creating a new user.  You will see 2 templates in the drop down list, but the only working template at the moment is the "tablet" template.  The fullscreen template right now needs some conversion to work, so if you select it, you will see errors.  I am going to work on that template for a future release, but due to the time it would take to get it working, I was unable to have it ready for this release.

As always, I welcome any feedback.
« Last Edit: October 24, 2010, 12:35:59 PM by dbemowsk »
Logged
Dan Bemowski
Owner of PHP Web Scripting LLC
Programmer of RemoteWatch X10
User of any X10 products I can get my hands on.

dbemowsk

  • Hero Member
  • *****
  • Helpful Post Rating: 21
  • Posts: 428
    • PHP Web Scripting
Re: My new software - RemoteWatch x10
« Reply #51 on: August 22, 2010, 01:02:32 AM »

One more thing to note is that your room, module and macro names should not contain any special characters such as "!@#$%^&*()?<>,./|{}\".  I just noticed that when I added my living room light macro which was named "Dim_lights_40%" that it caused the javascript used to place the modules to fail.  I will add code to correct this in a future release.  The code works fine when no special characters are used.

One other thing that I noticed when working with macros in the software is that the software uses a toggle setting with the modules which is what it tries to do with the macros.  This means that when you click on a macro icon it toggles from an off state to an on state or vice versa.  This means that if you have separate macros where one triggers on an HU codes on signal and another triggers on an HU codes off signal, pressing the macro button will alternately trigger the two macros as it toggles state.  Looking at my .ahx file I do not see a way to determine what signal (on or off) is supposed to trigger a given macro.  I will work on this, but be careful when adding macros to your floor plan layout.

Again, this is why the software is still in beta stage.
Logged
Dan Bemowski
Owner of PHP Web Scripting LLC
Programmer of RemoteWatch X10
User of any X10 products I can get my hands on.

shuggins

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 51
Re: My new software - RemoteWatch x10
« Reply #52 on: August 22, 2010, 05:00:29 PM »

Thanks for getting this new version out!

Uninstalled my version of RemoteWatch X10, and re-installed your newest version.  Was able to set up my floor plan fine, but when I tried to import my AHP .ahx file, I got this:

Warning: move_uploaded_file(C:\Program Files\ActiveHome Pro\328Kahala.ahx) [function.move-uploaded-file]: failed to open stream: No such file or directory in Z:\www\modules\floorplan\controller\floorplanController.php on line 195

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'Z:\tmp\php1.tmp' to 'C:\Program Files\ActiveHome Pro\328Kahala.ahx' in Z:\www\modules\floorplan\controller\floorplanController.php on line 195


 :-[

This is one I've never seen before.
Logged

Dan Lawrence

  • Hero Member
  • *****
  • Helpful Post Rating: 68
  • Posts: 3991
Re: My new software - RemoteWatch x10
« Reply #53 on: August 22, 2010, 06:59:37 PM »

That is weird, as .ahx files reside in C:/Program Files/ActiveHomePro.  Unless RemoteWatch x10 creates .ahx files of it's own which reside on (Z).
Logged
I don't SELL this stuff... BUT I sure do ENJOY using it!!!

dbemowsk

  • Hero Member
  • *****
  • Helpful Post Rating: 21
  • Posts: 428
    • PHP Web Scripting
Re: My new software - RemoteWatch x10
« Reply #54 on: August 23, 2010, 01:34:15 AM »

That is something new.  With the new version of RemoteWatch, I have it set up to look for any available .ahx files in the activehome pro folder and list them with a radio select buttons.  It does give you the option to upload a different .ahx file if you want, which is what I think you are doing.  When it uploads a file, it first stores it in a temp file and then moves and renames it.  You should not need to upload an .ahx file though if it is stored on the machine that you are running AHP from.  You should see a screen similar to this:

Under "ActiveHome .ahx files found" you should see a list of the .ahx files that it found on the machine.  Try selecting one of those.

I will look into the file upload error as soon as I can.
« Last Edit: October 24, 2010, 05:21:51 PM by dbemowsk »
Logged
Dan Bemowski
Owner of PHP Web Scripting LLC
Programmer of RemoteWatch X10
User of any X10 products I can get my hands on.

shuggins

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 51
Re: My new software - RemoteWatch x10
« Reply #55 on: August 23, 2010, 10:58:54 AM »

It doesn't find my .ahx, and I think it's cause I have it installed (Active Home Pro) on D:\, instead of C:\.  So , I must navigate to the .ahx file and then I got the error.
Logged

Dan Lawrence

  • Hero Member
  • *****
  • Helpful Post Rating: 68
  • Posts: 3991
Re: My new software - RemoteWatch x10
« Reply #56 on: August 23, 2010, 06:35:48 PM »

As I posted before: WEIRD!!!!!!   I presume your system has no Drive Z.  Thy uninstalling RemoteWatch x10 from C: and re-install it on D: where it can find the .ahx files as AHP is on D:
Logged
I don't SELL this stuff... BUT I sure do ENJOY using it!!!

shuggins

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 51
Re: My new software - RemoteWatch x10
« Reply #57 on: August 23, 2010, 08:38:49 PM »

Dan- thanks for the suggestion dbemowsk has privately replied to me for a suggestion- it's getting somewhat closer to working.  I will port a post-mortum when we get it all working so that it might help others.
Logged

dbemowsk

  • Hero Member
  • *****
  • Helpful Post Rating: 21
  • Posts: 428
    • PHP Web Scripting
Re: My new software - RemoteWatch x10
« Reply #58 on: August 24, 2010, 07:22:51 AM »

As I posted before: WEIRD!!!!!!   I presume your system has no Drive Z.  Thy uninstalling RemoteWatch x10 from C: and re-install it on D: where it can find the .ahx files as AHP is on D:

Not so weird.  The RemoteWatch web server maps a virtual drive "Z" that just points at the "c:\Program Files\RemoteWatch X10\udrive" folder.  Then, when programming, it is easier to call "z:\www\index.php" rather than "c:\Program Files\RemoteWatch X10\udrive\www.index.php".  Cuts down on the text in the logs too.
Logged
Dan Bemowski
Owner of PHP Web Scripting LLC
Programmer of RemoteWatch X10
User of any X10 products I can get my hands on.

kilo

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 9
Re: My new software - RemoteWatch x10
« Reply #59 on: October 11, 2010, 01:07:40 AM »

Ok Ok Ok.
Im coming into this game very late and just would like to know if there is a setup document to get this going?

Thanks all.

Kilo B:(
Logged
Pages: 1 2 3 [4] 5
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.