Skip to content

Commit

Permalink
Fronius inverter api detection (evcc-io#846)
Browse files Browse the repository at this point in the history
Co-authored-by: BuildTools <[email protected]>
  • Loading branch information
thierolm and BuildTools authored Apr 7, 2021
1 parent 099f37e commit fa7e712
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions detect/definitions.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ const (
taskInverter = "inverter"
taskBattery = "battery"
taskMeter = "meter"
taskFronius = "fronius"
)

func init() {
Expand Down Expand Up @@ -159,7 +160,7 @@ func init() {
"values": chargeStatus,
},
})

taskList.Add(Task{
ID: taskOpenwb,
Type: "mqtt",
Expand Down Expand Up @@ -219,16 +220,15 @@ func init() {
},
})

// // see https://github.com/andig/evcc-config/pull/5/files
// taskList.Add(Task{
// ID: "fronius",
// Type: "http",
// Depends: TaskTCP80,
// Config: map[string]interface{}{
// "path": "/solar_api/v1/GetPowerFlowRealtimeData.fcgi",
// "jq": ".Body.Data.Site.P_Grid",
// },
// })
taskList.Add(Task{
ID: taskFronius,
Type: "http",
Depends: TaskTCP80,
Config: map[string]interface{}{
"path": "/solar_api/GetAPIVersion.cgi",
"jq": ".BaseURL",
},
})

// taskList.Add(Task{
// ID: "volkszähler",
Expand Down

0 comments on commit fa7e712

Please sign in to comment.