Skip to content

izeigerman/ztemp-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZTemp Bot

How to install

Python >= 3.4 is required.

  1. Install required system packages.
$ sudo apt-get update
$ sudo apt-get install build-essential python3-dev python3-pip
  1. Clone the Adafruit Python Sensor Library repo.
$ git clone https://github.com/adafruit/Adafruit_Python_DHT
$ cd Adafruit_Python_DHT
  1. Build and install the library.
$ sudo python3 setup.py install
  1. Clone the ZTemp Bot repo.
$ git clone https://github.com/izeigerman/ztemp-bot
$ cd ztemp-bot
  1. Install the dependencies.
$ pip3 install -r requirements.txt

How to launch

  1. Copy the configuration template and update it with the required values (Telegram token and ID of the trusted chat).
$ cd ztemp-bot
$ cp ./conf/ztemp_conf.json.template ./conf/ztemp_conf.json
$ vim ./conf/ztemp_conf.json
  1. Launch the bot.
$ sudo ./bin/ztemp start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors