Skip to content
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

Add configuration editor, by replacing get_characteristics.py w/ atc_cmd.py #335

Closed
wants to merge 1 commit into from
Closed

Add configuration editor, by replacing get_characteristics.py w/ atc_cmd.py #335

wants to merge 1 commit into from

Conversation

Ircama
Copy link

@Ircama Ircama commented Apr 30, 2023

Introducing atc_cmd.py in place of get_characteristics.py. This new Python command-line program is also able to edit the device configuration via GUI.

Other command-line options allow updating the device date via batch command (without the GUI). Reference for instance to #56 (comment)

construct_atc_mi.py has been upgraded to also support many internal structures of the custom firmware, like "cfg", "flg2", "comfort_values", "trigger", ...

This tool is very much dependent on the custom firmware internal structures. The dictionaries included in atc_cmd.py, like editing_structure allow to easily keep the tool updated with possible new changes in the firmware.

Documentation has been updated accordingly, also including some better management of requirements.

Notice that:

  • if upgrading from a previously installed construct_atc_mi.py, the arrow module needs to be added (pip3 install -r requirements.txt)
  • if construct-gallery 1.0 is already installed, it needs to be upgraded to version >= 1.1 with pip3 install -r requirements.txt -r gui-requirements.txt.

…c_mi_config.py

Add command-line editing, API interface and module setup.

The former atc_cmd.py is now replaced by atc_mi_config.py. Also renamed:
 - construct_atc_mi.py -> atc_mi_construct.py
 - construct_atc_mi_adapters.py -> atc_mi_construct_adapters.py
 - test_atc_formats.py -> atc_mi_format_test.py

All sources have been put into the python-interface directory.

Documentation updated.
@Ircama Ircama closed this by deleting the head repository May 9, 2023
@Ircama Ircama mentioned this pull request May 9, 2023
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.

1 participant