-
Notifications
You must be signed in to change notification settings - Fork 2
Merge ASYNC-branch into MAIN #236
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
Merged
Changes from all commits
Commits
Show all changes
980 commits
Select commit
Hold shift + click to select a range
e0cb7b5
Try 3
bouwew e975209
Fix timestamp for added log
bouwew 8e3a4b4
Change frozen time
bouwew 26593c8
Fix wrong asserts
bouwew 62233de
Correct timestamps for collected_pulses()
bouwew 5250b51
Lower frozen time
bouwew 3c10b8b
Add asserts, correct from_timestamps
bouwew 5f80358
Fix last-day assert
bouwew 4b89110
Add/update collected_pulses asserts for pulse-counter reset
bouwew 85eccc2
Test-updates
bouwew 764ec8b
Drop log when exact 24hrs old
bouwew cb07947
Remove no longer available hourly_reset assert
bouwew 03ef20c
Adapt test-assert
bouwew cbffb73
Enable extra tests
bouwew 5a1fac1
Fix assert
bouwew efebab1
Uncomment disabled test-asserts
bouwew f7165b5
Cleanup
bouwew f3b108f
HOI debug
bouwew 03881d7
Full test-output
bouwew e754279
Call allow_join_request() via accept_join_request setter
bouwew 2149fd9
Revert
bouwew 95a6019
Enable/disable automatic joining based on accept_join_request
bouwew 44d4602
Limit sending allow_join_request()
bouwew b96b74e
Bump to a90
bouwew 4c457ef
Update _old_acc_join_req
bouwew c17f100
Bump to a91
bouwew f8d78a6
Execute allow_join_requests() after network.is_running
bouwew c6317f7
Break out
bouwew 61a0681
Execute allow_join_requests() with accept_join_request state being set
bouwew 479816f
Clean up, add logger
bouwew 9623138
Bump to a92
bouwew 2045242
Handle async function-call properly
bouwew c6a9ef0
Correct syntax
bouwew e458c11
Remove double code
bouwew ef84f98
Try async setter construct
bouwew bbf65a9
Fix testing
bouwew 887f307
Try calling allow_join_requests via create_task()
bouwew 7808bac
Bump to a93
bouwew 9142104
Remove unused
bouwew b84d1c4
Register node in node_join_available_message()
bouwew 4fcd0eb
Bump to a94
bouwew 0e3192a
Improve debug-message
bouwew 0b836e9
Add missing await
bouwew 7f706d9
Bump to a95
bouwew bff21f0
Change debug-message
bouwew 235d448
Set asyncio_default_fixture_loop_scope to "session"
bouwew 8b99c71
Update actions/* versions
bouwew 6266dde
More version-updates
bouwew df7c234
Disable testcase
bouwew bf01dd4
Bump to a96
bouwew d92a806
Base NodeAddRequest on StickResponse
bouwew e3a9a5a
Add new found firmware version
bouwew 96cae34
Bump to a97
bouwew 64aefd9
Change max version to 2.5 for added firware
bouwew c66fd0e
Bump to a98
bouwew 5cea70d
Correct corrected_pulses to 0 when negative
bouwew b3ed80b
Bump to a99
bouwew d8bc959
Revert "Correct corrected_pulses to 0 when negative"
bouwew f7fedb1
Update __init__.py
bouwew 71a9501
Update connection-files
bouwew 7e9cf84
Update messages files
bouwew 3059b50
Update network files
bouwew 4e10f93
Update node-helper files
bouwew 5587db0
Update test-files
bouwew 007712f
Fix formatting
bouwew 1d4c590
Fix double logging
bouwew 9a6855e
Clean up
bouwew 426dcd8
Update network-register_node fault handling
bouwew 9b8ef1e
Back to normal test output
bouwew fa92146
Set to latest a-version on testpypi
bouwew 4299d19
Revert back to standard uses: actions notation
bouwew 7770fe8
Fix typo
bouwew fdc5523
Improve queue - submit()
bouwew 38cc073
Bump to a112
bouwew 620e42b
Add CirclePlusAllowJoiningRequest with response to RESPONSE_MESSAGES
bouwew 75c9efa
Alternative method of getting/setting accept_joiN_request
bouwew 305d4b7
Test: move unneeded line
bouwew 0099e73
Bump to a113
bouwew 528f88f
Update pyproject.toml - fix license
bouwew e2a3404
Clean up packaging config
bouwew 4015c48
Bump verify CACHE_VERSION
bouwew 4d2c54a
Update CODEOWNERS
bouwew 2a63799
pyproject corrections
bouwew 94ba236
Set setuptools to v80.3
bouwew 24aa452
Try v80.2
bouwew d050dbb
Hard-fix to v80.2.0
bouwew a524e8c
Bump CACHE_VERSION
bouwew bc0185b
Force update
bouwew 5c5dc1d
Bump setuptools to v80.3.1
bouwew c700ff8
Guard subscribing to NODE_JOIN_ID
bouwew f8f1252
Clean up
bouwew 403d503
Fix subscription-guarding
bouwew 5b1b533
Re-enable test_stick_node_join_subscription test case
bouwew fa75498
Re-fix guarding
bouwew 24ef2df
Revert "Re-enable test_stick_node_join_subscription test case"
bouwew d85c23f
Improve network.register_node()
bouwew 38d693d
Add NodeAddRequest with NodeJoinAckResponse
bouwew 59a6807
Disable no_response_expected for NodeAddRequest
bouwew 913d9e4
Add back response-code to register_node()
bouwew 34c6cbe
Revert part of node_join_available_message() changes
bouwew ecf131e
Add NODE_REJOIN_ID indentifier and corresponding response
bouwew 79a1276
Enable test_stick_node_join_subscription test case
bouwew 2d616c1
Fixes
bouwew fd42978
Don't check ack_id, might be not applicable
bouwew 27fc2e1
Bump to a114
bouwew 8762776
Remove unused import
bouwew 0d5a86a
Disable logger
bouwew e2a80bb
Bump to a115
bouwew d04c37b
Walrus fix
bouwew af9b632
Increase the node_response-timeout to 45 seconds
bouwew 65ae1ab
Create NodeResponseType REJOINING and use
bouwew c9d69d7
Import NodeResponseType
bouwew d97c819
Implement try-except for unregistering node
bouwew 66dc7db
Implement more try-excepts
bouwew 5e598be
Add missing import
bouwew c750bc0
Bump to a116
bouwew 5105d8d
Improve error-propagation
bouwew 531a5e0
Bump to a117
bouwew 10865fa
Handle last_address < first_address
bouwew ab167d1
Improve
bouwew e6c2d6b
Revert all no_node_response_expected changes
bouwew 1638364
Fix NodeAddRequest response
bouwew 30fce53
Guard for 6015 to 1 address-rollover
bouwew f6733c8
Bump to a118
bouwew 3361ab3
Don't guard in node_join_available_message()
bouwew 03f749a
Guard in register_node() instead
bouwew 81cd95c
Bump to a119
bouwew c2d7ebd
Make sure to return False
bouwew 8192801
Remove unreachable code
bouwew e2f1d53
Call register_node() in node_join_available_message()
bouwew e535cd6
Disable test-code, fix seq_id
bouwew c6c9825
Bump to a120
bouwew fff3be8
Fix log-message formatting
bouwew 518606c
Revert to async-original-like, add debug-logging to registry-register…
bouwew 4648eb3
Add more debug-logging
bouwew a2a9f25
Pylint fixes
bouwew cd614a7
Bump to a121
bouwew e4db78b
NodeAddRequest: change for testing
bouwew 9a66466
Also change register_node() for testing
bouwew 0ec1959
Bump to a122
bouwew 5afbda5
Fix Priority class header
bouwew a0e3733
Set STICK_TIMEOUT to 30 secs
bouwew 2c7e2d9
Bump to a123
bouwew 7815d54
Debug network_address()
bouwew 844b0cb
Add missing "f"
bouwew 743f929
Fix typo
bouwew e8038b6
Bump to a124
bouwew 5b3036f
Add register_rejoined_node() function
bouwew 60cdb75
And implement
bouwew 908d1a0
Bump to a125
bouwew 7bb6a28
Fix
bouwew f0de9dd
Update debug-header message
bouwew b19e730
Revert STICK_TIMEOUT change
bouwew fcdb26f
Improve register_node()
bouwew ef895ad
Improve unregister_node()
bouwew 4c35bba
Optimize: change function-name to update_node_registration
bouwew fc8016a
Increase timeouts for testing
bouwew 366871e
Bump to a126
bouwew 962d59a
Add _reply_identifiler for NodeAddRequest
bouwew 8236041
NodeAddRequest: re-add responsetype-checking
bouwew 1c6531d
Remove unused constant
bouwew 6e9d756
Bump to a127
bouwew f334a1a
Add noderesponse-type comments
bouwew 3fbdd58
Implement no_stick_response work-around for NodeAddRequest
bouwew d033aa5
Fix ident
bouwew de2dff9
Add missing return
bouwew 08e79d6
Bump to a128
bouwew 2ce7b2c
Set retries to 6 for NodeAddRequest
bouwew c4e3177
Remove failing debug-logging, improve MessageError
bouwew 00ccbe2
Bump to a129
bouwew 59d7fee
Pylint fix
bouwew 87eb5e5
Revert timeout-changes
bouwew ab633f2
Simplify NodeAddRequest and adapt related
bouwew 8a227aa
Remove unused imports
bouwew 2a4455f
Bump to a130
bouwew 84b2b97
Clean up all !r
bouwew 6650ca7
Revert blocking stick_response for NodeAddRequest
bouwew 29f7ce8
Bump to a132
bouwew 69b1ba1
Revert NodeAddRequest related changes
bouwew 8006df0
Bump to a133
bouwew 9f8fc6c
Improve debug message
bouwew 79a4528
Revert "Clean up all !r"
bouwew df6e295
Revert 2 more !r removals
bouwew b946dba
Force response to prio-queue with nowait
bouwew cfec979
Bump to a134
bouwew 4dd7581
Improve debug-message
bouwew be62a2a
Revert "Force response to prio-queue with nowait"
bouwew f800e02
Fix logic for node_join_available_message() and node_rejoin_message()
bouwew 4e7c633
Add helper-comment
bouwew 9a45d76
Don't expect a node response for NodeAddRequest
bouwew 4b0f576
Adapt related
bouwew 1f319d2
Improve debug-message
bouwew 8b07447
Adapt connection-sender for no response expected
bouwew 6f2ac29
Cleanup
bouwew 041a3c3
Don't notify node_event_subscriber, will be done when the NodeRejoin …
bouwew 4d3d3d2
Set NodeAddRequest _reply_identifier to None
bouwew c69689d
Bump to a135
bouwew f7b400c
Revert use of None in subscribe to response
bouwew b7fff92
Bump to a136
bouwew 3a11f86
Improve set_accept_join_request()
bouwew d213399
Bump to a137
bouwew 3806bac
Fix
bouwew a8654dd
Revert NODE_TIMEOUT back to 15
bouwew 95fafb6
Remove unused request-response pair
bouwew aa468f1
Make sure to set accept_join_request
bouwew 4a8bd7f
Bump to a138
bouwew 96ddeeb
Output bool from set_accept_join_request()
bouwew 9aaa9fa
Bump to a139
bouwew e8091cb
Update_node_registration() should not be async
bouwew c057027
Bump to a140
bouwew d074dcb
NodeAddRequest: return to default retrying
bouwew 434f853
Add fault-handling in registry-register_node()
bouwew b92ed96
Bump to a141
bouwew 0d86054
Bump to v0.40.0b2
bouwew 190caf9
Fix network-node_awake_message()
bouwew 76d360c
Fix node-initialize()
bouwew e245c84
Sed format fixes
bouwew d735f8e
Fix taskId
bouwew f3fc3d3
Nodes-helpers-pulses: remove unused lines
bouwew 4b6641a
Test_usb: add missing switch-asserts
bouwew 35e1e0b
Merge if statements with enclosing one
bouwew 5e0a2d0
Responses: optimize
bouwew d69a677
Network-init: optimize
bouwew aa84271
Fix doubles
bouwew 1b572aa
Add comment for pass
bouwew d7912a1
Use negative to avoid pass
bouwew fcb01c3
Clean up
bouwew 1d300f0
Improve _process_stick_response()
bouwew e94f0c8
Improve PlugwiseCelsius class
bouwew 448217d
Implement switch improvements
bouwew 9b4da7a
Implement another two improvement suggestions
bouwew 35ee5ee
More improvements
bouwew b7a1e13
More improvements 2
bouwew 23a515a
Format total_seconds to int
bouwew 6e8694e
Scan: sensitivity-fixes
bouwew 3b5e551
Switch: remove unused self
bouwew efbbfd5
Pulses: fix wrong logic
bouwew ed503f8
Sed: remove unneeded code, implement suggested lock-fixes
bouwew a1d179a
_last_known_duration(): add extra guarding
bouwew eef7c48
define constants for reused errors
ArnoutD ccd1493
Pulses: correct mistake
bouwew 07459a2
Implement suggested port-related improvements
bouwew 0fad395
Add missing space
bouwew 0364a36
Revert port-related deletion/change
bouwew a482a35
Bump to b3 for testing
bouwew a87b8d0
Merge pull request #244 from plugwise/bump_b3
bouwew e6afe02
Update CHANGELOG
bouwew d708f94
CHANGELOG format fix
bouwew 43bfb01
Improve/amend CHANGELOG
bouwew cba53b1
Set to v0.40.0 release-version
bouwew File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,6 +13,7 @@ on: | |
| types: closed | ||
| branches: | ||
| - main | ||
| - async | ||
|
|
||
| jobs: | ||
| publishing: | ||
|
|
||
This file contains hidden or 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
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,6 +11,7 @@ tests/__pycache__ | |
| .coverage | ||
| .vscode | ||
| venv | ||
| .venv | ||
| fixtures/* | ||
| !fixtures/.keep | ||
| *.sedbck | ||
|
|
||
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.