Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome General
 PowerHome Messageboard : PowerHome General
Subject Topic: PowerHome Beta 2.1.2 Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
grif091
Super User
Super User


Joined: March 26 2008
Location: United States
Online Status: Offline
Posts: 1357
Posted: April 17 2011 at 14:14 | IP Logged Quote grif091

Yes but cumbersome.

You can look at the battery level in the Insteon Raw Log as the Extended command is actually working. The data returned by the Motion Sensor is just not being returned to the application.   Put the Motion Sensor into linking mode and issue

ph_insteonwithretext("MOTION SENSOR 2",46,0,"00 00 00")

The Extended response data is in the Insteon Raw Log.

RECEIVEINSTEONEXT=13 F2 57 0F 44 DC 17 2E 00 00 01 FF 00 80 00 00 86 0E 00 5C 5B 00 00

The 5B in the above returned data is battery level. A value of 0x5A (dec 90) or above is a new/strong battery. I can’t find my notes from the battery test. From memory a level of 0x32 (dec 50) is considered dead by HouseLinc2 (from memory).

I posted a Macro which will display that information along with setting all the programmable options. The options can be set now with the Macro but battery level and jumper settings requires the ph_insteonwithretext function which has a bug. It is not returning the data to the macro. Dave indicates the bug will be resolved in the next drop.


__________________
Lee G
Back to Top View grif091's Profile Search for other posts by grif091
 
nick7920
Senior Member
Senior Member


Joined: March 04 2008
Location: United States
Online Status: Offline
Posts: 193
Posted: April 17 2011 at 17:06 | IP Logged Quote nick7920

Thanks , can I put the Motion Sensor into linking mode from Insteon explorer.
Back to Top View nick7920's Profile Search for other posts by nick7920
 
grif091
Super User
Super User


Joined: March 26 2008
Location: United States
Online Status: Offline
Posts: 1357
Posted: April 17 2011 at 18:38 | IP Logged Quote grif091

Unfortunately no. The motion sensor turns the RF circuitry Off after a very short time (sleeps) so it is not capable of responding to commands from the outside.

There is a small window of time where immediately after the motion sensor sends an On command (senses motion) the RF circuitry remains powered. If you are VERY QUICK you can send the motion sensor a command immediately after it sends a motion On. Unless the motion sensor is at the keyboard this takes two people. Someone to walk past the motion sensor to generate a Motion On message and someone to issue the ph_insteonwithretext() function. The Insteon Raw Log can be watched for the motion On and the ph function executed from a Formula Builder window that already has the ph_insteonwithretext function coded and ready for a Verify. Has to be pretty quick and can be done only after motion On, not motion Off.

HouseLinc2 looks for motion On to update motion sensors and triggerlincs. That macro I referenced does this by being invoked from a Trigger that fires with a Motion On. Until PH2 fixes the bug the macro cannot be used to retrieve the battery level because the Extended data is not returned to the macro. There are old world peek/poke commands that can (and are) used by the macro to read and update the motion sensor options but the new extended with ret is needed to retrieve the battery and jumper settings.   


__________________
Lee G
Back to Top View grif091's Profile Search for other posts by grif091
 
grif091
Super User
Super User


Joined: March 26 2008
Location: United States
Online Status: Offline
Posts: 1357
Posted: April 18 2011 at 10:49 | IP Logged Quote grif091

To avoid the timing problem and make it a single person activity, define a Trigger that fires on Motion On. The Trigger invokes a Macro which issues the ph_insteonwithretext in the earlier post to obtain the motion sensor information including battery level. The data will still have to be taken from the Insteon Raw Log but this approach eliminates the use of two people or removing the motion sensor from its installed location.   

__________________
Lee G
Back to Top View grif091's Profile Search for other posts by grif091
 
kev21986
Senior Member
Senior Member
Avatar

Joined: April 04 2007
Location: United States
Online Status: Offline
Posts: 199
Posted: April 23 2011 at 09:30 | IP Logged Quote kev21986

Is there going to be an official installer for 2.1.4 or is 2.1.5 coming? I still
can't get 2.1.4 to run on Windows 7 x64.

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

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: April 23 2011 at 09:51 | IP Logged Quote BeachBum

I’m running Win7 x64 what’s your problem?

__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
kev21986
Senior Member
Senior Member
Avatar

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

I get an error message saying "Can't start NTPort Library driver." when
installing 2.1.2. It tells me that that install failed but PH seems to have been
installed. Everything works except the Socket Server and the Web Server.
When I copy 2.1.4 on top of 2.1.2 everything still works but still no Socket
Server or Web Server. I use PH from both the WebUI and Socket Server daily
so 2.1.4 is not usable for me.

I did some testing on an old XP box and it worked great considering the
hardware it was running on.

http://www.power-home.com/forum/forum_posts.asp?TID=2743&PN= 2

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

Joined: March 06 2009
Location: United States
Online Status: Offline
Posts: 212
Posted: April 23 2011 at 11:00 | IP Logged Quote syonker

My Powerhome is running on XP as well because at the time that was what Dave recommended. Someday I'll move it up to another platform (probably a VM this time), but for now am sticking with what's been working all along.

-S

__________________
"I will consider myself having succeeded when my house becomes sentient and attempts to kill me."

><(((º>`·.¸¸.·´¯`·.¸><(((º>¸.

·´¯`·.¸. , . ><(((º>`·.¸¸.·´¯`·.¸><(((º>
Back to Top View syonker's Profile Search for other posts by syonker Visit syonker's Homepage
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: April 23 2011 at 11:06 | IP Logged Quote BeachBum

I use SServer but if you installed in the default directory c:\powerhome go to the INI and check ALL paths. That may be your area that is causing the problem.

__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
kev21986
Senior Member
Senior Member
Avatar

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

Did it install without errors?

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

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: April 24 2011 at 09:43 | IP Logged Quote BeachBum

Mine was a clean install but some paths were wrong. I have it on a Win 7 32 and 64 system plus one XP 32.

__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: April 29 2011 at 12:55 | IP Logged Quote dhoward

Kevin,

Beta 2.1.5 will have a full installer (the database is changing).

Concerning your issues with 2.1.2 - 2.1.4...the NTPort install error is probably due to UAC. It's not critical because the NTPort drivers are only used by the K8000 controller. However, it probably messed with the registration process of the other activex controls and dll's which is probably the problem with your web and socket servers. You should try manually registering these controls using the info below:

The Winsock control did not register for some reason. This control should have been installed into your system32 directory and the filename is cswskax6.ocx. You can manually register it with this command:

regsvr32 "c:\windows\system32\cswskax6.ocx"

If the one control didnt register, its likely that the rest of them didnt register either. You should register these controls as well:

cshtpax6.ocx
csicmax6.ocx
csmsgax6.ocx
csrasax6.ocx
csmtpax6.ocx
cswsvax6.ocx

Because the install location changed from c:\program files\powerhome to c:\powerhome, the paths will be wrong for the webserver as well as anywhere else paths may have been used. New users won't have previous paths but upgraders will have this issue. Somewhere in this thread Ive posted a SQL script that should help some of this cleanup.

Hope this helps,

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

Joined: April 04 2007
Location: United States
Online Status: Offline
Posts: 199
Posted: May 01 2011 at 09:08 | IP Logged Quote kev21986

Well the ocx files weren't even in the System32 folder. I had to extract them
from the msi and manually copy them to the System32 folder and register
them.

Everything seems to be working now.

Thanks for the help.

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

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: May 01 2011 at 22:57 | IP Logged Quote BeachBum

There is a potential problem if you build a macro on 2.14 and try to load it on 2.1b. Due to the added comments column it will not be downward compatible. This should not be a problem unless you are supplying macros for others to use at a down level PH. If you have a concern I wrote a little macro that will make it work. If there is a request I will post it

__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
cmhardwick
Senior Member
Senior Member
Avatar

Joined: July 08 2006
Location: United States
Online Status: Offline
Posts: 290
Posted: August 05 2011 at 09:46 | IP Logged Quote cmhardwick

Just wondering how 2.1.5 is coming and, since 2.1b is running great for me currently, should I wait for that or just install 2.1.4?

The main thing that the new version would add for me would be the ability to put it in a VMWare virtual machine with a tcp/ip serial device for connection to the PLM, so i could eliminate a physical machine in my house. Of course, direct control of the thermostats would be nice as well, though the scripts i'm using currently work fine too.

thanks as always DAVE!!

Edited by cmhardwick - August 05 2011 at 09:49


__________________
Cicero, Enjoying automation!
Back to Top View cmhardwick's Profile Search for other posts by cmhardwick Visit cmhardwick's Homepage
 
reighnman
Newbie
Newbie


Joined: October 04 2010
Online Status: Offline
Posts: 26
Posted: August 06 2011 at 06:59 | IP Logged Quote reighnman

I am excited for 2.1.5 and curious about its estimated release date. I have been having problems with the voice recoginition on 2.1.4. Sometimes it works sometimes it won't. But I use it all the time (or at least when it working). After enough restarts it eventually will. However then I can't do a reinitialization without loosing the VR again. I like the new Printer port generic controler and being able to edit a timed event so I don't really want to go back. Just excited for the new version, hope all the bugs bunnies are worked out. Keep up the great work.
Back to Top View reighnman's Profile Search for other posts by reighnman
 
jeffw_00
Super User
Super User


Joined: June 30 2007
Online Status: Offline
Posts: 929
Posted: August 07 2011 at 13:59 | IP Logged Quote jeffw_00

is 2.1.5 a near-term thing? I haven't upgraded yet and am wondering if I should wait.
Back to Top View jeffw_00's Profile Search for other posts by jeffw_00
 
jeffw_00
Super User
Super User


Joined: June 30 2007
Online Status: Offline
Posts: 929
Posted: August 24 2011 at 15:08 | IP Logged Quote jeffw_00

no answer? 8-{
/j
Back to Top View jeffw_00's Profile Search for other posts by jeffw_00
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: August 25 2011 at 19:03 | IP Logged Quote dhoward

2.1.5 is progressing but its still a little ways off. I
would estimate a couple of months. It will have a full
installer since it will have database changes.

Concerning the VR, nothing has changed (VR-wise) between
2.1.4 and 2.1b but I will be including enhanced error
tracking so that whatever the problem is with VR will now
be able to be pinpointed so it can be fixed.

I would probably go ahead and upgrade to 2.1.4. Its
fairly easy (the 2.1.2 is a full installer) and the
upgrade path (if the recommended upgrade instructions are
followed) leaves the previous version so you could go
back if you like. 2.1.4 has alot of bug fixes for 2.1b
and I feel its a more stable release. There may be a few
new Insteon related nits but the underlying Insteon
engine has been rewritten and I definitely feel its
superior.

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


Joined: June 30 2007
Online Status: Offline
Posts: 929
Posted: August 25 2011 at 19:35 | IP Logged Quote jeffw_00

thanks Dave
Back to Top View jeffw_00's Profile Search for other posts by jeffw_00
 

<< Prev Page of 13 Next >>
  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