building control with heating and monitoring
TRANSCRIPT
© 2015 Matthias Kuhs, Ireland
Building Control ProjectAUTOMATED BUILDING AND HEATING MANAGEMENT SYSTEM
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
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.
Hard- and SoftwareTECHNICAL DETAILS
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
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
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
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)