Search found 17 matches
- Mon Feb 11, 2013 5:25 pm
- Forum: Questions & Discussions Forum
- Topic: Remote connection to homeseer with Perl or PHP
- Replies: 29
- Views: 24545
Re: Remote connection to homeseer with Perl or PHP
Will pm you, thanks I am wondering that, HS changed something as I had it working on the demo system 6+ months ago straight out of the box and couldn't believe my luck, So went on the webdesign front end thinking the back end was a piece of cake!!! I would like to moce away from Homeseer but I haven...
- Mon Feb 11, 2013 11:10 am
- Forum: Questions & Discussions Forum
- Topic: Remote connection to homeseer with Perl or PHP
- Replies: 29
- Views: 24545
Re: Remote connection to homeseer with Perl or PHP
Could it be that the object doesn't disconnect from homeseer correctly?
Should I dispose of the object in someway at the end of the script?
thanks
Should I dispose of the object in someway at the end of the script?
thanks
- Mon Feb 11, 2013 7:55 am
- Forum: Questions & Discussions Forum
- Topic: Remote connection to homeseer with Perl or PHP
- Replies: 29
- Views: 24545
Re: Remote connection to homeseer with Perl or PHP
No difference works the first time then the same error.
- Sun Feb 10, 2013 9:43 am
- Forum: Questions & Discussions Forum
- Topic: Remote connection to homeseer with Perl or PHP
- Replies: 29
- Views: 24545
Re: Remote connection to homeseer with Perl or PHP
It seems if I reboot my machine start homeseer and go straight to my test page I can turn C8 on once and only once then the error returns
- Sun Feb 10, 2013 8:16 am
- Forum: Questions & Discussions Forum
- Topic: Remote connection to homeseer with Perl or PHP
- Replies: 29
- Views: 24545
Re: Remote connection to homeseer with Perl or PHP
I have just created a little test app in vb6 and it worked straight out of the bag?
I must have some security setting different in the php.ini but no idea what any ideas, please?
thanks
I must have some security setting different in the php.ini but no idea what any ideas, please?
thanks
- Sun Feb 10, 2013 7:59 am
- Forum: Questions & Discussions Forum
- Topic: Remote connection to homeseer with Perl or PHP
- Replies: 29
- Views: 24545
Re: Remote connection to homeseer with Perl or PHP
I am wondering if a path needs to be set????
at the moment I have copied the files to c:\xampp\php
does php.ini need an alteration to include that or a path setting to c:\programfiles\homeseer?
whicj I realise is less than ideal in the wild but would prove a point for testing?
thanks
at the moment I have copied the files to c:\xampp\php
does php.ini need an alteration to include that or a path setting to c:\programfiles\homeseer?
whicj I realise is less than ideal in the wild but would prove a point for testing?
thanks
- Sun Feb 10, 2013 12:42 am
- Forum: Questions & Discussions Forum
- Topic: Remote connection to homeseer with Perl or PHP
- Replies: 29
- Views: 24545
Re: Remote connection to homeseer with Perl or PHP
Hi I have copied the homeseer2.dll and the other 2 files into the php.exe folder. I have even set everything up on my other laptop one running xp the other vista 64bit, same error on both although the second machine vista worked once and only once. does anything need altering in php.ini?? I have als...
- Thu Feb 07, 2013 10:45 pm
- Forum: Questions & Discussions Forum
- Topic: Remote connection to homeseer with Perl or PHP
- Replies: 29
- Views: 24545
Re: Remote connection to homeseer with Perl or PHP
getting error
Call to a member function Transmit() on a non-object in D:\xampp\htdocs\HsTestControl\homeseer.php on line 8
any ideas??
Call to a member function Transmit() on a non-object in D:\xampp\htdocs\HsTestControl\homeseer.php on line 8
any ideas??
- Wed Feb 06, 2013 7:39 am
- Forum: Questions & Discussions Forum
- Topic: Remote connection to homeseer with Perl or PHP
- Replies: 29
- Views: 24545
Re: Remote connection to homeseer with Perl or PHP
Hi here is my code many thanks
<?php
$hs=new COM("Homeseer2.application");
$hs->SetHost("localhost");
$hs->connect("guest","guest");
$hs->hs->Transmit("C8","on",100,0,false,false);
echo 'processed';
?>
<?php
$hs=new COM("Homeseer2.application");
$hs->SetHost("localhost");
$hs->connect("guest","guest");
$hs->hs->Transmit("C8","on",100,0,false,false);
echo 'processed';
?>
- Tue Feb 05, 2013 8:28 pm
- Forum: Questions & Discussions Forum
- Topic: Remote connection to homeseer with Perl or PHP
- Replies: 29
- Views: 24545
Re: Remote connection to homeseer with Perl or PHP
have altered my code so it says $hs->Transmit("c8", "On", 100,0,false, true); and I no longer get the error $class error. now I get the error Fatal Error Call to undefined method com::Transmit() Checking the homeseer script help and the earlier messages this method exists. What e...
- Tue Feb 05, 2013 12:00 am
- Forum: Questions & Discussions Forum
- Topic: Remote connection to homeseer with Perl or PHP
- Replies: 29
- Views: 24545
Re: Remote connection to homeseer with Perl or PHP
so the line $class->hs->Transmit("c8", "On", 100,0,false, true); becomes $hs->hs->Transmit("c8", "On", 100,0,false, true); or $hs->Transmit("c8", "On", 100,0,false, true); the second one looks correct but the first swops $class for $hs?? th...
- Mon Feb 04, 2013 2:46 pm
- Forum: Questions & Discussions Forum
- Topic: Remote connection to homeseer with Perl or PHP
- Replies: 29
- Views: 24545
Re: Remote connection to homeseer with Perl or PHP
HI am getting an error saying the $class can't be used like that can't remember exact syntax as typing at work.
Did a bit of digging and the code is valid for php4 not version 5 and I am running 5(just my luck), could anyone help how I make it work in version 5??
thanks for all help.
Did a bit of digging and the code is valid for php4 not version 5 and I am running 5(just my luck), could anyone help how I make it work in version 5??
thanks for all help.
- Mon Feb 04, 2013 9:45 am
- Forum: Questions & Discussions Forum
- Topic: Remote connection to homeseer with Perl or PHP
- Replies: 29
- Views: 24545
Re: Remote connection to homeseer with Perl or PHP
Did some research on my error and it seems you can't use $class-> directly in PHP5 you can in version 4, I am running version 5. What changes do I need to make to get this to work??
thanks for all help
thanks for all help
- Sun Feb 03, 2013 10:38 pm
- Forum: Questions & Discussions Forum
- Topic: Remote connection to homeseer with Perl or PHP
- Replies: 29
- Views: 24545
Re: Remote connection to homeseer with Perl or PHP
Hi trying your example and getting the message FATAL error. Using $this when not in object context....... on line 8
I can't see any difference between your code and mine do I need to change anything in php.ini??
thanks
I can't see any difference between your code and mine do I need to change anything in php.ini??
thanks
- Fri Feb 01, 2013 8:57 pm
- Forum: Questions & Discussions Forum
- Topic: Remote connection to homeseer with Perl or PHP
- Replies: 29
- Views: 24545
Re: Remote connection to homeseer with Perl or PHP
I think that PHP is connecting to homeseer I don't get an error on that part but I get the following error Call to undefined method com::SetDeviceStatus() here is the code I use and I think it's as simple as it can get $hs = new COM("homeseer.clsString") or die("failed to connect!!&qu...