v3.0.0-alpha - docs

This commit is contained in:
MickMake 2022-12-08 21:12:32 +11:00
parent 3b4e391b12
commit df33aeac1d
4 changed files with 453 additions and 320 deletions

22
.idea/workspace.xml generated
View File

@ -6,27 +6,9 @@
<component name="ChangeListManager">
<list default="true" id="76adadc9-ae71-42a6-82a1-66dbc8ecb14c" name="Changes" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/AppService.queryMutiPointDataList.ResultData.Data-Points_p58603.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/AppService.queryMutiPointDataList.ResultData.Data-Points_p58604.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/AppService.queryMutiPointDataList.ResultData.Data-Points_p58605.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/AppService.queryMutiPointDataList.ResultData.Data-Points_p58606.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/EXAMPLES.md" beforeDir="false" afterPath="$PROJECT_DIR$/EXAMPLES.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/README.md" beforeDir="false" afterPath="$PROJECT_DIR$/README.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/cmd/cmd_data.go" beforeDir="false" afterPath="$PROJECT_DIR$/cmd/cmd_data.go" afterDir="false" />
<change beforePath="$PROJECT_DIR$/cmd/cmd_info.go" beforeDir="false" afterPath="$PROJECT_DIR$/cmd/cmd_info.go" afterDir="false" />
<change beforePath="$PROJECT_DIR$/cmd/cmd_show.go" beforeDir="false" afterPath="$PROJECT_DIR$/cmd/cmd_show.go" afterDir="false" />
<change beforePath="$PROJECT_DIR$/cmd/cmd_show_device.go" beforeDir="false" afterPath="$PROJECT_DIR$/cmd/cmd_show_device.go" afterDir="false" />
<change beforePath="$PROJECT_DIR$/cmd/cmd_show_point.go" beforeDir="false" afterPath="$PROJECT_DIR$/cmd/cmd_show_point.go" afterDir="false" />
<change beforePath="$PROJECT_DIR$/cmd/cmd_show_psid.go" beforeDir="false" afterPath="$PROJECT_DIR$/cmd/cmd_show_psid.go" afterDir="false" />
<change beforePath="$PROJECT_DIR$/cmd/cmd_show_template.go" beforeDir="false" afterPath="$PROJECT_DIR$/cmd/cmd_show_template.go" afterDir="false" />
<change beforePath="$PROJECT_DIR$/go.mod" beforeDir="false" afterPath="$PROJECT_DIR$/go.mod" afterDir="false" />
<change beforePath="$PROJECT_DIR$/iSolarCloud/api/GoStruct/output/struct_output.go" beforeDir="false" afterPath="$PROJECT_DIR$/iSolarCloud/api/GoStruct/output/struct_output.go" afterDir="false" />
<change beforePath="$PROJECT_DIR$/iSolarCloud/api/GoStruct/output/struct_table.go" beforeDir="false" afterPath="$PROJECT_DIR$/iSolarCloud/api/GoStruct/output/struct_table.go" afterDir="false" />
<change beforePath="$PROJECT_DIR$/iSolarCloud/api/struct_endpoints.go" beforeDir="false" afterPath="$PROJECT_DIR$/iSolarCloud/api/struct_endpoints.go" afterDir="false" />
<change beforePath="$PROJECT_DIR$/iSolarCloud/api/struct_url.go" beforeDir="false" afterPath="$PROJECT_DIR$/iSolarCloud/api/struct_url.go" afterDir="false" />
<change beforePath="$PROJECT_DIR$/iSolarCloud/highlevel_device.go" beforeDir="false" afterPath="$PROJECT_DIR$/iSolarCloud/highlevel_device.go" afterDir="false" />
<change beforePath="$PROJECT_DIR$/iSolarCloud/highlevel_point.go" beforeDir="false" afterPath="$PROJECT_DIR$/iSolarCloud/highlevel_point.go" afterDir="false" />
<change beforePath="$PROJECT_DIR$/iSolarCloud/highlevel_ps.go" beforeDir="false" afterPath="$PROJECT_DIR$/iSolarCloud/highlevel_ps.go" afterDir="false" />
<change beforePath="$PROJECT_DIR$/iSolarCloud/highlevel_template.go" beforeDir="false" afterPath="$PROJECT_DIR$/iSolarCloud/highlevel_template.go" afterDir="false" />
<change beforePath="$PROJECT_DIR$/examples.txt" beforeDir="false" afterPath="$PROJECT_DIR$/examples.txt" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />

View File

@ -5,47 +5,129 @@
GoSungrow api login
## High-level info commands
## Top level
```
Usage:
GoSungrow info [command]
Available Commands:
get Info - Get info from iSolarCloud (table)
raw Info - Get info from iSolarCloud (raw)
json Info - Get info from iSolarCloud (json)
csv Info - Get info from iSolarCloud (json)
put Info - Set info on iSolarCloud
api Api - Low-level interface to the SunGrow api.
data Data - Mid-level access to the Sungrow api.
info Info - General iSolarCloud functions.
show Show - High-level Sungrow commands.
mqtt Connect to a HASSIO broker.
version Version - Self-manage this executable.
selfupdate Version - Update version of executable.
daemon Daemon - Daemonize commands.
cron Cron - Run a command via schedule.
config Config - Create, update or show config file.
shell Shell - Run as an interactive shell.
help Help - Extended help
help Help about any command
completion Generate the autocompletion script for the specified shell
```
```
Usage:
GoSungrow info get [command]
### api commands
```
Available Commands:
point-names Info - Get iSolarCloud point names.
mqtt Info - Get iSolarCloud MQTT service login details.
search-point-names Info - Get iSolarCloud search point names.
devices Info - Get iSolarCloud devices.
models Info - Get ALL iSolarCloud models.
templates Info - Get all defined templates.
template-points Info - List data points used in report template.
device-points Info - List all available device data points.
ls Api - List SunGrow api endpoints/areas
login Api - Login to the SunGrow api.
get Api - Get endpoint details from the SunGrow api.
raw Api - Raw response from the SunGrow api.
save Api - Save the response from the SunGrow api.
struct Api - Show response as Go structure (debug)
put Api - Put details onto the SunGrow api.
```
## Get device details
GoSungrow info get device
GoSungrow info get search-point-names
GoSungrow info get models
## Templates
### data commands
```
GoSungrow info get templates
Available Commands:
list Data - Get data from the Sungrow api (list)
table Data - Get data from the Sungrow api (table)
raw Data - Get data from the Sungrow api (raw)
json Data - Get data from the Sungrow api (json)
csv Data - Get data from the Sungrow api (csv)
graph Data - Get data from the Sungrow api (graph)
xml Data - Get data from the Sungrow api (xml)
xlsx Data - Get data from the Sungrow api (XLSX)
md Data - Get data from the Sungrow api (MarkDown)
struct Data - Show response as Go structure (debug)
```
### show commands
```
Available Commands:
ps PsId - Ps related Sungrow commands.
device Device - Device related Sungrow commands.
template Template - Template related Sungrow commands.
point Point - Point related Sungrow commands.
```
#### show ps commands
```
Available Commands:
list PsId - Show all devices on account.
tree PsId - Show the PS tree.
points PsId - List points used for a given ps_id.
data PsId - Generate points table for a given ps_id.
graph PsId - Generate graphs of points for a given ps_id.
```
#### show device commands
```
Available Commands:
list Device - List all device types.
points Device - List points used for a given device_type.
data Device - Generate points table for a given device_type.
graph Device - Generate graphs of points for a given device_type.
models Device - Get ALL Sungrow models (large list).
```
#### show template commands
```
Available Commands:
list Template - Get all defined templates.
points Template - List points used for a given template_id.
data Template - Generate points table for a given template_id.
graph Template - Generate graphs of points for a given template_id.
```
#### show point commands
```
Available Commands:
ps Point - List data points used by a given ps_id.
ps-data Point - Generate points table for a given ps_id.
ps-graph Point - Generate graphs of points for a given ps_id.
device Point - List data points used by a device.
device-data Point - Generate points table for a given device.
device-graph Point - Generate graphs of points for a given device.
template Point - List data points used by a report template.
template-data Point - Generate points table for a given report template.
template-graph Point - Generate graphs of points for a given report template.
data Point - Get data points.
graph Point - Graph data points.
scan Point - Scan full list of points.
```
## High-level data commands
### Templates
```
GoSungrow show template points
┏━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┓
┃ Template Id ┃ Template Name ┃ Update On ┃
┣━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━┫
@ -65,62 +147,8 @@ GoSungrow info get templates
```
## High-level data commands
```
Usage:
GoSungrow data [command]
Available Commands:
get Data - Get high-level data from iSolarCloud (table)
raw Data - Get high-level data from iSolarCloud (raw)
json Data - Get high-level data from iSolarCloud (json)
csv Data - Get high-level data from iSolarCloud (json)
graph Data - Get high-level data from iSolarCloud (graph)
```
```
Usage:
GoSungrow data get [command]
Available Commands:
stats Data - Get current inverter stats, (last 5 minutes).
template Data - Get data from report template.
points Data - Get points data for a specific date.
real-time Data - Get iSolarCloud real-time data.
psdetails Data - Get iSolarCloud ps details.
```
## General
```
GoSungrow data get stats
┏━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━┳━━━━━━┓
┃ Date ┃ Point Id ┃ Point Name ┃ Value ┃ Unit ┃
┣━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━╇━━━━━━┫
┃ 2022-10-08 09:55:00 │ 1129147.0 │ Co2 Reduce │ 0 │ kg ┃
┃ 2022-10-08 09:55:00 │ 1129147.0 │ Co2 Reduce Total │ 5819 │ kg ┃
┃ 2022-10-08 09:55:00 │ 1129147.0 │ Curr Power │ 788 │ W ┃
┃ 2022-10-08 09:55:00 │ 1129147.0 │ Daily Irradiation │ -- │ ┃
┃ 2022-10-08 09:55:00 │ 1129147.0 │ Equivalent Hour │ 0.27 │ Hour ┃
...
┃ 2022-10-08 09:55:00 │ 1171348.0 │ Today Income │ 0.397 │ AUD ┃
┃ 2022-10-08 09:55:00 │ 1171348.0 │ Total Capacity │ │ ┃
┃ 2022-10-08 09:55:00 │ 1171348.0 │ Total Energy │ 176.5 │ kWh ┃
┃ 2022-10-08 09:55:00 │ 1171348.0 │ Total Income │ 35.806 │ AUD ┃
┃ 2022-10-08 09:55:00 │ 1171348.0 │ Use Energy │ 6.7 │ kWh ┃
┗━━━━━━━━━━━━━━━━━━━━━┷━━━━━━━━━━━┷━━━━━━━━━━━━━━━━━━━━━━━━━━━┷━━━━━━━━━┷━━━━━━┛
```
## Templates
```
GoSungrow info get template-points 7981
GoSungrow show template data 7981 20221201 20221202
┏━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━┓
┃ PointStruct Id ┃ Description ┃ Unit ┃
┣━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━┫
@ -147,7 +175,7 @@ GoSungrow info get template-points 7981
```
```
GoSungrow data get template 8042 20220212
GoSungrow show template data 8042 20220212
┏━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━┓
┃ Date/Time ┃ Point Id ┃ Point Name ┃ Value ┃ Units ┃
┣━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━╇━━━━━━━┫
@ -166,22 +194,8 @@ GoSungrow data get template 8042 20220212
┗━━━━━━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━┷━━━━━━━┛
```
GoSungrow data graph template 8042 20220212 '{"search_string":"p13019","min_left_axis":-6000,"max_left_axis":12000}'
GoSungrow data graph template 8042 20220212 '{"search_string":"p13019"}'
GoSungrow data graph template 8042 20220212 '{"search_string":"p83106","min_left_axis":-6000,"max_left_axis":12000}'
GoSungrow data graph template 8042 20220212 '{"search_string":"p83106"}'
GoSungrow data graph template 8042 20220212 '{"title":"Testing 1. 2. 3.","time_column":"1","value_column":"4","search_column":"3","search_string":"p83106","file_name":"foo.png"}'
GoSungrow data graph template 8042 20220212 '{"title":"Testing 1. 2. 3.","time_column":1,"value_column":4,"search_column":2,"search_string":"p13019","min_left_axis":0,"max_left_axis":0}'
GoSungrow data graph template 8042 20220212 '{"title":"Testing 1. 2. 3.","time_column":1,"value_column":4,"search_column":2,"search_string":"p13149","min_left_axis":0,"max_left_axis":0}'
GoSungrow data graph template 8042 20220212 '{"title":"Testing 1. 2. 3.","time_column":1,"value_column":4,"search_column":2,"search_string":"p83106","file_name":"foo.png"}'
GoSungrow data graph template 8042 20220212 '{"title":"Testing 1. 2. 3.","time_column":1,"value_column":4,"search_column":2,"search_string":"p83106","min_left_axis":-6000,"max_left_axis":1000}'
GoSungrow data graph template 8042 20220212 '{"title":"Testing 1. 2. 3.","time_column":1,"value_column":4,"search_column":2,"search_string":"p83106","min_left_axis":-6000,"max_left_axis":12000}'
GoSungrow data graph template 8042 20220212 '{"title":"Testing 1. 2. 3.","time_column":1,"value_column":4,"search_column":2,"search_string":"p83106","min_left_axis":-6000,"max_left_axis":42000}'
GoSungrow data graph template 8042 20220212 '{"title":"Testing 1. 2. 3.","time_column":1,"value_column":4,"search_column":2,"search_string":"p83106","min_left_axis":0,"max_left_axis":0}'
GoSungrow data graph template 8042 20220212 '{"title":"Testing 1. 2. 3.","time_column":1,"value_column":4,"search_column":3,"search_string":"p83106","file_name":"foo.png"}'
GoSungrow data raw template '' 20220201
GoSungrow data save template '' 20220201
GoSungrow data save template 8042 20220212
GoSungrow show template graph 8042 20220212 p13019
GoSungrow show template graph 8042 20220212 p83106
## Hacking
@ -211,131 +225,148 @@ put Put details onto iSolarCloud
## Get device details
GoSungrow api get getPsList
GoSungrow api get getPsListByName
GoSungrow api get getPsDataSupplementTaskList
GoSungrow api get getPsUser
GoSungrow api get queryPsIdList
GoSungrow api get getInstallInfoList
GoSungrow api get getPsListStaticData
GoSungrow api get queryAllPsIdAndName
GoSungrow api get getPsDetail '{"ps_id":"1171348"}'
GoSungrow api get getPsDetailWithPsType '{"ps_id":"1171348"}'
GoSungrow api get getPsHealthState '{"ps_id":"1171348"}'
GoSungrow api get getPsWeatherList '{"ps_id":"1171348"}'
GoSungrow api get queryDeviceList '{"ps_id":"1171348"}'
GoSungrow api get queryDeviceListByUserId '{"ps_id":"1171348"}'
GoSungrow api get queryDeviceListForApp '{"ps_id":"1171348"}'
GoSungrow api get findPsType '{"ps_id":"1171348"}'
GoSungrow api get getDeviceList '{"ps_id":"1171348"}'
GoSungrow api get getIncomeSettingInfos '{"ps_id":"1171348"}'
GoSungrow api get getPowerChargeSettingInfo '{"ps_id":"1171348"}'
GoSungrow api get getPowerStationInfo '{"ps_id":"1171348"}'
GoSungrow api get WebAppService.getDeviceUuid '{"ps_key":"1171348"}'
GoSungrow api get getPowerStationForHousehold '{"ps_id":"1171348"}'
GoSungrow data get getPsList
GoSungrow data get getPsListByName
GoSungrow data get getPsDataSupplementTaskList
GoSungrow data get getPsUser
GoSungrow data get queryPsIdList
GoSungrow data get getInstallInfoList
GoSungrow data get getPsListStaticData
GoSungrow data get queryAllPsIdAndName
GoSungrow data get getPsDetail PsId:1171348
GoSungrow data get getPsDetailWithPsType PsId:1171348
GoSungrow data get getPsHealthState PsId:1171348
GoSungrow data get getPsWeatherList PsId:1171348
GoSungrow data get queryDeviceList PsId:1171348
GoSungrow data get queryDeviceListByUserId PsId:1171348
GoSungrow data get queryDeviceListForApp PsId:1171348
GoSungrow data get findPsType PsId:1171348
GoSungrow data get getDeviceList PsId:1171348
GoSungrow data get getIncomeSettingInfos PsId:1171348
GoSungrow data get getPowerChargeSettingInfo PsId:1171348
GoSungrow data get getPowerStationInfo PsId:1171348
GoSungrow data get WebAppService.getDeviceUuid PsKey:1171348
GoSungrow data get getPowerStationForHousehold PsId:1171348
## Get device data
GoSungrow api get energyTrend
GoSungrow api get getKpiInfo
GoSungrow api get queryPsProfit '{"date_id":"20221001","date_type":"1","ps_id":"1171348"}'
GoSungrow api get getPowerStationData '{"date_id":"20221001","date_type":"1","ps_id":"1171348"}'
GoSungrow api get getHouseholdStoragePsReport '{"date_id":"20221001","date_type":"1","ps_id":"1171348"}'
GoSungrow api get queryPsProfit '{"date_id":"202210","date_type":"2","ps_id":"1171348"}'
GoSungrow api get getPowerStationData '{"date_id":"202210","date_type":"2","ps_id":"1171348"}'
GoSungrow api get getHouseholdStoragePsReport '{"date_id":"202210","date_type":"2","ps_id":"1171348"}'
GoSungrow api get queryPsProfit '{"date_id":"2022","date_type":"3","ps_id":"1171348"}'
GoSungrow api get getPowerStationData '{"date_id":"2022","date_type":"3","ps_id":"1171348"}'
GoSungrow api get getHouseholdStoragePsReport '{"date_id":"2022","date_type":"3","ps_id":"1171348"}'
GoSungrow api get getPowerTrendDayData '{"BeginTime":"20221004"}'
GoSungrow api get getPowerStatistics '{"ps_id":"1171348"}'
GoSungrow api get WebAppService.showPSView '{"ps_id":"1171348"}'
GoSungrow data get energyTrend
GoSungrow data get getKpiInfo
GoSungrow data get queryPsProfit DateId:20221001 PsId:1171348
GoSungrow data get getPowerStationData DateId:20221001 PsId:1171348
GoSungrow data get getHouseholdStoragePsReport DateId:20221001 PsId:1171348
GoSungrow data get queryPsProfit DateId:202210 PsId:1171348
GoSungrow data get getPowerStationData DateId:202210 PsId:1171348
GoSungrow data get getHouseholdStoragePsReport DateId:202210 PsId:1171348
GoSungrow data get queryPsProfit DateId:2022 PsId:1171348
GoSungrow data get getPowerStationData DateId:2022 PsId:1171348
GoSungrow data get getHouseholdStoragePsReport DateId:2022 PsId:1171348
GoSungrow data get getPowerTrendDayData BeginTime:20221004
GoSungrow data get getPowerStatistics PsId:1171348
GoSungrow data get WebAppService.showPSView PsId:1171348
## Reports
GoSungrow api get getPsReport '{"report_type":"1","date_id":"20220201","date_type":"1","ps_id":"1171348"}'
GoSungrow api get getPsReport '{"report_type":"1","date_id":"20220201","date_type":"2","ps_id":"1171348"}'
GoSungrow api get getPsReport '{"report_type":"1","date_id":"20220201","date_type":"3","ps_id":"1171348"}'
GoSungrow api get reportList '{"ps_id":"1171348","report_type":"1"}'
GoSungrow api get reportList '{"ps_id":"1171348","report_type":"2"}'
GoSungrow api get reportList '{"ps_id":"1171348","report_type":"3"}'
GoSungrow api get reportList '{"ps_id":"1171348","report_type":"4"}'
GoSungrow data get getPsReport DateId:20220201 PsId:1171348
GoSungrow data get getPsReport DateId:20220201 PsId:1171348
GoSungrow data get getPsReport DateId:20220201 PsId:1171348
GoSungrow data get reportList PsId:1171348 ReportType:1
GoSungrow data get reportList PsId:1171348 ReportType:2
GoSungrow data get reportList PsId:1171348 ReportType:3
GoSungrow data get reportList PsId:1171348 ReportType:4
## Templates
GoSungrow api get template 20220202
GoSungrow api get template 8042 20220212
GoSungrow api get getTemplateList
GoSungrow api get WebAppService.queryUserCurveTemplateData '{"template_id":"8042","date_type":"1","start_time":"20220223000000","end_time":"20220223235900"}'
GoSungrow data get template 20220202
GoSungrow data get template 8042 20220212
GoSungrow data get getTemplateList
GoSungrow data get WebAppService.queryUserCurveTemplateData TemplateId:8042 StartTime:20220223000000 EndTime:20220223235900
## User/installer/support info
GoSungrow api get getUserList
GoSungrow api get getUserPsOrderList
GoSungrow api get getPhotoInfo
GoSungrow api get getOrgListByName
GoSungrow api get getOrgListByUserId
GoSungrow api get getOrgListForUser
GoSungrow api get queryUserList
GoSungrow api get getInstallerInfoByDealerOrgCodeOrId '{"dealer_org_code":"AUSCEKK7"}'
GoSungrow api get getInstallerInfoByDealerOrgCodeOrId '{"org_id":"362245"}'
GoSungrow api get getInstallerInfoByDealerOrgCodeOrId '{"org_id":"80384"}'
GoSungrow api get getInstallerInfoByDealerOrgCodeOrId '{"org_id":"80393"}'
GoSungrow api get getInstallerInfoByDealerOrgCodeOrId '{"org_id":"300977"}'
GoSungrow data get getUserList
GoSungrow data get getUserPsOrderList
GoSungrow data get getPhotoInfo
GoSungrow data get getOrgListByName
GoSungrow data get getOrgListByUserId
GoSungrow data get getOrgListForUser
GoSungrow data get queryUserList
GoSungrow data get getInstallerInfoByDealerOrgCodeOrId dealer_org_code:AUSCEKK7
GoSungrow data get getInstallerInfoByDealerOrgCodeOrId OrgId:362245
GoSungrow data get getInstallerInfoByDealerOrgCodeOrId OrgId:80384
GoSungrow data get getInstallerInfoByDealerOrgCodeOrId OrgId:80393
GoSungrow data get getInstallerInfoByDealerOrgCodeOrId OrgId:300977
## Meta-data
GoSungrow api get getDeviceTypeInfoList
GoSungrow api get getDeviceTypeList
GoSungrow api get getInvertDataList
GoSungrow api get getModuleLogTaskList
GoSungrow api get powerDevicePointList
GoSungrow api get getPowerDevicePointNames '{"device_type":"1"}'
GoSungrow api get getPowerDevicePointNames '{"device_type":"2"}'
GoSungrow api get getPowerDevicePointNames '{"device_type":"7"}'
GoSungrow api get getDeviceModelInfoList
GoSungrow api get queryUnitList
GoSungrow api get getPowerSettingCharges
GoSungrow api get getPowerDevicePointNames '{"device_type":"1"}'
GoSungrow api get getPowerDeviceModelTechList '{"device_type":"1"}'
GoSungrow api get getPowerDevicePointInfo '{"id":"1"}'
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
GoSungrow data get getDeviceTypeInfoList
GoSungrow data get getDeviceTypeList
GoSungrow data get getInvertDataList
GoSungrow data get getModuleLogTaskList
GoSungrow data get powerDevicePointList
GoSungrow data get getDeviceModelInfoList
GoSungrow data get queryUnitList
GoSungrow data get getPowerSettingCharges
GoSungrow data get getPowerDeviceModelTechList DeviceType:14
GoSungrow data get getPowerDevicePointInfo Id:1
## Task commands
GoSungrow api get queryBatchCreatePsTaskList
GoSungrow api get getPowerDeviceSetTaskDetailList '{"query_type":"2","task_id":"1","uuid":"844763"}'
GoSungrow api get getPowerDeviceSetTaskDetailList '{"query_type":"7","task_id":"1","uuid":"844763"}'
GoSungrow api get getPowerDeviceSetTaskDetailList '{"size":0,"curPage":0}'
GoSungrow api get getPowerDeviceSetTaskList '{"size":0,"curPage":0}'
GoSungrow api get getPowerDeviceSetTaskList '{"size":0,"curPage":1}'
GoSungrow api get getRemoteUpgradeSubTasksList '{"query_type":"1","task_id":"1577700"}'
GoSungrow api get getRemoteUpgradeTaskList '{"ps_id_list":"1171348"}'
GoSungrow data get queryBatchCreatePsTaskList
GoSungrow data get getPowerDeviceSetTaskDetailList QueryType:2 TaskId:1 Uuid:844763
GoSungrow data get getPowerDeviceSetTaskDetailList QueryType:7 TaskId:1 Uuid:844763
GoSungrow data get getPowerDeviceSetTaskList Size:0 CurPage:1
GoSungrow data get getRemoteUpgradeSubTasksList QueryType:2 TaskId:1577700
GoSungrow data get getRemoteUpgradeTaskList PsIdList:1171348
## Misc commands
GoSungrow api get getDevicePoints '{"point_id":"13003"}'
GoSungrow api get getPowerPictureList
GoSungrow data get getDevicePoints PointId:13003
GoSungrow data get getPowerPictureList
## Hacking
GoSungrow api get checkUnitStatus
GoSungrow api get getAllPowerDeviceSetName
GoSungrow api get getAreaList
GoSungrow api get getCloudList
GoSungrow api get getConfigList
GoSungrow api get getDeviceInfo
GoSungrow api get getOSSConfig
GoSungrow api get getOssObjectStream
GoSungrow api get getEncryptPublicKey
GoSungrow api get getFaultCount
GoSungrow api get getFaultDetail '{"fault_code":"34"}'
GoSungrow api get getFaultMsgByFaultCode '{"fault_code":"703"}'
GoSungrow api get getFaultMsgListWithYYYYMM
GoSungrow data get checkUnitStatus
GoSungrow data get getAllPowerDeviceSetName
GoSungrow data get getAreaList
GoSungrow data get getCloudList
GoSungrow data get getConfigList
GoSungrow data get getDeviceInfo
GoSungrow data get getOSSConfig
GoSungrow data get getOssObjectStream
GoSungrow data get getEncryptPublicKey
GoSungrow data get getFaultCount
GoSungrow data get getFaultDetail FaultCode:34
GoSungrow data get getFaultMsgByFaultCode FaultCode:703
GoSungrow data get getFaultMsgListWithYYYYMM

141
README.md
View File

@ -123,7 +123,12 @@ Token: 424242_42424242424242424242424242424242
Token File: /Users/mick/.GoSungrow/AppService_login.json
```
### High level reporting examples.
For more examples see the EXAMPLES.md and examples.txt files.
[EXAMPLES.md](https://github.com/MickMake/GoSungrow/blob/master/EXAMPLES.md)
[examples.txt](https://github.com/MickMake/GoSungrow/blob/master/examples.txt)
Show all devices on your iSolarCloud account.
```
@ -140,6 +145,7 @@ Show all devices on your iSolarCloud account.
┗━━━━━━━━━━━━━━━━━━┷━━━━━━━━━┷━━━━━━━━━━━━━┷━━━━━━━━━━━━━┷━━━━━━━━━━━━┷━━━━━━━━━━━━━┷━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━┛
```
Show the device tree on your iSolarCloud account.
```
./bin/GoSungrow show ps tree
@ -157,6 +163,7 @@ Show the device tree on your iSolarCloud account.
+---- PsId:1171348 PsName:MickMake42 PsKey:1171348_43_2_2 DeviceName:Battery 02_02 Uuid:1179879
```
List all known data points for all PS on your account.
```
./bin/GoSungrow show ps points
@ -221,6 +228,7 @@ Produce data table of device_type 22 on ps_id 1171348 between 20221001 and 20221
------------------------ --------------------- ----------------------------
```
Do the same, but with a graph!
```
./bin/GoSungrow show ps graph 1171348 22 20221001 20221002 60
@ -267,6 +275,7 @@ Get all defined report templates.
---------------- ------------------ ------------------------
```
Show all data points used in a report template.
```
./bin/GoSungrow show template points 8040
@ -289,6 +298,7 @@ Show all data points used in a report template.
------------- ----------------------------------- ------------ ------------------- ------------ -------------- ------------- --------------- ---------- --------- --------------
```
Produce daily report for template 8040 for date 2022/02/24 display on STDOUT.
```
./bin/GoSungrow show template data 8040 20220204 20220205 120
@ -313,6 +323,7 @@ Produce daily report for template 8040 for date 2022/02/24 display on STDOUT.
------------------------ ------------------- -------------------------- -------------------------- -------------------------- -------------------------- -------------------------- -------------------------- -------------------------- -------------------------- -------------------------- -------------------------- --------------------------
```
And now graph it!
```
./bin/GoSungrow show template graph 8040 20220204 20220205 120
@ -427,6 +438,7 @@ Creating graph file 'AppService.queryMutiPointDataList.ResultData.Data-1129147-1
### Using the API instead.
Want to get your hands dirty?
Get basic inverter information for inverter id 1129147
```
@ -474,81 +486,20 @@ Get the household storage report
$ ./bin/GoSungrow api get getHouseholdStoragePsReport '{"date_id":"2022","date_type":"4","ps_id":"1129147"}'
```
### Git commands
Record statistics data from iSolarCloud to GitHub. (Will clone if not existing.)
% GoSungrow git sync 'Updating statistics' statistics
Record all changes made to GitHub.
% GoSungrow git sync 'Update everything'
Record changes with default commit message.
% GoSungrow git sync default
Record changes made every 30 minutes.
% GoSungrow cron run ./30 . . . . git sync default
List files in repo, (identical to ls).
```
% GoSungrow git ls -l
- rw- r-- r-- admin-mickh admin-mickh 51B 10.Jan'22 13:31 README.md
- rw- rw- r-- admin-mickh admin-mickh 15.60K 10.Jan'22 13:31 contact.json
- rw- rw- r-- admin-mickh admin-mickh 496B 10.Jan'22 13:31 department.json
- rw- rw- r-- admin-mickh admin-mickh 132.14K 10.Jan'22 13:31 device.json
- rw- rw- r-- admin-mickh admin-mickh 1.29K 10.Jan'22 13:31 domain.json
- rw- rw- r-- admin-mickh admin-mickh 858.86K 10.Jan'22 13:31 model.json
- rw- rw- r-- admin-mickh admin-mickh 24.90K 10.Jan'22 13:31 presence.json
- rw- rw- r-- admin-mickh admin-mickh 53.66K 10.Jan'22 13:31 profile.json
- rw- rw- r-- admin-mickh admin-mickh 88B 10.Jan'22 13:31 site.json
- rw- rw- r-- admin-mickh admin-mickh 16.70K 10.Jan'22 13:31 user.json
```
Show changes made to a JSON file.
% GoSungrow git diff devices.json
### Other available Gitlab commands.
Clone repo.
% GoSungrow git clone
Pull repo.
% GoSungrow git pull
Add files to repo.
% GoSungrow git add .
Push repo.
% GoSungrow git push
Commit changes to repo.
% GoSungrow git commit 'this is a commit message'
### Config file.
Show current config.
% GoSungrow config read
Write current config.
% GoSungrow config write
Change diff command used in compares.
% GoSungrow --diff-cmd='sdiff' config write
Change Git repo directory.
% GoSungrow --git-dir=/some/other/directory config write
Change Git repo url.
% GoSungrow --git-url=https://github.com/MickMake/iSolarCloudData config write
Change iSolarCloud API token.
% GoSungrow --cf-token='this is a token string' config write
@ -556,43 +507,27 @@ Change iSolarCloud API token.
## Flags available for all commands:
```
--config string GoSungrow: config file. (default "$HOME/.GoSungrow/config.json")
--debug GoSungrow: Debug mode.
--diff-cmd string Git: Command for diffs. (default "tkdiff")
--git-dir string Git: Local repo directory.
--git-password string Git: Repo password.
--git-repo string Git: Repo url for updates.
--git-sshkey string Git: Repo SSH keyfile.
--git-token string Git: Repo token string.
--git-username string Git: Repo username.
--google-sheet string Google: Sheet URL for updates.
--host string iSolarCloud: Provider API URL. (default "https://augateway.isolarcloud.com")
-p, --password string iSolarCloud: Extension password.
-q, --quiet iSolarCloud: Silence all messages.
--timeout duration iSolarCloud: API timeout. (default 30s)
-u, --user string iSolarCloud: Extension username.
```
## Using environment variables instad of flags.
```
+----------------+------------+---------------------+--------------------------------+-----------------------------------------------+
| FLAG | SHORT FLAG | ENVIRONMENT | DESCRIPTION | DEFAULT |
+----------------+------------+---------------------+--------------------------------+-----------------------------------------------+
| --user | -u | SUNGROW_USER | SUNGRO: API username. | |
| --password | -p | SUNGROW_PASSWORD | SUNGRO: API password. | |
| --host | | SUNGROW_HOST | SUNGRO: Provider API URL. | https://augateway.isolarcloud.com |
| --timeout | | SUNGROW_TIMEOUT | SUNGRO: API timeout. | 30s |
| --google-sheet | | SUNGROW_GOOGLE_SHEET | Google: Sheet URL for updates. | |
| --git-repo | | SUNGROW_GIT_REPO | Git: Repo url for updates. | |
| --git-dir | | SUNGROW_GIT_DIR | Git: Local repo directory. | |
| --git-username | | SUNGROW_GIT_USERNAME | Git: Repo username. | |
| --git-password | | SUNGROW_GIT_PASSWORD | Git: Repo password. | |
| --git-sshkey | | SUNGROW_GIT_SSHKEY | Git: Repo SSH keyfile. | |
| --git-token | | SUNGROW_GIT_TOKEN | Git: Repo token string. | |
| --diff-cmd | | SUNGROW_DIFF_CMD | Git: Command for diffs. | tkdiff |
| --config | | SUNGROW_CONFIG | GoSungrow: config file. | $HOME/.GoSungrow/config.json |
| --debug | | SUNGROW_DEBUG | GoSungrow: Debug mode. | false |
| --quiet | -q | SUNGROW_QUIET | GoSungrow: Silence all messages.| false |
+----------------+------------+------------------+--------------------------------+--------------------------------------------------+
./bin/GoSungrow help flags
+-----------------+------------+-------------------------+--------------------------------+------------------------------------+
| FLAG | SHORT FLAG | ENVIRONMENT | DESCRIPTION | VALUE (* = DEFAULT) |
+-----------------+------------+-------------------------+--------------------------------+------------------------------------+
| --config | | GOSUNGROW_CONFIG | GoSungrow: config file. | /Users/mick/.GoSungrow/config.json |
| --debug | | GOSUNGROW_DEBUG | GoSungrow: Debug mode. | false * |
| --quiet | | GOSUNGROW_QUIET | GoSungrow: Silence all | false * |
| | | | messages. | |
| --timeout | | GOSUNGROW_TIMEOUT | Web timeout. | 0s |
| --user | -u | GOSUNGROW_USER | SunGrow: api username. | ------------------ |
| --password | -p | GOSUNGROW_PASSWORD | SunGrow: api password. | --------------------------- |
| --appkey | | GOSUNGROW_APPKEY | SunGrow: api application key. | 93D72E60331ABDCDC7B39ADC2D1F32B3 |
| | | | | * |
| --host | | GOSUNGROW_HOST | SunGrow: Provider API URL. | https://augateway.isolarcloud.com |
| | | | | * |
| --token-expiry | | GOSUNGROW_TOKEN_EXPIRY | SunGrow: last login. | 2022-12-08T16:58:19 |
| --save | -s | GOSUNGROW_SAVE | Save output as a file. | false * |
| --mqtt-user | | GOSUNGROW_MQTT_USER | HASSIO: mqtt username. | ------------------ |
| --mqtt-password | | GOSUNGROW_MQTT_PASSWORD | HASSIO: mqtt password. | -------------- |
| --mqtt-host | | GOSUNGROW_MQTT_HOST | HASSIO: mqtt host. | localhost |
| --mqtt-port | | GOSUNGROW_MQTT_PORT | HASSIO: mqtt port. | 1883 |
+-----------------+------------+-------------------------+--------------------------------+------------------------------------+
```

View File

@ -1,6 +1,191 @@
################################################################################
GoSungrow api login
GoSungrow api ls areas
################################################################################
"table" can be replaced with:
list Data - Get data from the Sungrow api (list)
table Data - Get data from the Sungrow api (table)
raw Data - Get data from the Sungrow api (raw)
json Data - Get data from the Sungrow api (json)
csv Data - Get data from the Sungrow api (csv)
graph Data - Get data from the Sungrow api (graph)
xml Data - Get data from the Sungrow api (xml)
xlsx Data - Get data from the Sungrow api (XLSX)
md Data - Get data from the Sungrow api (MarkDown)
struct Data - Show response as Go structure (debug)
# large reports
GoSungrow data table WebAppService.getReportListByType
GoSungrow data table WebIscmAppService.getVillageList
GoSungrow data table AppService.getDeviceModelInfoList
GoSungrow data table AppService.showInverterByUnit
GoSungrow data table AppService.queryInverterModelList
GoSungrow data table AppService.getSendReportConfigCron
GoSungrow data table AppService.getSungwsGlobalConfigCache
GoSungrow data table AppService.getOwnerFaultConfigList
################################################################################
GoSungrow data table WebAppService.getDevicePointAttrs Uuid:1179878 DeviceType2:14 PsId:1171348
GoSungrow data table WebAppService.getSelfReportPoint
GoSungrow data table AppService.getSnConnectionInfo CurPage:1 Size:100
GoSungrow data table AppService.stationsPointReport Type:1
GoSungrow data table AppService.getRemoteUpgradeDeviceList DeviceType:14
GoSungrow data table AppService.getRemoteParamSettingList CurPage:1 Size:100 DeviceType:14
GoSungrow data table AppService.getCommunicationDeviceConfigInfo
GoSungrow data table AppService.getOSSConfig
GoSungrow data table AppService.getSendReportConfigCron
GoSungrow data table data raw WebIscmAppService.contactMessageOpera
GoSungrow data table data raw WebIscmAppService.findImageInputStreamString
GoSungrow data table data raw WebIscmAppService.getAuthKey
GoSungrow data table data raw WebIscmAppService.getAuthKeyList
GoSungrow data table data raw WebIscmAppService.getContactMessage
GoSungrow data table data raw WebIscmAppService.getDefinitionIdByKey
GoSungrow data table AppService.devicePointsDataFromMySql PsKey:1171348_14_1_2
GoSungrow data table AppService.energyTrend
GoSungrow data table AppService.findCodeValueList CodeType:1
GoSungrow data table AppService.findPsType
GoSungrow data table AppService.getAPIServiceInfo
GoSungrow data table AppService.getAllPsIdByOrgIds OrgIds:300977
GoSungrow data table AppService.getAreaList
GoSungrow data table AppService.getChnnlListByPsId
GoSungrow data table AppService.getCloudList
GoSungrow data table AppService.getCustomerList
GoSungrow data table AppService.getDeviceList
GoSungrow data table AppService.getDeviceTypeList
GoSungrow data table AppService.getHouseholdStoragePsReport DateId:2022
GoSungrow data table AppService.getHouseholdStoragePsReport DateId:202210
GoSungrow data table AppService.getHouseholdStoragePsReport DateId:20221001
GoSungrow data table AppService.getIncomeSettingInfos
GoSungrow data table AppService.getInstallInfoList
GoSungrow data table AppService.getInstallerInfoByDealerOrgCodeOrId DealerOrgCode:300977
GoSungrow data table AppService.getKpiInfo
GoSungrow data table AppService.getModuleLogTaskList
GoSungrow data table AppService.getPowerChargeSettingInfo
GoSungrow data table AppService.getPowerDevicePointNames DeviceType:14
GoSungrow data table AppService.getPowerDeviceSetTaskList
GoSungrow data table AppService.getPowerDeviceSetTaskList CurPage:1 Size:100
GoSungrow data table AppService.getPowerSettingCharges
GoSungrow data table AppService.getPowerStationBasicInfo
GoSungrow data table AppService.getPowerStationData DateId:2022
GoSungrow data table AppService.getPowerStationData DateId:202210
GoSungrow data table AppService.getPowerStationData DateId:20221020
GoSungrow data table AppService.getPowerStationForHousehold
GoSungrow data table AppService.getPowerStationInfo
GoSungrow data table AppService.getPowerStatistics
GoSungrow data table AppService.getPsDetail
GoSungrow data table AppService.getPsDetailForSinglePage
GoSungrow data table AppService.getPsDetailWithPsType
GoSungrow data table AppService.getPsDeviceListValue
GoSungrow data table AppService.getPsHealthState
GoSungrow data table AppService.getPsList
GoSungrow data table AppService.getPsListByName
GoSungrow data table AppService.getPsListStaticData
GoSungrow data table AppService.getPsReport DateId:20221028 ReportType:1
GoSungrow data table AppService.getPsReport DateId:20221028 ReportType:2
GoSungrow data table AppService.getPsReport DateId:20221028 ReportType:5
GoSungrow data table AppService.getPsWeatherList
GoSungrow data table AppService.getRegionalTree
GoSungrow data table AppService.getRemoteUpgradeTaskList
GoSungrow data table AppService.getReportData ReportType:1
GoSungrow data table AppService.getReportEmailConfigInfo
GoSungrow data table AppService.getSysMsg
GoSungrow data table AppService.getTemplateList
GoSungrow data table AppService.getUpTimePoint
GoSungrow data table AppService.powerDevicePointList
GoSungrow data table AppService.psForcastInfo
GoSungrow data table AppService.psHourPointsValue PsId:1171348
GoSungrow data table AppService.queryAllPsIdAndName
GoSungrow data table AppService.queryDeviceInfo Uuid:1179860
GoSungrow data table AppService.queryDeviceInfo Uuid:1179878
GoSungrow data table AppService.queryDeviceInfo Uuid:844775
GoSungrow data table AppService.queryDeviceInfoForApp Uuid:1179860
GoSungrow data table AppService.queryDeviceInfoForApp Uuid:844775
GoSungrow data table AppService.queryDeviceList
GoSungrow data table AppService.queryDeviceListForApp
GoSungrow data table AppService.queryFaultTypeByDevice
GoSungrow data table AppService.queryFaultTypeByDevicePage
GoSungrow data table AppService.queryFirmwareFilesPage
GoSungrow data table AppService.queryPowerStationInfo
GoSungrow data table AppService.queryPsIdList
GoSungrow data table AppService.queryPsProfit
GoSungrow data table AppService.queryPsProfit DateId:2022
GoSungrow data table AppService.queryPsProfit DateId:202210
GoSungrow data table AppService.queryPsProfit DateId:20221001
GoSungrow data table AppService.queryPsStructureList
GoSungrow data table AppService.queryUnitList
GoSungrow data table AppService.reportList ReportType:1
GoSungrow data table AppService.reportList ReportType:3
GoSungrow data table MttvScreenService.energyEquivalentHoursRanking
GoSungrow data table MttvScreenService.energyPowerGenerationTrends
GoSungrow data table MttvScreenService.getPsDeviceListValue
GoSungrow data table MttvScreenService.getPsKpiForHoursByPsId Day:20221002
GoSungrow data table MttvScreenService.getTheoryAndActualPower
GoSungrow data table WebAppService.getMqttConfigInfoByAppkey AppKey:93D72E60331ABDCDC7B39ADC2D1F32B3
GoSungrow data table WebAppService.getPsIdState
GoSungrow data table WebAppService.getPsList
GoSungrow data table WebAppService.getPsTree
GoSungrow data table WebAppService.getPsValue CurPage:1 Size:100
GoSungrow data table WebAppService.getReportPsTree DeviceType:14
GoSungrow data table WebAppService.queryNounList FaultTypeCode:719
GoSungrow data table WebAppService.queryUserCurveTemplateData TemplateId:8042
GoSungrow data table WebAppService.showPSView
GoSungrow data table WebIscmAppService.checkDeviceModel
GoSungrow data table WebIscmAppService.getAllDevTypeList
GoSungrow data table WebIscmAppService.getAllNodeByType
GoSungrow data table WebIscmAppService.getCodeByType
GoSungrow data table WebIscmAppService.getDeploymentList
GoSungrow data table WebIscmAppService.getDeviceFactoryListByIds
GoSungrow data table WebIscmAppService.getDeviceModel
GoSungrow data table WebIscmAppService.getDevicePro
GoSungrow data table WebIscmAppService.getDeviceTechnical
GoSungrow data table WebIscmAppService.getDeviceType
GoSungrow data table WebIscmAppService.getDeviceTypeInfoById CodeType:14
GoSungrow data table WebIscmAppService.getMaterialList
GoSungrow data table WebIscmAppService.getMaxDeviceIdByPsId
GoSungrow data table WebIscmAppService.getModelPoints DeviceModelId:714
GoSungrow data table WebIscmAppService.getMoneyUnitList
GoSungrow data table WebIscmAppService.getNationList
GoSungrow data table WebIscmAppService.getOrgList
GoSungrow data table WebIscmAppService.getPointInfo
GoSungrow data table WebIscmAppService.getPointInfoPage
GoSungrow data table WebIscmAppService.getPowerDevice
GoSungrow data table WebIscmAppService.getPowerDeviceChannl Id:44
GoSungrow data table WebIscmAppService.getPowerDeviceFactory
GoSungrow data table WebIscmAppService.getPowerDeviceFactoryListCount
GoSungrow data table WebIscmAppService.getPowerDeviceInfo Uuid:844775 DeviceType:14
GoSungrow data table WebIscmAppService.getPowerDeviceModelList DeviceType:14
GoSungrow data table WebIscmAppService.getPowerDeviceModelTechList DeviceType:14
GoSungrow data table WebIscmAppService.getPowerDeviceTypeList
GoSungrow data table WebIscmAppService.getPowerPlanList
GoSungrow data table WebIscmAppService.getPowerStation
GoSungrow data table WebIscmAppService.getPowerStationInfo PsId:1171348
GoSungrow data table WebIscmAppService.getPowerStationList
GoSungrow data table WebIscmAppService.getPowerStore
GoSungrow data table WebIscmAppService.getProvcnNew
GoSungrow data table WebIscmAppService.getPsTreeMenu PsId:1171348
GoSungrow data table WebIscmAppService.getSysMenu MenuId:613
GoSungrow data table WebIscmAppService.getSysOrgPro
GoSungrow data table WebIscmAppService.getUserMenuLs UserId:276937
GoSungrow data table WebIscmAppService.modelPointsPage DeviceModelId:714 DeviceType:14
GoSungrow data table WebIscmAppService.queryDeviceListForBackSys PsId:1171348
GoSungrow data table WebIscmAppService.queryDutyType
GoSungrow data table WebIscmAppService.viewDeviceModel
GoSungrow data table WebIscmAppService.viewDeviceParameter
GoSungrow data table AppService.queryDevicePointDayMonthYearDataList DataType:1 DataPoint:1 PsKey:1171348_14_1_2 StartTime:2020 EndTime:2022
GoSungrow data table AppService.queryDevicePointDayMonthYearDataList DataType:1 DataPoint:1 PsKey:1171348_14_1_2 StartTime:202201 EndTime:202211
GoSungrow data table AppService.queryDevicePointDayMonthYearDataList DataType:1 DataPoint:1 PsKey:1171348_14_1_2 StartTime:20221001 EndTime:20221101
GoSungrow data table AppService.queryDevicePointMinuteDataList QueryType:1 DataType:1 DataPoint:1 StartTimeStamp:20221001000000 EndTimeStamp:20221001235900 PsKey:1171348_14_1_2 Points:p13143,p13144,p13145,p13146,p13147,p13148
GoSungrow data table AppService.getDevicePointMinuteDataList StartTimeStamp:20221001000000 EndTimeStamp:20221001235900 Points:1129147_14_1_1.p13148,1129147_14_1_1.p13147,1129147_14_1_1.p13146,1129147_14_1_1.p13145,1129147_14_1_1.p13144,1129147_14_1_1.p13143
GoSungrow data table AppService.queryMutiPointDataList MinuteInterval:5 StartTimeStamp:20221001000000 EndTimeStamp:20221001235900 Points:1129147_14_1_1.p13148,1129147_14_1_1.p13147,1129147_14_1_1.p13146,1129147_14_1_1.p13145,1129147_14_1_1.p13144,1129147_14_1_1.p13143
GoSungrow api get WebAppService.getDeviceUuid '{"ps_key":"1171348"}'
GoSungrow api get WebAppService.showPSView '{"ps_id":"1171348"}'
GoSungrow api get checkUnitStatus