building control with heating and monitoring

10
© 2015 Matthias Kuhs, Ireland Building Control Project AUTOMATED BUILDING AND HEATING MANAGEMENT SYSTEM

Upload: matthias-kuhs

Post on 22-Jan-2018

303 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Building Control with Heating and Monitoring

© 2015 Matthias Kuhs, Ireland

Building Control ProjectAUTOMATED BUILDING AND HEATING MANAGEMENT SYSTEM

Page 2: Building Control with Heating and Monitoring

The Problem(s)

Event-based building occupation No 24/7 heating! Correct room temperature needed on event start Outdoor and current room temperature needs to be factored in Remote control and monitoring needed; alerts via email or SMS Power usage monitoring and alerts Optional: access control or intrusion alerts Optional: lighting automation Optional: temperature zones for different events Mandatory: Low cost, low overhead

Page 3: Building Control with Heating and Monitoring

The Solution

Raspberry Pi based solution (low power usage)

Tinkerforge sensors and actuators (no hardware tinkering necessary)

Python code base (runs also on PC)

Web-based event management (MySQL database)

Off-line modus (runs even with Internet connection down)

Flexible and extendable (e.g. for oil tank monitoring)

RESTful API between Frontend (WWW) and backend.

Page 4: Building Control with Heating and Monitoring

Hard- and SoftwareTECHNICAL DETAILS

Page 5: Building Control with Heating and Monitoring

Hardware

Raspberry Pi (2 or B+) with RaspBianwith Hamachi VPN, Nagios, SSMTP, LogWatch, LAMP

Alternatively: Windows (7/10) PC with Python 3.4

USB-attached Tinkerforge modules Temp sensors, relay switches, motion detectors

Alternatively: GPIO-attached sensors and actuators

Youless energy monitor

LAN with Internet connection

Page 6: Building Control with Heating and Monitoring
Page 7: Building Control with Heating and Monitoring

Software, local

Backend: LAMP/WAMP system with Python modules:

Collecting sensor data Controlling actuators Synchronizing with on-line event DB Event management Shell-scripts as Cron-Jobs for continuity

Local backup database for Events Sensor data Logging

Page 8: Building Control with Heating and Monitoring

Software, web-based

API:

Provides interfaces for: Events

Sensor data

Logging

Frontend:

jQuery-based HTML page with Current values/status display

Graphs for temperatures and power usage

Event monitoring and management

Page 9: Building Control with Heating and Monitoring
Page 10: Building Control with Heating and Monitoring

Frontend GUI explained

Features:

Current values

Recent ‘actions’

Room temp. graph

Power usage graph

Events list

Highlights / Observations:

Today’s event

Calculated switch-on time

Regular power users (here: fridge)