Closed cpg closed 13 years ago
Hi Carlos, first of all Amahi looks awesome. Somehow I have never run across it till now.
You are using v0.2.1, right? If so there should be a backtrace in that error message. https://github.com/mcolyer/smartermeter/blob/v0.2.1/lib/smartermeter/daemon.rb#L148
If you are handy with ruby can you use ruby-debug there to figure out what that exception is or why it isn't getting set?
It seems like PG&E doesn't have the terms of use page any more, so try reverting fb610ea. I'd do it but I can't figure out how to run the script from my git repo rather than from rubygem.
talisein: I still see the TOS page when I login through a browser.
Unfortunately it looks like they've disabled the weekly downloads that contained the hourly data on my account. Can you confirm whether that's true on your account as well?
Re: TOS page, my bad, it is still there.
Testing on Chrome and Firefox, on my account the "Week" and "Day" periods still have a working download link for hourly data, and I have data posted through the 4th. Nonetheless something is wrong because the last data my script pulled data for was the 1st (which means it broke sometime after 7 pm on the 2nd).
cpg: So I spent a bunch of time debugging this and it turns out in my case the problem is that my server had clock skew, which prevented the cookies from being sent correctly. I would advise you and talisein to check and make sure your clocks are accurate.
Marking this as closed as I can't reproduce this and I haven't heard anything back. If you figure out what is going on feel free to reopen.
hi, this is what i get. I tried serveral times, and made sure the credentials I enter are ok. Incidentally, very interested in making a small widget using this library for Amahi (http://www.amahi.org) - a project I helped create.
I created a new user recently and was able to login to their web site just fine. This is all I get:
... Configuration finished I, [2011-03-05T16:54:44.226545 #31280] INFO -- : Attempting to fetch data for: 2011-03-04 I, [2011-03-05T16:54:44.227055 #31280] INFO -- : Logging in as
E, [2011-03-05T16:54:49.450404 #31280] ERROR -- : Login failed.
E, [2011-03-05T16:54:49.450668 #31280] ERROR -- : If this happens repeatedly your login information may be incorrect
E, [2011-03-05T16:54:49.450791 #31280] ERROR -- : Remove ~/.smartermeter and restart to re-configure smartermeter.
I, [2011-03-05T16:54:49.451067 #31280] INFO -- : Successfully fetched:
ideas as to what could be going on?