-
Notifications
You must be signed in to change notification settings - Fork 34
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
Improve WebSocket logging and error handling #15
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Owner
JeffSteinbok
commented
Jun 29, 2023
- Log out WebSocket calls to unknown devices for debugging.
- Don't fail if we receive a call for an unknown device SN.
JeffSteinbok
added a commit
that referenced
this pull request
Jul 18, 2023
* Improve WebSocket logging and error handling (#15) * Jeff steinbok patch 3 (#16) * Update README.md * Update README.md * Update README.md * Update README.md * add support for DR-HAF003S and basis for other air circulator models * clean up formatting with black * update readme with new model --------- Co-authored-by: Mike Cugini <mike@betamike.com>
JeffSteinbok
added a commit
that referenced
this pull request
Jul 19, 2023
* Infra/websocketlogging (#18) * Improve WebSocket logging and error handling * WebSocket Reconnect & Reload Flow * Updated config constants. (#24) Add some support for vertical oscillation Return a Model attribute * Feature/newfans (#25) * Update Readme * Beta integrate/betamike main (#26) * Improve WebSocket logging and error handling (#15) * Jeff steinbok patch 3 (#16) * Update README.md * Update README.md * Update README.md * Update README.md * add support for DR-HAF003S and basis for other air circulator models * clean up formatting with black * update readme with new model --------- Co-authored-by: Mike Cugini <mike@betamike.com> * Update pydreoaircirculatorfan.py Fix baseclass for Air Circulator * Fix typo * Add Loggers * Fix issue with loading wrong state values from AirCirculator. And error handling. * More State Fixes * Bunch of PyLint fixes. Found some bugs too. * More forgiving of missing preset modes. Bit more error logging. --------- Co-authored-by: Mike Cugini <mike@betamike.com>
JeffSteinbok
added a commit
that referenced
this pull request
Jul 26, 2023
* Infra/websocketlogging (#18) * Improve WebSocket logging and error handling * WebSocket Reconnect & Reload Flow * Updated config constants. (#24) Add some support for vertical oscillation Return a Model attribute * Feature/newfans (#25) * Update Readme * Beta integrate/betamike main (#26) * Improve WebSocket logging and error handling (#15) * Jeff steinbok patch 3 (#16) * Update README.md * Update README.md * Update README.md * Update README.md * add support for DR-HAF003S and basis for other air circulator models * clean up formatting with black * update readme with new model --------- Co-authored-by: Mike Cugini <mike@betamike.com> * Update pydreoaircirculatorfan.py Fix baseclass for Air Circulator * Fix typo * Add Loggers * Fix issue with loading wrong state values from AirCirculator. And error handling. * More State Fixes * Bunch of PyLint fixes. Found some bugs too. * More forgiving of missing preset modes. Bit more error logging. * Support Device & Temperature Sensor (#32) * Initial device implementation. * Beta (#29) * Update pydreoaircirculatorfan.py Fix baseclass for Air Circulator * Fix typo * Beta (#30) * Update pydreoaircirculatorfan.py Fix baseclass for Air Circulator * Fix typo * Add Loggers * Temperature Sensor Config * Sensor Work * Sensors & Switches (#36) * Initial device implementation. * Beta (#29) * Update pydreoaircirculatorfan.py Fix baseclass for Air Circulator * Fix typo * Beta (#30) * Update pydreoaircirculatorfan.py Fix baseclass for Air Circulator * Fix typo * Add Loggers * Temperature Sensor Config * Sensor Work * Initial Switch Work * Start refactor & merge * Whole bunch of linting fixes. Also move all the HA imports into a single file so we can disable linting on it. * More Cleanup * Bit more error checking * Add Device Model to DeviceInfo object Temperature unit of measurement support Fix sensor/switch descriptions Support Display Always Off & Panel Sound Switches * Update README * Fix some refactoring bugs * Fix Bad Merge --------- Co-authored-by: Mike Cugini <mike@betamike.com>
JeffSteinbok
added a commit
that referenced
this pull request
Jul 26, 2023
* Infra/websocketlogging (#18) * Improve WebSocket logging and error handling * WebSocket Reconnect & Reload Flow * Updated config constants. (#24) Add some support for vertical oscillation Return a Model attribute * Feature/newfans (#25) * Update Readme * Beta integrate/betamike main (#26) * Improve WebSocket logging and error handling (#15) * Jeff steinbok patch 3 (#16) * Update README.md * Update README.md * Update README.md * Update README.md * add support for DR-HAF003S and basis for other air circulator models * clean up formatting with black * update readme with new model --------- Co-authored-by: Mike Cugini <mike@betamike.com> * Update pydreoaircirculatorfan.py Fix baseclass for Air Circulator * Fix typo * Add Loggers * Fix issue with loading wrong state values from AirCirculator. And error handling. * More State Fixes * Bunch of PyLint fixes. Found some bugs too. * More forgiving of missing preset modes. Bit more error logging. * Support Device & Temperature Sensor (#32) * Initial device implementation. * Beta (#29) * Update pydreoaircirculatorfan.py Fix baseclass for Air Circulator * Fix typo * Beta (#30) * Update pydreoaircirculatorfan.py Fix baseclass for Air Circulator * Fix typo * Add Loggers * Temperature Sensor Config * Sensor Work * Sensors & Switches (#36) * Initial device implementation. * Beta (#29) * Update pydreoaircirculatorfan.py Fix baseclass for Air Circulator * Fix typo * Beta (#30) * Update pydreoaircirculatorfan.py Fix baseclass for Air Circulator * Fix typo * Add Loggers * Temperature Sensor Config * Sensor Work * Initial Switch Work * Start refactor & merge * Whole bunch of linting fixes. Also move all the HA imports into a single file so we can disable linting on it. * More Cleanup * Bit more error checking * Add Device Model to DeviceInfo object Temperature unit of measurement support Fix sensor/switch descriptions Support Display Always Off & Panel Sound Switches * Update README * Fix some refactoring bugs * Fix Bad Merge --------- Co-authored-by: Mike Cugini <mike@betamike.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.