Skip to content

Telegram Group of Domestic appliances (measurement of power consumption over AVM Home Automation API)

License

Notifications You must be signed in to change notification settings

Blackbox-git/HousekeepingPi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HousekeepingPi

Telegram Group of Domestic appliances (measurement of power consumption over AVM Home Automation API)

alt text

Description

This repository contains all files you need to create a telegram group with your Domestic appliances. The power consumption is measured via smart sockets from AVM. Possible sockets are AVM Dect200, AVM Dect210 or AVM 546E. The Raspberry PI sends a telegram message as soon as a current consumption threshold is exceeded or fallen below. Communication with the sockets takes place via an AVM Fritz!Box and the AVM Home Automation API. The required material can be found under the following link.

Registration and Login process

First the sockets must be registered on the Fritz!Box. I refer to the user manual of the sockets. The login process to the Fritz!Box must be changed to Username and Password instead of Password only.

Telegram group

Now you have to create a separate telegram bot for each socket. At last a telegram group is created with all created bots. Here you can find two images of my group and a lot more about the furnishing process.

Preparing Installation

Here you can find a video of the installation process. First install Raspbian Buster Lite on a SD-Card. After booting the Raspberry Pi, execute the following commands:

sudo apt update
sudo apt -y install git

Download

Clone the github repository and change to the new directory:

cd ~
git clone https://github.com/Blackbox-git/HousekeepingPi
cd HousekeepingPi

Installation

For installation enter the following commands and answer the queries:

chmod +x install.sh
./install.sh
cd /opt/haushalt

Determination of Threshold values

Use the Recording program aufzeichnung.py to determine the threshold values required for your device. Here you can find expamples. The threshold values must be added to the credentials using the program schwellewerte.py.

Usage

Restart the Systemd Service with the following command and perform a test run of your device:

sudo systemctl restart haushalt.service

About

Telegram Group of Domestic appliances (measurement of power consumption over AVM Home Automation API)

Resources

License

Stars

Watchers

Forks