Skip to content

Commit

Permalink
Shelly: enable gen3 devices (evcc-io#13057)
Browse files Browse the repository at this point in the history
  • Loading branch information
thierolm authored Mar 20, 2024
1 parent bdee2e5 commit 8a30eb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions meter/shelly/connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ func NewConnection(uri, user, password string, channel int) (*Connection, error)
conn.Client.Transport = transport.BasicAuth(user, password, conn.Client.Transport)
}

case 2:
// Shelly GEN 2 API
case 2, 3:
// Shelly GEN 2+ API
// https://shelly-api-docs.shelly.cloud/gen2/
conn.uri = fmt.Sprintf("%s/rpc", util.DefaultScheme(uri, "http"))
if user != "" {
Expand Down

0 comments on commit 8a30eb9

Please sign in to comment.