Author |
|
mike0999 Groupie
Joined: June 14 2009 Location: United States
Online Status: Offline Posts: 56
|
Posted: November 22 2011 at 16:02 | IP Logged
|
|
|
Hmm. Reinstall of Powerhome didn't fix it. I have Vista 64 bit. I recently reinstalled OS. Now that you mention that it is working for you, I actually am certain that I also had the web server working fine when using Powerhome 2.1.4 before I reinstalled my Vista OS.
I believe I am using the same database and config file from when I had it working, but not certain. Obviously if it is working for you and it was working for me, I should be able to make it work somehow . . . .
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: November 22 2011 at 16:46 | IP Logged
|
|
|
Mike,
Just wondering if you installed to the new default location of c:\powerhome vs the old default location of c:\program files\powerhome. If the latter, I would definitely reinstall into c:\powerhome.
Assuming that is not the problem, it sounds as some of the activex controls did not register properly. Check the second post on page 3 of this thread (http://power-home.com/forum/forum_posts.asp?TID=2723&KW=csw skax6.ocx&PN=0&TPN=3) for instructions on registering the activex controls that affect the webserver.
Hope this helps,
Dave.
|
Back to Top |
|
|
mike0999 Groupie
Joined: June 14 2009 Location: United States
Online Status: Offline Posts: 56
|
Posted: November 22 2011 at 18:17 | IP Logged
|
|
|
Thanks Dave. Yes, I installed in c:\powerhome. I'll check the posts that you mentioned.
|
Back to Top |
|
|
mike0999 Groupie
Joined: June 14 2009 Location: United States
Online Status: Offline Posts: 56
|
Posted: November 22 2011 at 18:57 | IP Logged
|
|
|
Odd. I tried to register the first file, as shown on page 3 of this thread, and the file actually does not exist in my system32 folder. I couldn't find the file anywhere else on my system either. Can I copy it from somewhere?
Given that I couldn't find the file, I again tried uninstalling Powerhome fully and then reinstalling and I have the same problem.
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: December 04 2011 at 21:39 | IP Logged
|
|
|
Mike,
Sorry to take so long getting back to you.
Im kind of concerned why none of the files even copied to the System32 directory. It makes me wonder what else may not have installed properly. The only thing I can think of at this point is to try and reinstall by right click the install file and select "Run as Administrator".
If it still fails and you want to try, Ive uploaded a zip file of the Catalyst controls at http:\\power-home.com\download\catalyst.zip. You can try unzipping these files into your system32 directory and register them.
Let me know how it goes.
Dave.
|
Back to Top |
|
|
krommetje Super User
Joined: December 29 2004 Location: Netherlands
Online Status: Offline Posts: 695
|
Posted: December 06 2011 at 00:58 | IP Logged
|
|
|
Just a question guys,
I run windows 2003-server and cannot install in c:\powerhome.
Can I install 2.12 into the old directorystructure without problems?
Peter
|
Back to Top |
|
|
BeachBum Super User
Joined: April 11 2007 Location: United States
Online Status: Offline Posts: 1880
|
Posted: December 06 2011 at 07:24 | IP Logged
|
|
|
Peter
You should have no problem at all. The problem occurs in Vista and Win 7 because of the way the OS moves the database around. You don’t know where the real copy is. The work around in that case is to run as administrator, turn off UAC and run in compatibility mode.
Re-pete
__________________ Pete - X10 Oldie
|
Back to Top |
|
|
mike0999 Groupie
Joined: June 14 2009 Location: United States
Online Status: Offline Posts: 56
|
Posted: December 08 2011 at 22:41 | IP Logged
|
|
|
Thanks Dave. No problem. Looks like the hard drive on which my system was installed crashed. Nothing lost, but I'm going to need to reinstall the system on a new hard drive. I'll be back in touch to let you know how this worked out when I have a chance to do that.
|
Back to Top |
|
|
scottmi1 Groupie
Joined: July 11 2006 Location: United States
Online Status: Offline Posts: 60
|
Posted: December 11 2011 at 08:56 | IP Logged
|
|
|
Quote:
Rewrote ph_sendsmtpemail and ph_sendsmtpemailfile functions to use a new SMTP email control. Both functions now operate in a separate thread and performance is vastly improved. |
|
|
Dave,
Do the new mail controls now support TSL/SSL? It would be great to be able to finally use Gmail.
Thanks,
Mike..
|
Back to Top |
|
|
BwiggleS Newbie
Joined: October 26 2009 Location: Canada
Online Status: Offline Posts: 35
|
Posted: January 25 2012 at 09:11 | IP Logged
|
|
|
dhoward wrote:
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.
|
|
|
Dave, I cannot find those files. Another post noted they had to extract them from a msi, but I don't know where to get them. I am running Win 7 ultimate and it is a clean install, just upgraded the motherboard after the home automation pc died.
I did a search and found csicmax6.ocx under c:\windows\syswow64. Can I assume these are the same files?
Brad
*edit my install was always c:\powerhome even during 2.1b so the web server shouldn't be having any issues.
Edited by BwiggleS - January 25 2012 at 09:15
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: January 25 2012 at 12:24 | IP Logged
|
|
|
Brad,
Ive created a zip with all of the missing controls that you can get here: .http:\\www.power-home.com\download\catalyst.zip.
Let me know how it goes.
Dave.
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: January 25 2012 at 12:26 | IP Logged
|
|
|
Mike,
Concerning your question about the mail controls....I would say "yes" (although I don't remember actually trying to connect to Google). The new smtp mailer functions use the Catalyst controls which include support for SSL and TLS. Just be sure and use the ph_sendsmtpemail1 function.
Dave.
|
Back to Top |
|
|
BwiggleS Newbie
Joined: October 26 2009 Location: Canada
Online Status: Offline Posts: 35
|
Posted: January 25 2012 at 22:54 | IP Logged
|
|
|
Hi Dave,
Thanks for those files, I copied them in and manually registered them and all is working fine. The only thing I haven't tried is the web access from outside the LAN, but I can test that tomorrow.
Thanks
Brad
|
Back to Top |
|
|
mike0999 Groupie
Joined: June 14 2009 Location: United States
Online Status: Offline Posts: 56
|
Posted: January 26 2012 at 01:13 | IP Logged
|
|
|
Hi Dave,
I finally confirmed that reinstalling with Administrator privileges appears to have resolved the web server issue for me. I haven't confirmed that the files are present where you described. But rather simply set up the web server after reinstalling and it appears to be working fine.
If you want me to check the files, let me know. Happy to do it.
Regards,
Mike
|
Back to Top |
|
|
syonker Senior Member
Joined: March 06 2009 Location: United States
Online Status: Offline Posts: 212
|
Posted: February 06 2012 at 17:42 | IP Logged
|
|
|
Ok, I finally came toward the light and upgraded to v2.1.4b. BEAUTIFUL piece of work, Dave! I am in love all over again! I know I speak for lots of people when I say I feel like I'm ripping you off for all you give us in PowerHome. Wowed again.
Now my question - related to ph_settstat. So using ph_settstat("THERMOSTAT","heatsp",68) works wonderfully.
When in "heatsp" mode, running a "coolsp" function does nothing. It returns the supplied temp in verify, but nothing changes on the thermostat. For example, if I just sent in the command above, but then send in ph_settstat("THERMOSTAT","coolsp",75)....the function/macro runs fine....but no change to the thermostat. I'm sure I'm missing something simple here.
....also I gotta ask...what enumeration do you use for turning the thermostat off? ph_settstat("THERMOSTAT","off",0) just produces a return of -1 and no results.
Also, I'm planning to put in an outdoor-temp-controlled-humidity algorithm (my thermostat supports that and is hooked to central humidity) and I was wondering if the correct syntax would be for setting the humidity? Is it something like, ph_settstat("THERMOSTAT","humidity",20) for setting the humidity to 20%? I would assume the thermostat would then (if necessary) engage the humidifier and fan as it would if I changed it on the thermostat itself....?
Thanks in advance....this is so fun!
-S
ph_setstat("THERMOSTAT",
__________________ "I will consider myself having succeeded when my house becomes sentient and attempts to kill me."
><(((º>`·.¸¸.·´¯`·.¸><(((º>¸.
·´¯`·.¸. , . ><(((º>`·.¸¸.·´¯`·.¸><(((º>
|
Back to Top |
|
|
GadgetGuy Super User
Joined: June 01 2008 Location: United States
Online Status: Offline Posts: 942
|
Posted: February 06 2012 at 17:47 | IP Logged
|
|
|
Snoker -
Go to this link from a prior post I did on Advanced Care & Feeding of Insteon Thermostats and see if it gives you some of the details you are looking for . .
http://www.power-home.com/forum/forum_posts.asp?TID=2097&KW= gadgetGuy
__________________ Ken B - Live every day like it's your last. Eventually, you'll get it right!
|
Back to Top |
|
|
syonker Senior Member
Joined: March 06 2009 Location: United States
Online Status: Offline Posts: 212
|
Posted: February 06 2012 at 18:47 | IP Logged
|
|
|
Hi GG,
Ok, I'm using all the new 2.1.4b "Insteon Thermostat" functions...is what you're saying that the syntax and enumerations of the ph_gettstat, and ph_settstat the same, or is this a different and new form of mad science I'm using?
-S
__________________ "I will consider myself having succeeded when my house becomes sentient and attempts to kill me."
><(((º>`·.¸¸.·´¯`·.¸><(((º>¸.
·´¯`·.¸. , . ><(((º>`·.¸¸.·´¯`·.¸><(((º>
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: February 06 2012 at 20:07 | IP Logged
|
|
|
syonker,
The ph_settstat("THERMOSTAT,"coolsp",75) only sets the cooling setpoint...it won't actually change the mode to cooling if you're in a heating mode or off, etc. You need to use ph_settstat("THERMOSTAT","mode",2) to change to cooling mode. The valid values for the 3rd parameter when using "mode" are:
0 - Off
1 - Heat
2 - Cool
3 - Auto
4 - Fan
5 - Program
6 - Program Heat
7 - Program Cool
This should also answer how to turn the AC off .
Unfortunately, there is no humidity control . This is a function of the Insteon adaptor...the protocol just doesnt support it. You can "get" the humidity using the ph_gettstat command but there is no provision in the Insteon protocol to "set" the humidity. Even if the thermostat itself supports, the Insteon adaptor doesnt (at least in my documentation).
Hope this helps,
Dave.
|
Back to Top |
|
|
syonker Senior Member
Joined: March 06 2009 Location: United States
Online Status: Offline Posts: 212
|
Posted: February 06 2012 at 20:38 | IP Logged
|
|
|
Ah yes. That did it Dave - I get it now, ph_settstat is a very much multi-faceted command. Wasn't thinking in terms of "modes" having to change separately....but that means you can also get the cool and hot setpoint if you know the mode. So I assume I could do a ph_gettstat("THERMOSTAT","mode",1) and it would also return one of the above, then make some decisions based on the mode (let's say the above returns "1"/Heat) and do a ph_gettstat("THERMOSTAT","heatsp",1) and it would return (for example) 70 if that happened to be the current heat set point....? And then run ph_gettstat("THERMOSTAT","temp",1) should return the actual temperature "reading" at the thermostat (rather than the set point"....am I on the right track? Fair to assume that "Auto" would be able to return both a coolsp and heatsp? Program modes sound like they could be potentially tricky (although frankly I'm going to let PH manage this kind of thing and ignore them on the thermostat itself).
Humidity thing is a MAJOR bummer. Because of the DRASTIC temperature changes from day to night here in the desert, it would be HUGELY useful to be able to read the outside temp, then change the humidity settings based on that temp, and whether the A/C gets turned on (A new forumla: HUMIDITY + A_C_CONDENSOR = ADDITIONAL_HOUSE_FREEZER + INDOOR STREAM ). I will say that I should have the "newest" revision of the Insteon thermostat controller with the recent "switcheroo" that SmartHome did regarding an older/potentially defective controller (see this thread: http://www.power-home.com/forum/forum_posts.asp?TID=3005&PN= 1) Maybe I'll hit them up on a chat window tomorrow and ask them if it provides any humidity control options that are as of yet undocumented....or at least hint STRONGLY that this should be implemented. Would be MUCH nicer to work off of a table rather than find an unpleasant puddle behind the blinds in the morning.
Shameless plug: Highly recommend Skip's upcoming Android PowerHome Connector App. He and I have been working pretty hard to flesh it out and debug it (he's doing all the work - I'm just repeatedly installing it and finding new and creative ways to break it). It's really coming together nicely.
Loving the new version - thanks for the recommendation, and the help getting it installed (yeah, I know).
Ciao for now...
-S
__________________ "I will consider myself having succeeded when my house becomes sentient and attempts to kill me."
><(((º>`·.¸¸.·´¯`·.¸><(((º>¸.
·´¯`·.¸. , . ><(((º>`·.¸¸.·´¯`·.¸><(((º>
|
Back to Top |
|
|
GadgetGuy Super User
Joined: June 01 2008 Location: United States
Online Status: Offline Posts: 942
|
Posted: February 07 2012 at 07:41 | IP Logged
|
|
|
Snoker -
Sorry about the confusion re the Stat. I wasn't really thinking about what you were doing, and just quickly trying to give you some feedback. My bad
I can help with the Humidity, though.
I had the same situation and now control my humidity using a EXIO2X4 SimpleHomeNet I/O controller from Smarthome. I wired the power to my humidifier thru the EZIO output contacts so that I can then turn the humidifier on or off.
Then reading the Humidity from the thermostat (every 15 minutes with a PH Timed Event) I can determine whether to turn the humidifer on or off to adjust the home's humidity level. It works like a charm.
Hope this helps and makes up for my confusing post (which BTW still works OK, you just don't need it with the new enbedded stat commands in PH).
__________________ Ken B - Live every day like it's your last. Eventually, you'll get it right!
|
Back to Top |
|
|