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.
This commit is contained in:
不求圣剑
2025-11-24 14:32:39 +08:00
parent 11ef141bd7
commit 7bc30655c9
2 changed files with 10 additions and 10 deletions

View File

@@ -11,11 +11,11 @@ import paho.mqtt.client as mqtt
battery_soc_point = "21548033"
## 能量累计
solar_energy_point = "16961537"
home_energy_point = "16936961"
grid_import_energy_point = "16959489"
grid_export_energy_point = "16960513"
battery_charge_energy_point = "16952321"
battery_discharge_energy_point = "16953345"
home_energy_point = "16980993"
grid_import_energy_point = "16969729"
grid_export_energy_point = "16970753"
battery_charge_energy_point = "16964609"
battery_discharge_energy_point = "16965633"
## 实时功率
solar_power_point = "1026001"
home_power_point = "21171201"