No description
  • Go 96.4%
  • Dockerfile 3.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2023-10-20 20:24:56 +02:00
.github/workflows Initial 2023-10-01 22:15:49 +02:00
Dockerfile Initial 2023-10-01 22:15:49 +02:00
go.mod Better IDs 2023-10-20 20:24:56 +02:00
go.sum Better IDs 2023-10-20 20:24:56 +02:00
main.go Use automatic client ID 2023-10-20 20:17:04 +02:00
README.md README 2023-10-02 12:43:07 +02:00
screenshot.png README 2023-10-02 12:43:07 +02:00
tibber.go Support multiple EVs 2023-10-02 12:18:17 +02:00

tibberevmqtt

This is a small integration to load EV status from Tibber and publish it to MQTT. The result is state-of-charge data in, for example, Home Assistant. Taking this data from Tibber is useful because it acts as an intermediate layer towards several different car vendors, some of which don't have an (open) API of their own; e.g., Polestar.

Doing it via MQTT provides automatic discovery. Multiple vehicles per account are supported.

Usage

Usage: tibberevmqtt

Flags:
  -h, --help                                  Show context-sensitive help.
      --mqtt-broker="tcp://localhost:1883"    MQTT broker address ($MQTT_BROKER)
      --mqtt-username=""                      MQTT username ($MQTT_USERNAME)
      --mqtt-password=""                      MQTT password ($MQTT_PASSWORD)
      --tibber-username=""                    Tibber username ($TIBBER_USERNAME)
      --tibber-password=""                    Tibber password ($TIBBER_PASSWORD)
      --refresh-interval=2m                   Refresh interval ($REFRESH_INTERVAL)

Screenshot

A screenshot of Home Assistant