Commit Graph

80 Commits

Author SHA1 Message Date
不求圣剑
073e3e203d 更新发布脚本 2026-01-22 14:17:10 +08:00
不求圣剑
2cb6473db7 增加token 配置 2026-01-22 14:15:05 +08:00
不求圣剑
4e138f4459 增加属性 2026-01-21 10:50:56 +08:00
不求圣剑
a66ad4dc88 feat: 更新协议 2026-01-21 10:31:12 +08:00
不求圣剑
12ed7103f5 docs: update README.md to indicate beta stage and app version requirement
- Added a warning about the integration being in beta testing phase for stability awareness.
- Included a requirement for the JackeryHome app version to be greater than 2.10.18 for proper functionality.
2025-12-08 11:32:07 +08:00
不求圣剑
f34139003c 版本更新至 v1.1.35 2025-11-27 16:31:15 +08:00
不求圣剑
e787e14653 docs: update README.md to include energy section with demo image
- Added a new section for Energy in the README.md to provide users with information and a visual reference.
- Included a demo image for better understanding of the energy features.
2025-11-27 16:31:02 +08:00
不求圣剑
3b16abec2a 版本更新至 v1.1.34 2025-11-26 15:45:56 +08:00
不求圣剑
e5cde3d457 chore: remove obsolete files and clean up repository
- Deleted unused files including `AGENTS.md`, `data_transmission_example.py`, `delete.py`, and `main.py` to streamline the project structure.
- Updated `README.md` to reflect the removal of these files and clarify integration details.
- Minor adjustments made to `strings.json` for consistency.
2025-11-26 15:45:40 +08:00
不求圣剑
27d9170aa1 版本更新至 v1.1.33 2025-11-25 15:58:06 +08:00
不求圣剑
8a773c4293 fix: correct battery consumption and production mappings in energy flow card configuration
- Swapped the consumption and production sensor references for the battery entity to ensure accurate energy flow representation.
2025-11-25 15:55:29 +08:00
不求圣剑
31e8bcd148 版本更新至 v1.1.32 2025-11-25 15:50:24 +08:00
不求圣剑
ed3b01e600 fix: correct battery discharge power logic in JackeryHome sensor
- Updated the logic for the battery discharge power sensor to ensure it returns the correct meter value when positive, improving accuracy in power readings.
2025-11-25 15:50:10 +08:00
不求圣剑
8d5fe5f646 refactor: add individual EPS sensor and update display settings in energy flow card configuration
- Introduced a new individual entity for EPS power with customizable display options.
- Updated display settings to include zero line visibility and transparency adjustments for improved user experience.
2025-11-25 14:58:29 +08:00
不求圣剑
5982c0420a 版本更新至 v1.1.31 2025-11-25 14:27:17 +08:00
不求圣剑
c5a776b203 refactor: add new EPS sensors and update mappings in JackeryHome
- Introduced new sensors for EPS power, export energy, and import energy with appropriate configurations.
- Updated the meter serial number mappings to include the new EPS sensors for improved data accuracy.
2025-11-25 14:26:55 +08:00
不求圣剑
ac096a1141 版本更新至 v1.1.30 2025-11-25 10:56:29 +08:00
不求圣剑
80856f58dc refactor: correct battery consumption and production mappings in energy flow card configuration
- Swapped the consumption and production sensor references for the battery entity in the energy flow card configuration to ensure accurate energy flow representation.
- Updated grid import and export energy serial numbers in the JackeryHome sensor mappings for consistency and improved accuracy.
2025-11-25 10:56:20 +08:00
不求圣剑
0bcfe5a32b 版本更新至 v1.1.29 2025-11-25 10:24:34 +08:00
不求圣剑
1d50d5a7b0 refactor: update energy flow card configuration and sensor logic for improved accuracy
- Modified the energy flow card configuration to reflect correct sensor mappings for grid and battery entities, changing production and consumption references.
- Enhanced the JackeryHome sensor logic to ensure accurate power readings for battery charge and discharge, correcting the handling of meter values.
- Updated display states for better representation of energy flow direction.
2025-11-25 10:24:04 +08:00
不求圣剑
a641b64a8f 版本更新至 v1.1.28 2025-11-25 10:10:27 +08:00
不求圣剑
67371a7b8c refactor: update energy flow card configuration for improved clarity and functionality
- Reorganized entity references in the energy flow card configuration, introducing a clearer structure for grid, solar, and battery entities.
- Updated sensor mappings for grid consumption and production, battery charge/discharge, and state of charge.
- Removed outdated individual entity configurations to streamline the setup.
2025-11-25 10:09:52 +08:00
不求圣剑
32adebbd1f 版本更新至 v1.1.27 2025-11-24 16:58:24 +08:00
不求圣剑
cfd4a0f216 refactor: update meter serial numbers in JackeryHome sensor mappings
- Updated the serial numbers for home energy and solar power to reflect the correct values.
- Ensured consistency in sensor mappings for improved data accuracy.
2025-11-24 16:58:10 +08:00
不求圣剑
c5e4946b4e 版本更新至 v1.1.26 2025-11-24 16:05:25 +08:00
不求圣剑
1d9f756f76 refactor: update energy flow card configuration and sensor mappings for JackeryHome
- Renamed the energy flow card from `energy-flow-card-plus` to `power-flow-card-plus` for consistency.
- Updated entity references in the energy flow card configuration to align with new sensor identifiers, including home power, solar power, and grid import/export.
- Adjusted the JackeryHome sensor mappings to reflect the correct meter serial numbers and improved the handling of power sensor values.
- Enhanced the configuration with additional properties such as `min_flow_rate`, `max_flow_rate`, and `clickable_entities` for better functionality.
2025-11-24 16:05:12 +08:00
不求圣剑
64925b9a76 版本更新至 v1.1.25 2025-11-24 14:32:52 +08:00
不求圣剑
7bc30655c9 refactor: update energy point identifiers in data transmission example and JackeryHome sensor
- Updated home energy, grid import/export, and battery charge/discharge point identifiers to new values for consistency across the project.
- Adjusted the default device serial number in the JackeryDataCoordinator to an empty string for improved flexibility.
2025-11-24 14:32:39 +08:00
不求圣剑
11ef141bd7 refactor: remove outdated documentation files and enhance README for JackeryHome integration
- Deleted obsolete files including CHANGELOG.md, DATA_FORMAT.md, HACS_PUBLISHING_GUIDE.md, MQTT_FIX_SUMMARY.md, TROUBLESHOOTING.md, and test_mqtt.py to streamline the project.
- Updated README.md to include detailed architecture design, sensor value processing logic, and improved MQTT topic format explanations.
- Enhanced clarity on the integration's coordinator pattern and data flow, ensuring users have comprehensive guidance on setup and usage.
2025-11-19 10:43:47 +08:00
不求圣剑
27fd2e98a2 refactor: update entity names in energy flow card configuration for JackeryHome
- Changed entity references to align with JackeryHome naming conventions, including solar power, grid consumption/production, battery charge/discharge, and home power.
2025-11-18 17:42:09 +08:00
不求圣剑
8624c65278 版本更新至 v1.1.24 2025-11-18 17:29:22 +08:00
不求圣剑
4b8dd033db feat: add battery state of charge calculation in JackeryHome sensor
- Implemented a new calculation for battery state of charge (SOC) by multiplying the meter value by 0.1 to convert it to a percentage.
2025-11-18 17:29:10 +08:00
不求圣剑
d065c0cb56 版本更新至 v1.1.23 2025-11-18 17:21:30 +08:00
不求圣剑
bc5865a0ef fix: update entity name attribute in JackeryHome sensor
- Changed the `_attr_has_entity_name` attribute from `True` to `False` to reflect the correct entity naming behavior.
2025-11-18 17:21:08 +08:00
不求圣剑
9853871a61 版本更新至 v1.1.22 2025-11-18 17:07:07 +08:00
不求圣剑
363f76b26f feat: add MQTT connection issue summary and troubleshooting guide
- Introduced a comprehensive summary of MQTT connection issues and their resolutions in `MQTT_FIX_SUMMARY.md`.
- Created a detailed troubleshooting guide in `TROUBLESHOOTING.md` to assist users in resolving common MQTT-related problems.
- Updated `README.md` to include prerequisites for MQTT integration and enhanced error handling instructions.
- Improved user experience by clarifying configuration steps and providing clear error messages for MQTT integration issues.
2025-11-18 17:06:59 +08:00
不求圣剑
0441a1ab38 feat: enhance MQTT integration checks in JackeryHome
- Added validation to ensure MQTT integration is configured before setting up the JackeryHome integration.
- Updated error handling in the configuration flow to provide user feedback if MQTT is not available.
- Improved logging for MQTT subscription processes and error handling in the data coordinator.
- Updated user interface strings to reflect the new requirements for MQTT integration.
2025-11-18 17:04:55 +08:00
不求圣剑
e6afd02ff2 版本更新至 v1.1.21 2025-11-18 17:00:02 +08:00
不求圣剑
b68566edd1 feat: implement data coordinator for JackeryHome integration
- Introduced a new `JackeryDataCoordinator` class to manage MQTT subscriptions and data retrieval for all sensor entities.
- Updated the setup process to create and start the coordinator, allowing shared data handling among sensors.
- Enhanced sensor lifecycle management by registering and unregistering sensors with the coordinator.
- Improved logging for better visibility into the coordinator's operations and sensor updates.
2025-11-18 16:59:52 +08:00
不求圣剑
a0a310cf92 版本更新至 v1.1.20 2025-11-18 16:47:33 +08:00
不求圣剑
c94fb0d0c8 fix: improve MQTT connection handling in JackeryHome sensor
- Added a delay at startup to ensure MQTT connection is established before sending data requests.
- Implemented error handling for MQTT connection issues, logging warnings and continuing the periodic data request process.
- Enhanced logging for task cancellation to provide clearer feedback on sensor operation.
2025-11-18 16:47:15 +08:00
不求圣剑
fa44eb31a8 版本更新至 v1.1.9 2025-11-18 16:42:28 +08:00
不求圣剑
3bb61cb16d feat: add TODO for device serial number retrieval in JackeryHome sensor
- Added a TODO comment to implement retrieval of the device serial number from LWT messages for future enhancements.
2025-11-18 16:42:13 +08:00
不求圣剑
7181579d66 fix: update device serial number in JackeryHome sensor
- Changed the device serial number from an empty string to a specific value for improved identification and functionality.
2025-11-18 16:41:54 +08:00
不求圣剑
66e449ae3d 版本更新至 v1.1.8 2025-11-18 16:33:13 +08:00
不求圣剑
d92fb9781a refactor: enhance sensor lifecycle management in JackeryHome component
- Added calls to `super().async_added_to_hass()` and `super().async_will_remove_from_hass()` for improved lifecycle handling.
- Ensured proper logging during sensor addition and removal from Home Assistant.
2025-11-18 16:33:03 +08:00
不求圣剑
27d7a0b7ee 版本更新至 v1.1.7 2025-11-18 16:21:07 +08:00
不求圣剑
fbd766d035 feat: enhance JackeryHome sensor attributes for improved functionality
- Added `_attr_should_poll` attribute to indicate polling behavior.
- Introduced `_attr_has_entity_name` attribute to support entity naming conventions.
2025-11-18 16:20:13 +08:00
不求圣剑
bcf7da5fb9 版本更新至 v1.1.6 2025-11-18 16:09:02 +08:00
不求圣剑
15215ab232 refactor: improve sensor handling and data processing in JackeryHome component
- Introduced a constant for request interval to standardize data request timing.
- Refactored meter serial number mapping logic for clarity and maintainability.
- Enhanced LWT and data message handling with dedicated methods for improved readability and error handling.
- Updated periodic data request logic to utilize the new request interval constant.
2025-11-18 16:08:40 +08:00