New O&R log in flow
Orange and Rockland changed the way their log in flow works. They don't have a stable, documented API for logging in and fetching Green Button data, so we have to scrape their log in form, and this is exactly the problem that such a short-sighted service causes for integrators like me.
Settings
Program settings have been converted from C#'s built-in XML weirdness that never stays in the same place to JSON, which is simple and controllable. Existing settings are not automatically migrated to the new version. The new settings go in %LOCALAPPDATA%\Dad's Energy Reporter\settings.json
.
Example settings
{
"SolarCityUsername": "solarcityUser",
"SolarCityPassword": "solarcityPass",
"OrangeRocklandUsername": "oruUser",
"OrangeRocklandPassword": "oruPass",
"MostRecentReportBillingDate": "2017-08-16T04:00:00Z",
"ReportSenderEmail": "sender@mail.com",
"SmtpHost": "mail.com",
"SmtpPort": 25,
"SmtpUsername": "hargle",
"SmtpPassword": "blargle",
"HttpProxy": null,
"ReportRecipientEmails": [
"recipient@mail.com"
]
}