Skip to content

Commit

Permalink
chore: upgrade and fork go-powerwall
Browse files Browse the repository at this point in the history
  • Loading branch information
andig committed Aug 8, 2023
1 parent ddffab0 commit cb33aca
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ require (
github.com/BurntSushi/toml v1.3.2
github.com/Masterminds/sprig/v3 v3.2.3
github.com/PuerkitoBio/goquery v1.8.1
github.com/andig/go-powerwall v0.2.1-0.20230808193218-8a882f7e4dc6
github.com/andig/gosunspec v0.0.0-20211108155140-af2e73b86e71
github.com/andig/mbserver v0.0.0-20230310211055-1d29cbb5820e
github.com/asaskevich/EventBus v0.0.0-20200907212545-49d423059eef
Expand All @@ -30,7 +31,6 @@ require (
github.com/enbility/cemd v0.2.2
github.com/enbility/eebus-go v0.2.0
github.com/fatih/structs v1.1.0
github.com/foogod/go-powerwall v0.2.0
github.com/glebarez/sqlite v1.8.0
github.com/go-http-utils/etag v0.0.0-20161124023236-513ea8f21eb1
github.com/go-telegram-bot-api/telegram-bot-api/v5 v5.5.1
Expand Down Expand Up @@ -208,6 +208,4 @@ require (
modernc.org/sqlite v1.23.1 // indirect
)

replace github.com/foogod/go-powerwall => github.com/andig/go-powerwall v0.2.1-0.20230525091927-777196024a18

replace github.com/grid-x/modbus => github.com/evcc-io/modbus v0.0.0-20230705160100-23e1df2c01c3
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,8 @@ github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuy
github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho=
github.com/andig/go-powerwall v0.2.1-0.20230525091927-777196024a18 h1:fbf6hVLSKUlhyfY7y8IcH1Z6Iw0QDOu908UGxau582Y=
github.com/andig/go-powerwall v0.2.1-0.20230525091927-777196024a18/go.mod h1:MR0vuGPmz9sLXrIAsdkXulW1j6t6svVr2D1nJKaJI78=
github.com/andig/go-powerwall v0.2.1-0.20230808193218-8a882f7e4dc6 h1:OpoDGriy3bWldHCKfpFyBx1mriezep/T55nPFdxo1nM=
github.com/andig/go-powerwall v0.2.1-0.20230808193218-8a882f7e4dc6/go.mod h1:Xk09mD+7RTCuuHMX5RxlqgEUeh9oZdIX0rL0qiY6l/4=
github.com/andig/gosunspec v0.0.0-20211108155140-af2e73b86e71 h1:tnjVNZjuz+CK6fdc7ohJpMHjcEGFI5APp0l5T5Ocr/Y=
github.com/andig/gosunspec v0.0.0-20211108155140-af2e73b86e71/go.mod h1:c6P6szcR+ROkqZruOR4f6qbDKFjZX6OitPpj+yJ/r8k=
github.com/andig/mbserver v0.0.0-20230310211055-1d29cbb5820e h1:m/NTP3JWpR7M0ljLxiQU4fzR25jjhe1LDtxLMNcoNJQ=
Expand Down
2 changes: 1 addition & 1 deletion meter/powerwall.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ import (
"strings"
"time"

"github.com/andig/go-powerwall"
"github.com/evcc-io/evcc/api"
"github.com/evcc-io/evcc/provider"
"github.com/evcc-io/evcc/util"
"github.com/evcc-io/evcc/util/request"
"github.com/foogod/go-powerwall"
)

// PowerWall is the tesla powerwall meter
Expand Down

0 comments on commit cb33aca

Please sign in to comment.