Skip to content

Releases: maorcc/citymind_water_meter

Added version key to the manifest file

02 Jun 22:53
c23d3fb
Compare
Choose a tag to compare

There is also another issue to fix for 2021.6

First release (after no bugs were reported on the beta)

10 Oct 21:23
f24882f
Compare
Choose a tag to compare

Besides a major code refactoring, there is what's new in this release...

Changes in this release:

  • The configuration has moved from YAML to the UI.
  • The 2 sensors have been replaced with 5 sensors. See README.md for details.

Breaking Changes

When upgrading from v0.x.x to v1.0, please remove any use of "citymind_water_meter" platform from configuration.yaml.
Configuration is now only available via the UI.

Credits

Many thanks to @elad-bar for his help in this release.

Simplify session management

29 Jul 23:56
Compare
Choose a tag to compare

Discard any use of cookies in our code, because the server only needs session information that
it hides in input tags inside the HTML of a previous request.
Strange server indeed. But it seems to work reliably this way.

Perform login on every data request, but reuse the existing session

27 Jul 23:55
Compare
Choose a tag to compare

The handling of sessions by the water meter server (based on ASP.NET) is very strange and non-standard.
I've documented my observations in the code, inside the file sensor.py.
Hopefully, we will not see more surprises.

Better handling of session expiration

27 Jul 16:36
Compare
Choose a tag to compare

Added many error handlers for better error reporting.

Optimized Login

26 Jul 23:36
Compare
Choose a tag to compare

Log in once, on first need, and then just reuse the access token.
Instead of having a hard-coded session in code, on startup get a session from the server, then log-in with that session, and then keep in memory the token for all future data fetches. This should fix login issues for devices that already got allocated by the service to a different session.

Initial Release

17 Jul 00:21
Compare
Choose a tag to compare

This is the first beta release of this integration.
This integration is relevant only in Israel.
Feedback is most welcome. Please open issues.