Skip to content

Releases: tedpearson/electric-usage-downloader

v2.4.1

16 Aug 01:22

Choose a tag to compare

  • Remove comments from start of CSV output

Full Changelog: v2.4.0...v2.4.1

v2.4.0

09 Aug 06:13

Choose a tag to compare

What's Changed

  • Add --csv-file command line flag that will write data to a CSV file instead of writing to Influx. In this case, the influx section of the config does not need to be configured.
  • Bump github.com/avast/retry-go/v4 from 4.6.0 to 4.6.1 by @dependabot[bot] in #16
  • Bump golang.org/x/net from 0.33.0 to 0.36.0 in the go_modules group by @dependabot[bot] in #18
  • Bump golang.org/x/net from 0.36.0 to 0.38.0 in the go_modules group by @dependabot[bot] in #20

Full Changelog: v2.3.2...v2.4.0

v2.3.2

29 Dec 04:47

Choose a tag to compare

update dependencies

Full Changelog: v2.3.1...v2.3.2

v2.3.1

22 Oct 04:10

Choose a tag to compare

What's Changed

  • When --debug flag is specified, log the entire poll response even if there is a json decode error. Previously this only logged the part read by the json decoder.
  • Bump github.com/influxdata/influxdb-client-go/v2 from 2.13.0 to 2.14.0 by @dependabot in #13

Full Changelog: v2.3.0...v2.3.1

v2.3.0

11 Aug 02:11

Choose a tag to compare

  • add configurable timezone
    • For some reason, the SmartHub API decided to return "unix timestamps", but in the utility's timezone instead of in UTC, which would be the normal choice for an API.
    • My utility returned timestamps in the EST timezone, but other users have reported their local timezones are used as well.

Full Changelog: v2.2.0...v2.3.0

v2.2.0

08 Aug 16:28

Choose a tag to compare

Allow specifying influxdb org field in config

Full Changelog: v2.1.0...v2.2.0

v2.1.0

07 May 02:54

Choose a tag to compare

What's Changed

  • Bump golang.org/x/net from 0.21.0 to 0.23.0 in the go_modules group by @dependabot in #6
  • Bump github.com/avast/retry-go/v4 from 4.5.1 to 4.6.0 by @dependabot in #8
  • Handle multiple series/meters from a single meter by @tedpearson in #9

Full Changelog: v2.0.3...v2.1.0

v2.0.3

06 Mar 04:30

Choose a tag to compare

  • Some SmartHub implementations don't return "cost" data. Only parse cost data if it exists in the response.
  • Add --debug flag which prints API responses to stderr.

Full Changelog: v2.0.2...v2.0.3

v2.0.2

06 Mar 02:58

Choose a tag to compare

  • Properly urlencode POST to SmartHub auth endpoint
  • Change name to smarthub config section
  • Code and readme updated to refer to SmartHub

Full Changelog: v2.0.1...v2.0.2

v2.0.1

03 Mar 02:29

Choose a tag to compare

Don't print timestamps in logs.

Full Changelog: v2.0.0...v2.0.1