Skip to content

Project for a smarthome control with 433MHz transmitter, weather info and pi camera control

License

Notifications You must be signed in to change notification settings

cyber-Ahn/tgn_smart_home

Repository files navigation

# tgn_smart_home

Build Status Python versions

Project for a smarthome control with 433MHz transmitter or some WLAN Plugs, weather info, optional NodeMCU or Raspberry PI Pico boards as Sensors, Android App(sep. Project), Api-Server and Sinric-bridge Server for Alexa.

The setup installs all required libraries and programs.

Required min Hardware:

  • Raspberry Pi 3 with min. 16GB SD-Card installed 'Debian Stretch Raspbian 2017.09' and Python 3.5

or

  • Raspberry Pi 4 with min. 16GB SD-Card installed '2019-09-26-raspbian-buster' and Python 3.7
  • 7" HDMI Display

-- Optional --

  • IR Reciver -- GPIO 18 (optional)
  • IR Transmitter -- GPIO 22 (optional)
  • Speacker 3,5mm (optional)
  • Pi Camera (optional)
  • PIR motion detector -- GPIO 24 (optional)

Plug / Socket / Modul Options:

  • 433Mhz RF Socket / Wireless Transmitter-Reciver-Modul Link-Kit für ARM / MCU -- Transmitter on GPIO 17 /Reciver on GPIO 26
  • Wlan-Socket Kasa HS100
  • Shelly (V. 1 / 2 / 2.5 / 4 / plug / bulb )
  • Sonoff (TGN-Sonoff)

ON I2C Bus: (all Optional)

  • 24LC256 EEPROM for saving settings -- add: 0x53 (recommended)
  • MCP23017 GPA0 - GPA3 = LED / GPA4 - GPA7 = button -- add: 0x20
  • LCD 2x16 with PCF8574 -- add: 0x3f
  • PN532 NFC
  • BMP085
  • BH1750
  • 5 x 4 Bit Digital Tube LED Display Modul I2C

Sensors optional:

  • NodeMcu/RPI Pico with DHT22, Fotoresitor and Small Display
  • Android Phone for Smart Home App
  • NodeMcu/RPI Pico with DHT22, Fotoresistor and PIR Sensor
  • NodeMcu/RPI Pico with NeoPixel Light (ws2812b)

Installation:

  • open Terminal
  • sudo su
  • apt-get update
  • apt-get upgrade
  • apt-get dist-upgrade
  • raspi-config / Interfacing Options /P5 I2C ---- yes
  • raspi-config / Interfacing Options /P2 SSH ---- yes ---- Finished
  • reboot
  • open Terminal
  • sudo su
  • git clone https://github.com/cyber-Ahn/tgn_smart_home.git
  • cd tgn_smart_home
  • PI 3 sudo bash setup.sh
  • PI 4 sudo bash setup_4.sh
  • PI 5 sudo bash setup_5.sh

GUI Start with /home/pi/start_main_gui.sh

Button Name Configuration for set System

  • buttonname = 423MHZ
  • s_buttonname = Sonoff
  • p_buttonname = Kasa HS100
  • y_buttonname = Shelly
  • t_buttonname = Tasmota

API use

Bild_1

Bild_2

Bild_3

Bild_4

Bild_5

About

Project for a smarthome control with 433MHz transmitter, weather info and pi camera control

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •