Skip to content

Conversation

@firstof9
Copy link
Owner

Do a firmware version check for the toggle_overrride function to send RAPI commands for firmware version lower than 4.0.0

@firstof9 firstof9 marked this pull request as ready for review January 11, 2022 20:52
@firstof9 firstof9 merged commit b1ddd83 into dev Jan 11, 2022
firstof9 added a commit that referenced this pull request Jan 12, 2022
* add set_charge_mode function

Utilizes the HTTP API to set the charge_mode configuration.

* refactor: move all aiohttp handling into separate function

* fix: make websocket listener not automatic (#12)

* fix tests

* handle running loop better

* formatting

* rename variable

* refactor: update websocket error message with correct url

* add python 3.10 to tests

* Capture additional properties from OpenEVSE status (#15)

* Add manual_override and divertmode

* Add available_current, charge_rate and divert_active properties

* Add smoothed_available_current

* Add several additional properties
 - manual_override
 - divertmode
 - available_current
 - charge_rate
 - divert_active
 - smoothed_available_current

* formatting

* linting

* feat: add version check to toggle_override function (#24)

* docs: placeholder

* feat: add divertmode function

* refactor: formatting and linting

* feat: add version check to toggle_override

* formatting and linting

* version bump

* tests: update tests

* tests: more test updates

* tests: add another test

* tests: add toggle_override test

* formatting

* tests: fix test

Co-authored-by: Jose Carlos Garcia Sogo <jcsogo@gmail.com>
firstof9 added a commit that referenced this pull request Jan 12, 2022
* docs: placeholder

* feat: add divertmode function

* refactor: formatting and linting

* feat: add version check to toggle_override

* formatting and linting
@firstof9 firstof9 deleted the version-check-override branch January 12, 2022 01:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants