Skip to content

Releases: snicker/juicepassproxy

v0.3.1 - Pin ha-mqtt-discoverable to allow JPP to continue to work with 32 bit systems

08 Jun 00:07
af2a57a
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3.0...v0.3.1

v0.3.0 - Rewrite to async

04 Jun 00:22
e4085bd
Compare
Choose a tag to compare

Large, behind the scenes rewrite to change to async functions. The existing Docker and Command-line settings didn't change so all previous setups will continue to work.

Changes

  • Change JuiceboxTelnet from telnetlib to telnetlib3 (Fixes #25)
    • This started the cascade of needing to update every other class to async as well
  • Update JuiceboxUDPCUpdater, JuiceboxMQTTHandler (fka. JuiceboxMessageHandler) to async and moved to separate files.
    • In JuiceboxMQTTHandler, built out framework that should better support sending commands from JPP to the JuiceBox as well as storing the latest value sent to HA. Hopefully this, along with the Experimental option below, will facilitate further development of controlling the JuiceBox from JPP/HA.
  • Updating PyProxy required essentially a full rewrite so renamed to JuiceboxMITM. Incorporated asyncio-dgram
  • Add EXPERIMENTAL option for users to opt in to the in development functions. Currently this exposes:
    • Data from JuiceBox and Data from EnelX sensors to HA
    • A MVP Text field to send "commands" to the JuiceBox
  • Improved logging including logging to both stderr and a file. Implement log rotation to keep 14 days of file logs.
  • Implemented aiorun and tini for better garbage management, thread cleanup, and graceful shutdowns
  • Attempted to incorporate better handling when connections or updates fail. This includes restarting connections, implementing timeouts to prevent freezing, as well as fully exiting the program when too many errors have occurred to allow a docker restart of the app.
  • Incorporate several items from #55
    • Add ignore remote option, now called IGNORE_ENELX option to prevent commands from EnelX to going to the JuiceBox and data from the JuiceBox from going to EnelX
      • Any commands from EnelX will still be captured by JPP
    • Add Current Rating sensor
    • Add the parsed fields from the JuiceBox status messages as attributes in the Local Data experimental sensor
  • Moving away from SRC and DST in both the settings and the code as it was not clear what they should contain.
    • Deprecated the SRC option and replaced it with LOCAL_IP
    • Deprecated the DST option and replaced it with ENELX_IP
    • Current setups using SRC and DST will continue to work for now but should eventually be updated to the new terms.
  • Add LOCAL_PORT option (Fixes #60)

What's Changed

Full Changelog: v0.2.2...v0.3.0

v0.2.2 Fixing Github Action for Docker Build

03 May 01:34
Compare
Choose a tag to compare

Version updating wasn't working

Full Changelog: v0.2.1...v0.2.2

v0.2.1 Add telnet timeout and improved error handling

02 May 23:01
bcff0e4
Compare
Choose a tag to compare

What's Changed

  • Catch errors on IP resolve by @Snuffy2 in #45
  • Show JuicePassProxy Version in HA and Logs by @Snuffy2 in #49
  • Show unavailable and error on pyproxy connection failure by @Snuffy2 in #48
  • Modify all telnet reads to include a timeout. Propogate timeout setting. by @j358 in #53
  • Change udpc_timeout to telnet_timeout and add to readme by @Snuffy2 in #59

New Contributors

  • @j358 made their first contribution in #53

Full Changelog: v0.2.0...v0.2.1

v0.2.0

25 Nov 03:10
f96f52d
Compare
Choose a tag to compare

What's Changed

  • Add Active Power Usage by @bjsmyth
  • Automatic configuration using just the IP of the Juicebox by @Snuffy2
  • Send Debug Messages to MQTT by @Snuffy2
  • Remove dependency on local DNS re-routing using the udpc_updater functionality

Breaking changes

  • MQTT configuration params from the command line have changed to be prefixed by mqtt_<arg>
  • Power/Energy sensors were renamed

Full Changelog: v0.1.1...v0.2.0

v0.1.1

12 Nov 18:50
4248ce2
Compare
Choose a tag to compare

What's Changed

  • Update Readme for GitHub Container Registry by @Snuffy2 in #12
  • adds S5 status code for error. by @snicker in #14

Full Changelog: v0.1.0...v0.1.1

v0.1.0

11 Nov 18:29
c0b9822
Compare
Choose a tag to compare

Initial release to kick off GH workflows for container generation (thanks @Snuffy2 for setting this up!)