Closed solderq35 closed 5 months ago
Update - After double checking PacificPower site this may be simpler than expected, it does seem like if the previous few days were in the last month, it is shown by default. So no need to have the webscraper press the "previous month button" or anything (if running the scraper on the first few days of new month).
Related parent issue
Screenshots
(dated February 5)
Relevant Code
Period2024-02-04Average Temperature42.0Usage(kwh)2388.30Est. Rounded Amount$253
tr:nth-child(2)
instead oftr:nth-child(1)
results in an output of one day previous, e.g.Period2024-02-03Average Temperature43.5Usage(kwh)2625.21Est. Rounded Amount$266
(February 3 vs 4)Potential Solutions
/data?id=...
route only considers data linked to themeters
table, and not all Pacific Power Data will be linked tometers table
(new meters or redundant meters etc)