Commit Graph

17 Commits

Author SHA1 Message Date
35e6098a61 Save latest session changes: migrate to console_set profiles, device_list structure with per-device console_set, docs updated, formatting updates 2025-08-28 08:07:29 -05:00
142d825909 Release V1.00 2025-08-17 16:47:03 -05:00
7d1755b44a Build: add pyproject.toml (PEP 621) with setuptools backend and console script; Docs: explain what it takes to make pyproject.toml and how to build/install. 2025-08-08 22:50:48 -05:00
44c9042eee Docs: FAQ - setup.py not needed to publish on GitHub; clarify hosting vs packaging and mention modern pyproject.toml with link to packaging guide. 2025-08-08 22:47:06 -05:00
3f78ff0bd7 Docs: add 'Publishing a Python Script on GitHub' section with step-by-step instructions. 2025-08-08 22:42:36 -05:00
5784a0b414 Refactor: extract console settings into apply_console_settings(); add apply_config_other wrapper; update get_device_details to use wrapper. Docs: fix Configuration example to separate console and config_other; clarify console section usage. Add dead_functions_summary.md audit confirming no dead functions. 2025-08-08 22:32:09 -05:00
126cd39555 Major code improvements and bug fixes:
1. Restructured configuration: Moved config_other and console to top level
2. Added common _match_pattern function for regex pattern matching
3. Implemented Unifi Hostname bug fix in is_hostname_unknown
4. Created common get_device_hostname function to eliminate code duplication
5. Added comprehensive test scripts for all new functionality
6. Added detailed documentation for all changes
2025-08-08 19:04:33 -05:00
2345184a76 Update documentation to include SetOption4 2025-08-06 21:28:19 -05:00
60ab8f1309 Add single device processing with --Device parameter and hostname matching features 2025-08-06 03:22:26 -05:00
9216619cd1 Add retry logic and failure reporting for console commands. Implements up to 3 retry attempts for timed out commands and provides a summary of all failures at the end of execution. 2025-08-05 02:40:10 -05:00
2d3c867e84 Implement proper Retain parameter handling and documentation. For all Retain parameters (ButtonRetain, SwitchRetain, PowerRetain), set the opposite state first before applying the final state to ensure MQTT broker retain settings are properly updated. Update documentation to explain that Retain parameters represent the final state. 2025-08-05 02:29:30 -05:00
daa015b4c2 Add automatic rule enabling feature to simplify configuration
This commit implements automatic enabling of Tasmota rules when they are defined in the configuration.
Key changes:
- Modified TasmotaManager.py to detect rule definitions and automatically send enable commands
- Updated network_configuration.json to remove redundant Rule1 entry
- Updated documentation in README.md and CONSOLE_COMMANDS.md to explain the new feature
- Added test script to verify the automatic rule enabling functionality

This change simplifies the configuration by allowing users to define rules without needing to
explicitly enable them with a separate command.
2025-08-05 02:21:56 -05:00
42915f508e Fix rule configuration in network_configuration.json and documentation. Changed rule2 to Rule1 to properly enable rule1 instead of rule2. 2025-08-05 02:07:42 -05:00
301eb03c3e Update TasmotaManager with console parameters and documentation 2025-08-05 01:36:18 -05:00
d566a7fdbb Implement console parameters feature to set Tasmota device settings 2025-08-05 01:13:43 -05:00
040fbd68d8 Implement unknown device processing with interactive toggle feature and update documentation 2025-08-04 23:04:25 -05:00
73f7acfd8c Prepare for GitLab migration: Add README, .gitignore, and update TasmotaManager.py 2025-08-03 21:49:38 -05:00