Version History - MiWiFi XiaoHack Edition
📡 Automatic releases from GitHub
The latest versions are synchronized automatically from GitHub.
Showing 41–45 of 76 releases
📦 v3.3.8 – XiaoHack Edition
Date: 2025-08-21 15:45:20
View original release on GitHub
📝 Changelog — MiWiFi Integration
📦 Version v3.3.8 – 2025-08-21
✨ New Features
- 🖥️ Exposed
manual_main_macin the backend payload, allowing the panel to reliably detect and highlight the manually selected main router. - 🔄 Unified logic in frontend (
status.js,panel-frontend.js) to recognize manual main, auto main, and fallback by MAC address. - 🎛️ Extended topology sensor updates to cover both prefixes (
sensor.topologia_miwifi*andsensor.miwifi_topology*), ensuring all sensors reflect the correctis_mainstate. - 📶 New Wi-Fi Services:
miwifi.get_wifis → retrieve current Wi-Fi configurations (2.4G, 5G, 5G Game, Guest)
miwifi.set_wifis → update SSID, password, or visibility for main Wi-Fi networks. (Disabled, in test.....)
miwifi.set_guest_wifi → enable/disable guest Wi-Fi, change SSID/password, and select encryption.
miwifi.test_guest_wifi → verify guest Wi-Fi settings in real time.
🛠 Critical Fixes
- 🐞 Fixed issue where
sensor.miwifi_topology_*did not update withis_mainflag, causing the panel to ignore the manual main router. - 🔧 Corrected missing
awaiton panel removal (async_remove_panel), avoiding race conditions when re-registering the MiWiFi panel. - ⚡ Fixed auto main detection logic: routers with
show=0, mode=0/3, assoc=1are now correctly identified as the main node, covering firmware variants that previously were skipped.
✅ Fixes & Stability
- 📡 Panel now refreshes properly after changing the main router via service call — no longer requires a full page reload.
- 🧹 Normalized MAC comparisons to lowercase in backend and frontend to prevent mismatches between saved manual MAC and reported topology.
- 🔁 Improved fallback handling: if topology parsing fails, backend gracefully falls back to manual main without losing state.
⚙️ Backend Improvements
- ✅
_async_prepare_toponow injectsmanual_main_macdirectly intoself.dataandtopo_data, making it available for panel and sensors. - 🔄 Coordinators refresh all updaters when a manual main router is saved, ensuring state consistency across mesh nodes.
- 🪛 Expanded update logic to keep all topology sensors (
miwifi_topology*,topologia_miwifi*) synchronized with the same graph data. - 📊 Added
auto_reasonattribute to topology graph for debugging: shows why a node was consideredis_main_auto.
🌐 Localization
- 🌍 Completed new config flow labels across en, de, fr, and pt-BR: activity_days, enable_panel, is_force_load, log_level, wan_speed_unit.
- 🈸 Added stubs for ru, tr, and zh-Hans covering errors.*, notifications.*, service_fields.*, and services.* keys to avoid missing-key issues. Community translations welcome.
- 🧩 Guest Wi-Fi service strings added to all locales where applicable (name + fields), aligning UI with new services.
🚫 Capabilities
- No changes in this release.
🆕 Compatibility Model
- ✅ Added support for new router model to be confirmed.
🧹 Code Cleanup
- 🗑️ Removed redundant checks for
is_main_autoin frontend, now centralized inisMainNode()helper. - 📖 Improved debug logging to show exposed
manual_main_mac,auto_reason, and updated panel payload keys.
✅ Compatibility
- ✅ Compatible with Home Assistant 2025.8.0 and newer.
- 🧩 Compatible with all panel versions from
1.3.1+.
📘 How to Update
- Replace all files inside your
custom_components/miwifi/folder with the contents of this release. - Restart Home Assistant.
- Clear browser cache (Ctrl+F5) to ensure the panel frontend loads the updated JS files.
- Select a main router via service or allow auto-detection — the panel will now display it consistently.
ℹ️ This release focuses on manual main router detection and improved auto main detection, fixing inconsistencies between backend, sensors, and panel.
💖 Support & Donations
If you find this integration useful and want to support continued development, you can make a donation here:
Every contribution helps me dedicate more time to building and improving MiWiFi. Thank you! 🙌
📦 v3.3.7 – XiaoHack Edition
Date: 2025-08-06 18:34:46
View original release on GitHub
📝 Changelog — MiWiFi Integration
📦 Version v3.3.7 – 2025-08-06
✅ Fixes & Stability
🧱 Prevented integration crashes when router endpoints return invalid or empty data: All router data collection (dump_router_data) now gracefully handles missing responses and unsupported features. No more full service failure due to new_status, wifi_config or similar issues.
⚙️ Improvements
🔍 Added per-feature validation using unsupported.py: The integration checks whether a router model supports each feature before calling it. Skipped features are marked as "error": "unsupported".
📄 Added dump result metadata: Each router dump now includes:
"status": "ok"or"partial""errors": list of failed or unsupported blocks
This allows better feedback and debugging from the frontend or log files.
🛡️ Safer and cleaner log output with proper fallback per section. The dump always gets created, even if some blocks are missing.
✅ Compatibility
- ✅ Compatible with Home Assistant 2025.7.0 and newer.
- 🧩 Compatible with all MiWiFi panels from
1.3.0+.
📘 How to Update
- Replace all files inside your
custom_components/miwifi/folder with the contents of this release. - Restart Home Assistant.
- Use the
miwifi.dump_router_dataservice again and check for"status"and"errors"in the result.
ℹ️ This update ensures the dump service never fails, even on routers with incomplete API support. It gives you detailed visibility on which sections failed and why.
💖 Support & Donations
If you find this integration useful and want to support continued development, you can make a donation here:
Every contribution helps me dedicate more time to improving MiWiFi. Thank you! 🙌
📦 v3.3.6 – XiaoHack Edition
Date: 2025-08-05 21:43:16
View original release on GitHub
📝 Changelog — MiWiFi Integration
📦 Version v3.3.6 – 2025-08-05
🛠 Critical Fixes
- Fixed: Options form in
config_flowwas failing due to a missinghassargument in_get_options_schema().
→ Now uses self.hass internally and loads correctly without errors.
- Fixed: Blocking I/O calls (
open,zipfile) indump_router_datamoved toexecutor.
→ No more Detected blocking call to open warnings.
- Fixed: Docker issue creating
/config/www/miwifi/exports.
→ Directory creation now runs safely in a thread executor with full path creation.
✨ New Behaviors
- Dump cleanup improved:
→ Now keeps only the last 2 dumps (ZIP + JSON) and removes older ones.
- Logs cleanup isolated:
→ MiWifiDownloadLogsService now only deletes logs_*.zip files. → MiWifiDumpRouterDataService now only deletes dump_*.zip and associated .json files.
- Memory parsing standardized:
→ Added parse_memory_to_mb() utility. → Correctly interprets values like "2GB" → 2048 MB, "512MB" → 512 MB, or raw numbers.
⚙️ Backend Improvements
- Introduced new
utils.pymodule to centralize reusable utilities (parse_memory_to_mb). - Improved logging for dump and log cleanup actions with better debugging context.
✅ Compatibility
- ✅ Compatible with Home Assistant 2025.7.0+.
- 🧩 Works with all panel versions from
1.3.0+.
📘 How to Update
- Replace all files inside your
custom_components/miwifi/folder with this release. - Restart Home Assistant.
- Clear browser cache if the panel does not update automatically.
ℹ️ This post-release addresses important bugfixes in options flow, dump generation, and memory parsing to ensure full compatibility and stability.
💖 Support & Donations
If you find this integration useful and want to support continued development, you can make a donation here:
Every contribution helps me dedicate more time to building and improving MiWiFi. Thank you! 🙌
📦 v3.3.5 – XiaoHack Edition
Date: 2025-08-05 11:17:26
View original release on GitHub
📝 Changelog — MiWiFi Integration
📦 Version v3.3.4 — 2025-08-05
✨ New Features
- New service: __HTML_PLACEHOLDER_0__
- Generates a complete JSON dump of the main router, including:
- System status and hardware info
- Network configuration (WAN, Wi-Fi, topology)
- Connected devices and MAC filter info
- NAT rules (single and range)
- QoS configuration
- Optional full Wi-Fi configuration (SSID, encryption, etc.)
- Selectable blocks: You can choose which sections to include.
- Sensitive data masking: Option to automatically anonymize passwords and MAC addresses.
- Exported as __HTML_PLACEHOLDER_0__ for easy download, while keeping the raw
.jsonin/config/www/miwifi/exports. - Translated fields in all supported languages: 🇺🇸 English, 🇪🇸 Spanish, 🇩🇪 German, 🇫🇷 French, 🇧🇷 Portuguese, 🇷🇺 Russian, 🇹🇷 Turkish, 🇨🇳 Simplified Chinese.
✅ Fixes & Stability
- Adjusted JSON formatting for improved readability (4-space indentation).
- Improved notifications: Persistent notification now provides a direct download link to the
.zip.
⚙️ Improvements
- Added full multi-language translations for the new service fields.
- Prepared the backend for future panel integration (button to trigger the dump directly from the UI).
📘 How to Update
- Replace all files in
custom_components/miwifi/with the new version. - Restart Home Assistant.
- Access Developer Tools → Services, select
miwifi.dump_router_data, and configure the dump options. - Check /config/www/miwifi/exports/ for the
.zipfile with the router dump.
💖 Support & Donations
If this integration helps you, consider supporting development:
Every contribution helps me dedicate more time to building and improving MiWiFi. Thank you! 🙌
📦 v3.3.4 – XiaoHack Edition
Date: 2025-08-02 19:01:47
View original release on GitHub
📝 Changelog — MiWiFi Integration
📦 Version v3.3.4 – 2025-08-02
✨ New Features
- Directly add unsupported features via service
When a compatibility check fails, you can now use the new service miwifi.add_unsupported to add a model/feature pair directly into unsupported_user.py without editing files manually.
- Dual-layer check for duplicates
The service now checks both the original __HTML_PLACEHOLDER_0__ and the user __HTML_PLACEHOLDER_1__ before adding entries, avoiding unnecessary duplicates.
- Dynamic notifications
Added contextual notifications:
- ➕ Added: When a model/feature is successfully added.
- ⚠️ Already exists: When the model/feature is already present in either
unsupported.pyorunsupported_user.py.
- Multi-language support for new notifications
Added new translation keys for all supported languages for clearer user feedback.
✅ Fixes & Stability
- Improved dynamic module loading:
Correctly loads unsupported_user.py even when using relative imports.
- Non-blocking file operations:
File writes for unsupported_user.py now run in a thread-safe manner to prevent blocking the Home Assistant event loop.
⚙️ Backend Improvements
- Code refactor in __HTML_PLACEHOLDER_0__:
Added get_combined_unsupported() to merge unsupported.py and unsupported_user.py dynamically for compatibility checks.
- Extended CompatibilityChecker:
Now uses the combined unsupported registry, allowing custom entries to take effect immediately.
✅ Compatibility
- ✅ Compatible with Home Assistant 2025.7.4 and newer.
- 🧩 Fully supports all panel versions from
1.3.0+.
📘 How to Update
- Replace all files inside your
custom_components/miwifi/folder with the contents of this release. - Restart Home Assistant.
- Use the new service
miwifi.add_unsupportedvia Developer Tools → Services to add unsupported features dynamically.
ℹ️ Additional Information
- File safety:
Your changes are stored in unsupported_user.py and preserved during updates.
- Dual-layer support:
The integration now reads from both unsupported.py (maintainer entries) and unsupported_user.py (your custom entries).
💖 Support & Donations
If you find this integration useful and want to support continued development, you can make a donation here:
Every contribution helps me dedicate more time to building and improving MiWiFi. Thank you! 🙌
Asistente XiaoHack
Xiaohack V 3.3 | © Copyright 2024 | Users Online: 0 | Estado: Offline
