Skip to content

Conversation

@jcsogo
Copy link
Contributor

@jcsogo jcsogo commented Dec 30, 2021

I am adding additional properties from the reported status JSON, per the API documentation
https://openevse.stoplight.io/docs/openevse-wifi-v4/b3A6MjA2MTYyMzE-get-the-evse-status

@firstof9
Copy link
Owner

Excellent, thanks!

@firstof9 firstof9 merged commit fabeea2 into firstof9:dev Dec 30, 2021
firstof9 added a commit that referenced this pull request Dec 30, 2021
* 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

Co-authored-by: Jose Carlos Garcia Sogo <jcsogo@gmail.com>
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 pushed a commit that referenced this pull request Jan 12, 2022
* 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
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