Please login or register.

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

Author Topic: PC Companion Weather Issue  (Read 85596 times)

jjsalobird

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 51
Re: PC Companion Weather Issue
« Reply #15 on: January 19, 2010, 10:45:23 PM »

Any one else seeing the same problems again today.  Have not gotten any weather, temp information since this morning.  In program settings I can have it fetch the forecast succesfully, but clicking the weather button on upper right of main window just gives a N/A as does clicking it in the weather triggers section.  Any ideas?
Logged

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 283
  • Posts: 10509
  • I don't work for X10, I use it successfuly!
Re: PC Companion Weather Issue
« Reply #16 on: January 20, 2010, 03:46:48 PM »

 B:( they did it to me again B:(  ::) :'
Time to cut that weather site out of PCC!
Looks like Its back to the drawing board! >*<
Using the weather watcher live software I mentioned earlier, I can generate a text file identical to the temperature.txt file that PCC generates to check the temperature.  If PCC is indeed using that file to check it's triggered temp events, is their an easy way for PCC to use a file generated in a different manner, as long as it has the same name.  Right now it seems that if I copy my new file into PCC, it just overwrites it when it does its check.
Looks like that may be an option to add.  Currently PCC generates that text file after it fetches the info I'll see about adding the option to read from it instead of reading from the net. also I'll add the option not to generate the txt so as not to over write it.
 >!
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

jjsalobird

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 51
Re: PC Companion Weather Issue
« Reply #17 on: January 20, 2010, 05:00:52 PM »

I have attached for you two of the files from the weather watcher live program.  These are examples of what it generates.  The [TEMP] variable in the program is static, so it outputs 43.0 instead of 43 degrees.  Also, the one called Temperature.txt is the html version which puts the degree symbol in. I can't get rid of that.  You can name the files WWL generates, anything you want.  In either case the only number in the file is the temperature.  The Temp.txt file puts a new line in the log file everytime it checks the temperature, anywhere from real time to every 2 or 3 hours.  I'd take a look at the WWL program, it seems to do a lot of the front end work for you. -:)
Logged

jjsalobird

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 51
Re: PC Companion Weather Issue
« Reply #18 on: January 20, 2010, 05:45:23 PM »

If PCC only reads the numbers in the temperature file, and does not write one, then those wanting to use http://www.singerscreations.com/Weather-Watcher-Live.asp, Weather Watcher Live, could do so.  Better yet, if PCC would only read the last line of the file, then   ;D idiots like me wouldn't have to do anything!!  Thanks again.  :)% #:) :)+
Logged

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 283
  • Posts: 10509
  • I don't work for X10, I use it successfuly!
Re: PC Companion Weather Issue
« Reply #19 on: January 20, 2010, 06:40:56 PM »

I should  ::) be able to  get PCC to read just the number from either file.   :'
Pulling from the Temperature.txt file would be the easiest to code. ::) :'
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

jjsalobird

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 51
Re: PC Companion Weather Issue
« Reply #20 on: January 21, 2010, 11:42:41 PM »

Timetable? :D
Logged

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 283
  • Posts: 10509
  • I don't work for X10, I use it successfuly!
Re: PC Companion Weather Issue
« Reply #21 on: January 22, 2010, 08:58:50 AM »

Timetable? :D
How does this evening sound? ??? ;)
Just cleaning up some lose ends. ;)
I've removed the offending weather site from PCCs code. The temperature and forecast now come from the same site.
I've added code so PCC can read the temperature.txt file in the log folder which it normally writes.
If the option is selected to use a thirdparty source PCC will not write to that file.
You'll need to have the thirdparty software write it at regular intervals in order to have the temperature triggers work.
Also I've received many requests for weather support for places other then North America.
Using Yahoo weather it is now possible. Temperature triggers aren't available from this info yet!  ::) :'
I may not get a post  up stating that the new update is available so check using the download link in PCC or PCCs web site.
 >!
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

jjsalobird

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 51
Re: PC Companion Weather Issue
« Reply #22 on: January 22, 2010, 09:57:47 AM »

Great, hopefully you can close this chapter for a while! ;)
Logged

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 283
  • Posts: 10509
  • I don't work for X10, I use it successfuly!
Re: PC Companion Weather Issue
« Reply #23 on: January 22, 2010, 10:40:03 AM »

 rofl yes!
Although I constantly get weather related requests.
I'm also looking at adding a Weather Bug weather link as a back up!
I hate relying on one site for info. ::) :'
It is always handy for users to have a back up in case this happens again!
 >!
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

jjsalobird

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 51
Re: PC Companion Weather Issue
« Reply #24 on: January 22, 2010, 11:01:15 AM »

Well thanks again.  The fact that one can use a user generated temperature file now, will enable a person to at least get by in cases where PCC cannot get temp info.  Many of us know enough to be dangerous and can automate the creation of text files by reading info from other text or html files, stripping the needed data and creating a format that PCC can read.  In fact, I had done this, with a couple of freeware programs before I stumbled onto WWL, but then realized that PCC always wrote over the temperature file anyway.  Thanks again.
Logged

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 283
  • Posts: 10509
  • I don't work for X10, I use it successfuly!
Re: PC Companion Weather Issue
« Reply #25 on: January 22, 2010, 04:38:19 PM »

I just realize  -:)
If one could create a CSV file from a thirdparty software then it would be possible to use the personal weather station plug-in.
You could have more weather based triggers not just temperature but wind, humidity, rain....  !   ;)
Of coarse it doesn't strip text so any values you planed on using would have to be numerical only. ::) :'
 >!
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

jjsalobird

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 51
Re: PC Companion Weather Issue
« Reply #26 on: January 23, 2010, 07:23:43 AM »

Just notice on the latest build that anytime I use my own temperature.txt file, and try to put in a trigger that says, "More than" a certain temperature (does not matter what number I use), that with temperature parameters checked, the program always tells me "Temperature did not match 3rd condition parameter  :( (or first,second, fourth, etc, depending upon where I actually put it. This just happens with "More than" 

Right now I have 3 parameters: 1st is less than 32, second is less than 22 and the 3rd is more than 32.
Logged

jjsalobird

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 51
Re: PC Companion Weather Issue
« Reply #27 on: January 23, 2010, 07:32:14 AM »

BTW, that behaviour (the temperature parameter failure on "More than" temps), happens on my Windows 2000 machine as well as on my Windows XP machine.  I don't use it on the Vista machine.
Logged

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 283
  • Posts: 10509
  • I don't work for X10, I use it successfuly!
Re: PC Companion Weather Issue
« Reply #28 on: January 23, 2010, 08:11:44 AM »

The temperature paramiter checked basically is a error checking tool it isn't meant to be left on.
In your case if the temperature was less then 22 you will always get the message did not match parameter for the more then temp. If your temperature was more the 32 you should get paramiter didn't match for the other two settings.
The temperature paramiter check was originaly left in as an error. :-[
One user asked that this option be left in for checking purposes other wise it wouldn't be there.

Hope that helps.
 >!
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

jjsalobird

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 51
Re: PC Companion Weather Issue
« Reply #29 on: January 23, 2010, 10:08:18 AM »

Ok, let me make sure I understand.  Right now my temperature is 43.  I have the first slot set, if less than 32 - then B4 ON, the second one says, less than 22, then B5 ON, the third is set to,  if more than 32, then B6 ON.  when I run the parameter check, it says the third one fails?  Additionally it is turning B5 ON, not B6.  I just figured that if the temperature was actually more than 32, then this one would not fail, the other 2 would.  Is that what you expect?  When I turn it around and uncheck the option to use a third party temp file, it reports the 1st two don't match the parameters.  Sure seems like a bug, but I could be wrong.
Logged
Pages: 1 [2] 3 4 ... 6
 

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