MyGit

JakobLichterfeld/TeslaMate_Telegram_Bot

Fork: 5 Star: 17 (更新于 1970-01-01 00:00:00)

license: MIT

Language: Python .

A telegram bot which sends a message if an update for your Tesla is available (use TeslaMate MQTT)

最后发布版本: v0.5.3 ( 2021-05-05 22:23:59)

GitHub网址

TeslaMate Telegram Bot

latest release donation

This is a telegram bot written in Python to notify by Telegram message when a new SW update for your Tesla is available. It uses the MQTT topic which TeslaMate offers.

Screenshots

Telegram Message: SW Update available

Table of contents

Features

  • Sends a telegram message to you if an update for your tesla is available

Requirements

Installation

Make sure you fulfill the Requirements.

It is recommended to backup your data first.

This document provides the necessary steps for installation of TeslaMate Telegram Bot on a any system that runs Docker.

This setup is recommended only if you are running TeslaMate Telegram Bot on your home network, as otherwise your telegram API tokens might be at risk.

  1. Create a file called docker-compose.yml with the following content (adopt with your own values):

       version: "3"
    
       services:
         teslamatetelegrambot:
           image: teslamatetelegrambot/teslamatetelegrambot:latest
           restart: unless-stopped
           environment:
             - MQTT_BROKER_HOST=IP_Adress
             - MQTT_BROKER_PORT=1883 #optional, default 1883
             - MQTT_BROKER_USERNAME=username #optional, only needed when broker has authentication enabled
             - MQTT_BROKER_PASSWORD=password #optional, only needed when broker has authentication enabled
             - TELEGRAM_BOT_API_KEY=secret_api_key
             - TELEGRAM_BOT_CHAT_ID=secret_chat_id
           ports:
             - 1883
           build:
             context: .
             dockerfile: Dockerfile
    
  2. Build and start the docker container with docker-compose up. To run the containers in the background add the -d flag:

    docker-compose up -d
    

Update

Check out the release notes before upgrading!

Pull the new images:

docker-compose pull

and restart the stack with docker-compose up. To run the containers in the background add the -d flag:

docker-compose up -d

Contributing

All contributions are welcome and greatly appreciated!

Donation

Maintaining this project isn't effortless, or free. If you would like to kick in and help me cover those costs, that would be awesome. If you don't, no problem; just share your love and show your support.

Donate with PayPal

Disclaimer

Please note that the use of the Tesla API in general and this software in particular is not endorsed by Tesla. Use at your own risk.

最近版本更新:(数据更新于 1970-01-01 00:00:00)

2021-05-05 22:23:59 v0.5.3

2021-05-05 22:01:59 v0.5.2

2021-05-05 21:35:08 v0.5.1

2020-12-03 07:47:05 v0.5.0

2020-09-05 03:45:49 v0.4.0

2020-09-05 02:52:56 v0.3.0

2020-09-05 02:13:50 v0.2.0

2020-09-05 01:32:46 v0.1.0

主题(topics):

mqtt, mqtt-client, mqtt-connector, paho-mqtt, python, telegram-bot, tesla, teslamate-mqtt-topic

JakobLichterfeld/TeslaMate_Telegram_Bot同语言 Python最近更新仓库

2024-11-06 03:34:16 home-assistant/core

2024-11-05 16:16:26 Guovin/TV

2024-11-05 15:03:24 Cinnamon/kotaemon

2024-11-04 23:11:11 DS4SD/docling

2024-11-04 10:56:18 open-compass/opencompass

2024-11-04 08:51:21 yt-dlp/yt-dlp