-
Notifications
You must be signed in to change notification settings - Fork 48
/
TODO.txt
108 lines (85 loc) · 4.58 KB
/
TODO.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
Next up:
- Add supoort for yaml output.
- Add error output from iSolarCloud to mqtt.
- Add iSolarCloud state to mqtt.
- Add retry counts when run as 'mqtt run' or 'mqtt sync' and exit after a configured number.
- Add retry and max_retry to mqtt.
- Maybe add all known endpoints to mqtt as an option for regular polling instead of using a json file.
---
2023-05-15 21:22:24.895 ERROR (MainThread) [homeassistant.util.logging] Exception in message_received when handling msg on 'homeassistant/sensor/GoSungrow/GoSungrow-getPsDetail-1129147-p83072/state': '{"value":""}'
ValueError: could not convert string to float: ''
ValueError: Template error: float got invalid input '' when rendering template '{{ value_json.value | float }}' but no default was specified
2023-05-15 21:22:25.216 ERROR (MainThread) [homeassistant.util.logging] Exception in message_received when handling msg on 'homeassistant/sensor/GoSungrow/GoSungrow-virtual-1129147-p83097/state': '{"value":""}'
ValueError: could not convert string to float: ''
ValueError: Template error: float got invalid input '' when rendering template '{{ value_json.value | float }}' but no default was specified
2023-05-15 21:22:25.290 ERROR (MainThread) [homeassistant.util.logging] Exception in message_received when handling msg on 'homeassistant/sensor/GoSungrow/GoSungrow-getPsDetail-1129147-p83118/state': '{"value":""}'
ValueError: could not convert string to float: ''
ValueError: Template error: float got invalid input '' when rendering template '{{ value_json.value | float }}' but no default was specified
ValueError: could not convert string to float: 'unknown'
Formatting issues:
- getUpTimePoint <- map[string]
- AppService.getKpiInfo <- map[string]
- AppService.queryDeviceList <- map[string]
Fetch issues with:
- showInverterByUnit - too large.
- WebAppService.getReportListByType - too large.
- Need to deal with memory management on large JSON objects.
Critical metadata
- WebIscmAppService.modelPointsPage DeviceModelId:714 DeviceType:14 - Use this to fetch all points for a particular ps_key.
- AppService.getPowerDevicePointNames DeviceType:14 - Point names for device.
- WebIscmAppService.getModelPoints DeviceModelId:714 - Point names for device.
- WebIscmAppService.queryDeviceListForBackSys - Basic relationships between devices.
- AppService.queryInverterModelList
- WebIscmAppService.getDeviceModel
- WebIscmAppService.getPointInfo
- WebIscmAppService.getPointInfoPage
- WebIscmAppService.getPowerDeviceTypeList
- WebIscmAppService.getPsTreeMenu
- WebIscmAppService.getUserMenuLs UserId:276937
- WebIscmAppService.getSysMenu MenuId:613
- WebIscmAppService.getDeviceTechnical
- WebIscmAppService.getDeviceType
- WebIscmAppService.getDeviceTypeInfoById CodeType:14
- WebIscmAppService.getCodeByType
- WebIscmAppService.getDeviceFactoryListByIds
- AppService.getOwnerFaultConfigList
- AppService.getSungwsGlobalConfigCache
- AppService.getRemoteParamSettingList CurPage:1 Size:100 DeviceType:14
- WebAppService.getSelfReportPoint
- WebAppService.getDevicePointAttrs Uuid:1179878 DeviceType2:14 PsId:1171348
Handle virtual points automatically.
- iSolarCloud/AppService/getPsDetail/data.go
- iSolarCloud/AppService/queryDeviceListForApp/data.go
- iSolarCloud/AppService/getKpiInfo/data.go
- iSolarCloud/AppService/getPowerStationData/data.go
- iSolarCloud/AppService/getHouseholdStoragePsReport/data.go
- iSolarCloud/AppService/getAreaList/data.go
- iSolarCloud/AppService/getPsList/data.go
- iSolarCloud/AppService/getPsDetail/data.go
Handle large arrays by un-flattening.
- iSolarCloud/AppService/getPowerStationData/data.go
Figure out how to better present large []structs.
- iSolarCloud/AppService/powerDevicePointList/data.go
Fix DesignCapacity errors when set to Integer.
- iSolarCloud/AppService/queryPowerStationInfo/data.go
Not producing correct results.
- iSolarCloud/AppService/queryPsIdList/data.go
- iSolarCloud/AppService/queryPsProfit/data.go
- iSolarCloud/AppService/queryPsNameByPsId/data.go
Remove redundant reflect scans in
- Search for 'DO NOT BREAK'
- iSolarCloud//api/GoStruct/structmap.go
- iSolarCloud//api/GoStruct/struct_reflect.go
- iSolarCloud//api/GoStruct/struct_data.go
- iSolarCloud//api/GoStruct/struct_table.go
Some problems with data:
- GoSungrow data table AppService.psHourPointsValue PsId:1171348
Merge Device structs:
- AppService.queryDeviceInfo
- AppService.queryDeviceInfoForApp
- AppService.queryDeviceList
- AppService.getDeviceList
- WebAppService.getPsTree
- MttvScreenService.getPsDeviceListValue
- AppService.getPsList
- AppService.getPsListForPsDataByPsId