Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for legacy bridge #16

Merged
merged 1 commit into from
Feb 13, 2023
Merged

Support for legacy bridge #16

merged 1 commit into from
Feb 13, 2023

Conversation

andersevenrud
Copy link
Owner

@andersevenrud andersevenrud commented Feb 11, 2023

The legacy bridge is possible to support with some minor changes:

  • HTTP Digest Auth support (requires replacing aiohttp)
  • Legacy data models
  • Workaround for API differences
  • Websocket
  • Documentation
  • Disable energy metering because of unknowns (Legacy bridge energy monitoring #19)
  • Discovery (with some assumptions)
  • Controls

Refs #15

@andersevenrud andersevenrud mentioned this pull request Feb 11, 2023
@andersevenrud andersevenrud force-pushed the feat/legacy-bridge branch 2 times, most recently from 94acf81 to 57d1afa Compare February 11, 2023 21:56
@andersevenrud andersevenrud force-pushed the feat/legacy-bridge branch 7 times, most recently from a1ff6b5 to df27415 Compare February 12, 2023 00:38
@andersevenrud andersevenrud added the enhancement New feature or request label Feb 12, 2023
@andersevenrud andersevenrud force-pushed the feat/legacy-bridge branch 10 times, most recently from d47495c to 9a6cbc9 Compare February 13, 2023 13:27
Adds basic legacy api sensor support. I.e. reading of values.

Squashed from the following commits:

* refactor: switch to httpx
* docs(readme): add legacy support notice
* feat: support legacy websocket messages
* refactor: parallel legacy node calls
* fix: use correct previous key for legacy
* fix: stricter node value checks
* fix: don't pull energy on legacy
* refactor: simplify nexa api calls
* docs(readme): update description
* refactor: move ws port to const
* refactor: clean up ws class constructor
* refactor: prepare for legacy energy metering support
* refactor: split node value property population
* docs(help): update compatiblity
* refactor: remove unwanted newline
* refactor: update energy model population
* chore: auth digest detection for perf
* feat: auto discovery for legacy (maybe)
@andersevenrud andersevenrud merged commit b940de2 into main Feb 13, 2023
@andersevenrud andersevenrud deleted the feat/legacy-bridge branch February 13, 2023 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant