Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

Releases: mjmeli/pyduke-energy

Release v1.0.6

10 May 15:45
0b45b9d
Compare
Choose a tag to compare

What's Changed

  • update new auth digest and add deprecation warning to README by @mjmeli in #70

Full Changelog: v1.0.5...v1.0.6

Release v1.0.5

06 Jan 20:32
Compare
Choose a tag to compare
  • fix incorrect calculation on timeout give up count to cover to 2 fastpoll periods

Release v1.0.4

06 Jan 20:29
Compare
Choose a tag to compare
  • Increase the time at which we fully give up on reconnecting to MQTT to cover 2 fastpoll periods

Full Changelog: v1.0.3...v1.0.4

Release v1.0.3

06 Jan 19:40
92d009c
Compare
Choose a tag to compare

What's Changed

  • give up when MQTT fails to reconnect more than 10 times by @mjmeli in #51

Full Changelog: v1.0.2...v1.0.3

Release v1.0.2

07 Sep 19:42
f8d67a6
Compare
Choose a tag to compare

What's Changed

  • add primary and related bp number on account-details call by @mjmeli in #37

Dependency Updates

Full Changelog: v1.0.1...v1.0.2

Release v1.0.1

24 May 14:20
77d26f9
Compare
Choose a tag to compare

What's Changed

  • update basic auth digest used on the initial oauth login request by @mjmeli in #24

Full Changelog: v1.0.0...v1.0.1

Release v1.0.0

18 Dec 14:04
Compare
Choose a tag to compare

What's Changed

  • Breaking Changes - refactoring and indefinite reconnect by @mjmeli in #14
    • Breaking Update external interface by renaming callback functions to be fully named (e.g. on_msg -> on_message). This is a breaking change and the main reason for a major version update.
    • Create a new MqttError class that will wrap MQTT related exceptions, and make sure these exceptions are thrown in failure instances as opposed to suppressing them
    • Update connect_and_subscribe to be callable multiple times
    • Implement connect_and_subscribe_forever as a wrapper around connect_and_subscribe which will attempt to auto-recover from any disconnections with an exponential back-off strategy
    • Add new connected future which will trigger when on_connect is called. This allows us to do a timeout wait and detect when connection is never achieved. This is currently 30 seconds.
    • Development improvements
      • Update dev container to Python 3.10 and fix some configuration issues
      • Add more type hints to help with type safety
      • Miscellaneous linting fixes
      • Run build and tests on pushes to all branches, not just main
      • Update tox file to handle deprecation errors

Full Changelog: v0.0.15...v1.0.0

Release v0.0.15

16 Dec 01:47
799ae7e
Compare
Choose a tag to compare

What's Changed

  • change which value we read the hourly usage from - fixes #12 by @mjmeli in #13

Full Changelog: v0.0.14...v0.0.15

Release v0.0.14

03 Dec 16:11
8977705
Compare
Choose a tag to compare

What's Changed

  • remove paho auto-reconnect and replace with our custom reconnect logic by @mjmeli in #10

Full Changelog: v0.0.13...v0.0.14

Release v0.0.13

03 Dec 15:21
4ca7bce
Compare
Choose a tag to compare

What's Changed

  • ensure connects async safe since they block and add logging for reconnect to investigate if its blocking by @mjmeli in #8 and #9

Full Changelog: v0.0.12...v0.0.13