Skip to content

Commit

Permalink
chore: remove invalid detect
Browse files Browse the repository at this point in the history
  • Loading branch information
andig committed Jan 21, 2022
1 parent 4f5beb9 commit 05836a1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
1 change: 0 additions & 1 deletion detect/analyze.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ func Consolidate(res []tasks.Result) Summary {
charger := filter(res, []Criteria{
{tid: taskOpenwb},
{tid: taskWallbe},
{tid: taskVestel},
{tid: taskPhoenixEMEth},
{tid: taskPhoenixEVEth},
{tid: taskEVSEWifi},
Expand Down
15 changes: 0 additions & 15 deletions detect/definitions.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ const (
taskSonnen = "sonnen"
taskPowerwall = "powerwall"
taskWallbe = "wallbe"
taskVestel = "vestel"
taskPhoenixEMEth = "phx-em-eth"
taskPhoenixEVEth = "phx-ev-eth"
taskEVSEWifi = "evsewifi"
Expand Down Expand Up @@ -154,20 +153,6 @@ func init() {
},
})

// TODO fix logic
taskList.Add(tasks.Task{
ID: taskVestel,
Type: tasks.Modbus,
Depends: TaskModbus,
Config: map[string]interface{}{
"ids": []int{255},
"address": 1001,
"type": "input",
"decode": "uint16",
"values": chargeStatus,
},
})

taskList.Add(tasks.Task{
ID: taskPhoenixEMEth,
Type: tasks.Modbus,
Expand Down

0 comments on commit 05836a1

Please sign in to comment.