EIB Controls
Download
Report
Transcript EIB Controls
Yishai Burt
Yosi Gabay
Supervisor: Prof. Ran Giladi
EIB/KNX Introduction
The world's only open standard for home & building
control.
Can work with a variety of media types, including
twisted pair, power line, RF, IR and even Ethernet.
Decentralized -The components communicate with
each other, Distributed.
Applications in: lighting, alarms, blinds/solar control,
automatic window control, energy management and
much more…
Our Inheritance Our Goals
EIB Server
Linux Only
RS232 only
Constant encryption
key
Pocket Master Server
• EIB Server redesigned
• Cross-Platform
• RS232 or EIBnet/ip
• Diffie-Hellman
• Standalone Library,
General Client base
class
• SMS Server
• AMX Server
Design – EIB Network
Communication via RS232 (BCU)
Currently works only with Open Source Linux driver
Communication via UDP (EIB/net Router)
Cross Platform (Windows/Linux)
UDP Multicast (using known port and Multicast address)
Unsecure Messaging
No Encryption
No Authentication
Design – EIB Control Network
Client Authentication
User Name & Password
Data Encryption
Initial Private Key
Diffie-Hellman Implementation
Design – AMX Network
AMX Network
Controls Audio/Video Devices
Separate Protocol within AMX Network
Message Translation (EIB <-> AMX)
Authentication
Encryption
Currently Not implemented
Implementation - General
Project Components
Standalone Library (.dll in windows, .so in linux)
Generic Base class for all clients
EIB Server implemented as a separate process
Multi Threaded
Can be executed as service
SMS Server implemented as separate process
Derived from Generic Client base class
RS232 interface to the cellular modem
Implementation – Diffie Hellman
Generating Random numbers Through CPU time-stamp
Miller-Rabin Algorithm to Determine Large Prime numbers
Massive numbers are calculated using the power chaining rule
Only correct messages are responded (avoiding port scanning)
Implementation – EIB Control Messages
Demonstration