Refactor session handling and update changelog for v1.7.0, bunch of fixes and edits#13
Merged
Conversation
…ger be required. - get_config_data module import named as config
- Reanamed import for config to config_py
- Bug fix in session processing
- Removed unnecessary use of self.after.
styelz
commented
Aug 26, 2025
Author
There was a problem hiding this comment.
Hi, would it be possible to add this function to the dwarf_python_api.dwarf_utiils ? Or do you know another way to power down ?
def perform_powerdown():
# Power Down
module_id = 5 # MODULE_SYSTEM
type_id = 0; # REQUEST
# Not sure what to use here but this works
ReqPowerDown_message = system.ReqDisableDeviceActivate()
command = 13502; # CMD_RGB_POWER_POWER_DOWN
response = connect_socket(ReqPowerDown_message, command, type_id, module_id)
if response is not False:
if response == 0:
log.success("Shutdown command success")
return True
else:
log.error(f"Error code: {response}")
else:
log.error("Dwarf API: Dwarf Device not connected")
- Commented out powerdown changes until api is possibly updated.
…dency installation steps
…ity and listing directory structure for improved compatibility and debugging
…tallation process, including new checks and aggressive silent uninstall flags.
… output paths, and streamline setup configuration.
…ies in release workflow
styelz
commented
Aug 27, 2025
Author
styelz
left a comment
There was a problem hiding this comment.
Tested windows installer created from github actions release.
Added git installation to system dependencies in build workflow.
…line dependency installation across platforms
…S and Linux workflows
…pCMD.py and setupUI.py for improved executable naming and structure
…ectory for local requirements
styelz
commented
Aug 28, 2025
Author
styelz
left a comment
There was a problem hiding this comment.
build.yaml creates MAC, Linux and Windows versions. Windows and Linux tested and working. Mac untested.
Owner
Yes , no problem I have added the Reboot and Power Off functions : def perform_reboot() and def perform_powerdown() in 1.4.6 |
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
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.
The pull request titled "Refactor session handling and update changelog for v1.7.0, bunch of fixes and edits" introduces the following changes:
Key Updates:
Session Handling Refactor:
Bug Fixes:
Changelog Update:
File Changes:
UI Enhancements:
New Features:
This PR focuses on improving the overall functionality, performance, and user experience of the application while addressing existing issues.