Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
MattJeanes committed Jun 1, 2020
2 parents c879169 + cf259a2 commit f66ff62
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
# TeslaMate Octopus Agile integration
This app will automatically update your cost for charge sessions within a specified geofence (usually home) using data from Octopus Agile tariff

## Description
This app will automatically update your cost for charge sessions in TeslaMate within a specified geofence (usually home) using data from the Octopus Agile tariff.

## How to use
You can either use it in a Docker container or go to the releases and download the zip of the latest one and run it on the command line using `dotnet TeslaMateAgile.dll` - note you will need [.NET Core 3.1 Runtime](https://dotnet.microsoft.com/download/dotnet-core/3.1)

You will need to set configuration using environment variables, the required ones are below.

## Required environment variables
- `ConnectionStrings__TeslaMate`: Server=127.0.0.1;Port=5432;Database=teslamate;User Id=teslamate;Password=teslamate;
- `TeslaMate__UpdateIntervalSeconds`: 60
- `TeslaMate__GeofenceId`: 1 # This is the
- `TeslaMate__Phases`: 1
```yaml
- ConnectionStrings__TeslaMate: 'Server=127.0.0.1;Port=5432;Database=teslamate;User Id=teslamate;Password=teslamate;'
- TeslaMate__UpdateIntervalSeconds: '60' # Check for completed charges without a set cost every x seconds
- TeslaMate__GeofenceId: '1' # You can get this by editing the Geofence inside TeslaMate and getting it from the url
- TeslaMate__Phases`: '1' # How many phases your electricity has, this will usually be 1
```
## Docker support
This project is available on Docker
Expand Down

0 comments on commit f66ff62

Please sign in to comment.