SlideShare a Scribd company logo
Marian MarinovMarian Marinov
mm@siteground.commm@siteground.com
Chief System ArchitectChief System Architect
Head of the DevOps departmentHead of the DevOps department
SiteGroundSiteGround
Building AutomationBuilding Automation
❖❖ Who am I?Who am I?
- Chief System Architect of SiteGround.com- Chief System Architect of SiteGround.com
- Sysadmin since 1996- Sysadmin since 1996
- Organizer of OpenFest, BG Perl- Organizer of OpenFest, BG Perl
Workshops, LUG-BG and othersWorkshops, LUG-BG and others
- Teaching Network Security and- Teaching Network Security and
Linux System AdministrationLinux System Administration
courses in Sofia Universitycourses in Sofia University
and SoftUniand SoftUni
❖❖ Who actually made it?Who actually made it?
Angel ShtilianovAngel Shtilianov
- control the lights remotely(via
IP)
- control large number of
switches/lights(a minimum of 32 per
floor)
- get the current status of the
lamps
What were ourWhat were our
requirements?requirements?
- compact design, so it will reduce
the size of the power distribution
boxes at each floor
- ability to audit and modify the SW
- DIN mountable
- easily replaceable parts
What were ourWhat were our
requirements?requirements?
Only
36 fuses
And we did some And we did some 
research...research...
IonoPi
IonoPi
UniPi
UniPi
Check what we can buy Check what we can buy 
from AliExpress :)from AliExpress :)
Check what we can buy Check what we can buy 
from AliExpress :)from AliExpress :)
Check what we can buy Check what we can buy 
from AliExpress :)from AliExpress :)
Check what we can buy Check what we can buy 
from AliExpress :)from AliExpress :)
More researchMore research
I also looked at I also looked at 
At that point...At that point...
At that point...At that point...
We decided to build We decided to build 
it by our selfit by our self
Initial planInitial plan
Initial planInitial plan
-not enough I/O pins on the Pi
-huge relays
-electricity from the relays can damage the
Pi
- no state collected
The resultThe result
The resultThe result
- 2x MCP23017
- 2x ULN2803
- optocouplers
First testsFirst tests
RelaysRelays
Lamps Wiring Lamps Wiring 
Lamps Wiring Lamps Wiring 
Lamps Wiring ­ schemeLamps Wiring ­ scheme
Basic switch diagram
Lamps Wiring ­ schemeLamps Wiring ­ scheme
WRONG connection of a second switch 
diagram
Lamps Wiring ­ schemeLamps Wiring ­ scheme
Basic deviator switch
diagram
Lamps Wiring ­ schemeLamps Wiring ­ scheme
Basic deviator switch
diagram
Lamps Wiring ­ schemeLamps Wiring ­ scheme
Basic cross switch
diagram
Lamps Wiring ­ schemeLamps Wiring ­ scheme
Basic cross switch
diagram
Lamps Wiring ­ schemeLamps Wiring ­ scheme
Using a contactor
diagram
Lamps Wiring ­ schemeLamps Wiring ­ scheme
Using push buttons 
with contactor
diagram
DIN MountDIN Mount
- We choose the dimensions of the
PCB, based on the available DIN
mounting options
- We also considered the space we
had in the power distribution boxes
DIN MountDIN Mount
ControllerController
- We choose i2c so we can connect
multiple boards to a single
controller
Achieving of up to 64 inputs and 64
outputs
ControllerController
- Management controller used for
tests was Raspberry Pi
- Production controllers will most
likely be OLinuXino
How would it work?How would it work?
How would it work?How would it work?
How would it work?How would it work?
How would it work?How would it work?
How would it work?How would it work?
How would it work?How would it work?
How would it work?How would it work?
How would it work?How would it work?
Where to find it?Where to find it?
github.com/SiteGround/luminusgithub.com/SiteGround/luminus
Marian MarinovMarian Marinov
mm@siteground.commm@siteground.com

More Related Content

PPT
Zuxin2009
zuxin
 
PDF
DevOpsDays Zurich 2023 — Bridging Dev and Ops with eBPF: Extending Observabil...
Raphaël PINSON
 
PDF
SPU Shaders
Slide_N
 
PDF
Computer networks-computer-networks3404
Abhay kadu
 
ODP
jBPM Migration - generating your process future
Eric D. Schabell
 
PDF
Challenges with high density networks
Marian Marinov
 
PDF
Preventing cpu side channel attacks with kernel tracking
Marian Marinov
 
Zuxin2009
zuxin
 
DevOpsDays Zurich 2023 — Bridging Dev and Ops with eBPF: Extending Observabil...
Raphaël PINSON
 
SPU Shaders
Slide_N
 
Computer networks-computer-networks3404
Abhay kadu
 
jBPM Migration - generating your process future
Eric D. Schabell
 
Challenges with high density networks
Marian Marinov
 
Preventing cpu side channel attacks with kernel tracking
Marian Marinov
 

Similar to SiteGround building automation (6)

PDF
KCD Zurich 2023 — Bridge Dev & Ops with eBPF.pdf
Raphaël PINSON
 
PDF
Managing a lot of servers
Marian Marinov
 
PPT
IWMW 1999: Multimedia and the corporate web
IWMW
 
PPTX
NS2 Research Projects Ideas
Network Simulation Tools
 
PDF
OpenNebulaConf2019 - Building Virtual Environments for Security Analyses of C...
OpenNebula Project
 
PPT
Remote Admittance
Ajit Yadav
 
KCD Zurich 2023 — Bridge Dev & Ops with eBPF.pdf
Raphaël PINSON
 
Managing a lot of servers
Marian Marinov
 
IWMW 1999: Multimedia and the corporate web
IWMW
 
NS2 Research Projects Ideas
Network Simulation Tools
 
OpenNebulaConf2019 - Building Virtual Environments for Security Analyses of C...
OpenNebula Project
 
Remote Admittance
Ajit Yadav
 
Ad

More from Marian Marinov (20)

PDF
How to start and then move forward in IT
Marian Marinov
 
PDF
Thinking about highly-available systems and their setup
Marian Marinov
 
PDF
Understanding your memory usage under Linux
Marian Marinov
 
PDF
How to implement PassKeys in your application
Marian Marinov
 
PDF
Dev.bg DevOps March 2024 Monitoring & Logging
Marian Marinov
 
PDF
Basic presentation of cryptography mechanisms
Marian Marinov
 
PDF
Microservices: Benefits, drawbacks and are they for me?
Marian Marinov
 
PDF
Introduction and replication to DragonflyDB
Marian Marinov
 
PDF
Message Queuing - Gearman, Mosquitto, Kafka and RabbitMQ
Marian Marinov
 
PDF
How to successfully migrate to DevOps .pdf
Marian Marinov
 
PDF
How to survive in the work from home era
Marian Marinov
 
PDF
Managing sysadmins
Marian Marinov
 
PDF
Improve your storage with bcachefs
Marian Marinov
 
PDF
Control your service resources with systemd
Marian Marinov
 
PDF
Comparison of-foss-distributed-storage
Marian Marinov
 
PDF
Защо и как да обогатяваме знанията си?
Marian Marinov
 
PDF
Securing your MySQL server
Marian Marinov
 
PDF
Sysadmin vs. dev ops
Marian Marinov
 
PDF
DoS and DDoS mitigations with eBPF, XDP and DPDK
Marian Marinov
 
ODP
Let's Encrypt failures
Marian Marinov
 
How to start and then move forward in IT
Marian Marinov
 
Thinking about highly-available systems and their setup
Marian Marinov
 
Understanding your memory usage under Linux
Marian Marinov
 
How to implement PassKeys in your application
Marian Marinov
 
Dev.bg DevOps March 2024 Monitoring & Logging
Marian Marinov
 
Basic presentation of cryptography mechanisms
Marian Marinov
 
Microservices: Benefits, drawbacks and are they for me?
Marian Marinov
 
Introduction and replication to DragonflyDB
Marian Marinov
 
Message Queuing - Gearman, Mosquitto, Kafka and RabbitMQ
Marian Marinov
 
How to successfully migrate to DevOps .pdf
Marian Marinov
 
How to survive in the work from home era
Marian Marinov
 
Managing sysadmins
Marian Marinov
 
Improve your storage with bcachefs
Marian Marinov
 
Control your service resources with systemd
Marian Marinov
 
Comparison of-foss-distributed-storage
Marian Marinov
 
Защо и как да обогатяваме знанията си?
Marian Marinov
 
Securing your MySQL server
Marian Marinov
 
Sysadmin vs. dev ops
Marian Marinov
 
DoS and DDoS mitigations with eBPF, XDP and DPDK
Marian Marinov
 
Let's Encrypt failures
Marian Marinov
 
Ad

Recently uploaded (20)

PPTX
Information Retrieval and Extraction - Module 7
premSankar19
 
PPTX
FUNDAMENTALS OF ELECTRIC VEHICLES UNIT-1
MikkiliSuresh
 
PPTX
sunil mishra pptmmmmmmmmmmmmmmmmmmmmmmmmm
singhamit111
 
PDF
AI-Driven IoT-Enabled UAV Inspection Framework for Predictive Maintenance and...
ijcncjournal019
 
PPTX
database slide on modern techniques for optimizing database queries.pptx
aky52024
 
PDF
Unit I Part II.pdf : Security Fundamentals
Dr. Madhuri Jawale
 
PDF
Construction of a Thermal Vacuum Chamber for Environment Test of Triple CubeS...
2208441
 
PDF
Chad Ayach - A Versatile Aerospace Professional
Chad Ayach
 
PPTX
Tunnel Ventilation System in Kanpur Metro
220105053
 
PDF
All chapters of Strength of materials.ppt
girmabiniyam1234
 
PDF
Cryptography and Information :Security Fundamentals
Dr. Madhuri Jawale
 
PDF
Biodegradable Plastics: Innovations and Market Potential (www.kiu.ac.ug)
publication11
 
PDF
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
PDF
The Effect of Artifact Removal from EEG Signals on the Detection of Epileptic...
Partho Prosad
 
PPTX
MT Chapter 1.pptx- Magnetic particle testing
ABCAnyBodyCanRelax
 
PDF
Introduction to Ship Engine Room Systems.pdf
Mahmoud Moghtaderi
 
PDF
FLEX-LNG-Company-Presentation-Nov-2017.pdf
jbloggzs
 
PPTX
22PCOAM21 Session 2 Understanding Data Source.pptx
Guru Nanak Technical Institutions
 
PDF
top-5-use-cases-for-splunk-security-analytics.pdf
yaghutialireza
 
PPTX
Civil Engineering Practices_BY Sh.JP Mishra 23.09.pptx
bineetmishra1990
 
Information Retrieval and Extraction - Module 7
premSankar19
 
FUNDAMENTALS OF ELECTRIC VEHICLES UNIT-1
MikkiliSuresh
 
sunil mishra pptmmmmmmmmmmmmmmmmmmmmmmmmm
singhamit111
 
AI-Driven IoT-Enabled UAV Inspection Framework for Predictive Maintenance and...
ijcncjournal019
 
database slide on modern techniques for optimizing database queries.pptx
aky52024
 
Unit I Part II.pdf : Security Fundamentals
Dr. Madhuri Jawale
 
Construction of a Thermal Vacuum Chamber for Environment Test of Triple CubeS...
2208441
 
Chad Ayach - A Versatile Aerospace Professional
Chad Ayach
 
Tunnel Ventilation System in Kanpur Metro
220105053
 
All chapters of Strength of materials.ppt
girmabiniyam1234
 
Cryptography and Information :Security Fundamentals
Dr. Madhuri Jawale
 
Biodegradable Plastics: Innovations and Market Potential (www.kiu.ac.ug)
publication11
 
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
The Effect of Artifact Removal from EEG Signals on the Detection of Epileptic...
Partho Prosad
 
MT Chapter 1.pptx- Magnetic particle testing
ABCAnyBodyCanRelax
 
Introduction to Ship Engine Room Systems.pdf
Mahmoud Moghtaderi
 
FLEX-LNG-Company-Presentation-Nov-2017.pdf
jbloggzs
 
22PCOAM21 Session 2 Understanding Data Source.pptx
Guru Nanak Technical Institutions
 
top-5-use-cases-for-splunk-security-analytics.pdf
yaghutialireza
 
Civil Engineering Practices_BY Sh.JP Mishra 23.09.pptx
bineetmishra1990
 

SiteGround building automation