Zephyrnet Logo

2024 Home Sweet Home Automation: A DIY SCADA Smart Home

Date:

<img decoding="async" data-attachment-id="669655" data-permalink="https://hackaday.com/2024/03/20/2024-home-sweet-home-automation-a-diy-scada-smart-home/attachment/3793511569732447981/" data-orig-file="https://zephyrnet.com/wp-content/uploads/2024/03/2024-home-sweet-home-automation-a-diy-scada-smart-home-2.png" data-orig-size="1920,1080" data-comments-opened="1" data-image-meta="{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"}" data-image-title="3793511569732447981" data-image-description="

https://hackaday.io/project/14862-diy-scada-smart-home

” data-image-caption data-medium-file=”https://zephyrnet.com/wp-content/uploads/2024/03/2024-home-sweet-home-automation-a-diy-scada-smart-home.png” data-large-file=”https://zephyrnet.com/wp-content/uploads/2024/03/2024-home-sweet-home-automation-a-diy-scada-smart-home-2.png?w=800″ class=”wp-image-669655 size-medium” src=”https://zephyrnet.com/wp-content/uploads/2024/03/2024-home-sweet-home-automation-a-diy-scada-smart-home.png” alt=”A SCADA-style display of icons and control buttons” width=”400″ height=”225″ srcset=”https://zephyrnet.com/wp-content/uploads/2024/03/2024-home-sweet-home-automation-a-diy-scada-smart-home-2.png 1920w, https://zephyrnet.com/wp-content/uploads/2024/03/2024-home-sweet-home-automation-a-diy-scada-smart-home-2.png?resize=250,141 250w, https://zephyrnet.com/wp-content/uploads/2024/03/2024-home-sweet-home-automation-a-diy-scada-smart-home-2.png?resize=400,225 400w, https://zephyrnet.com/wp-content/uploads/2024/03/2024-home-sweet-home-automation-a-diy-scada-smart-home-2.png?resize=800,450 800w, https://zephyrnet.com/wp-content/uploads/2024/03/2024-home-sweet-home-automation-a-diy-scada-smart-home-2.png?resize=1536,864 1536w” sizes=”(max-width: 400px) 100vw, 400px”>

Touch-screen control and monitoring

Supervisory control and data acquisition, or SCADA, systems sit in the background in industrial settings, performing all kinds of important jobs but in an ad-hoc setup, depending on the precise requirements of the installation. When we think about home automation systems, they’re pretty much the same deal: ad-hoc systems put together from off-the-shelf components and a few custom bits thrown in. [Stefan Schnitzer] clearly has significant knowledge of SCADA in an industrial setting and has carried this over into their home for their entry into the Hackaday 2024 Home Sweet Home Automation Contest.

Having built their own home from the ground up, [Stefan] could run wiring and add sensors anywhere needed whilst working on the interior, giving a clean, full custom installation covering lights, heating, ventilation, even<img decoding="async" data-attachment-id="669654" data-permalink="https://hackaday.com/2024/03/20/2024-home-sweet-home-automation-a-diy-scada-smart-home/attachment/7410461707051443955/" data-orig-file="https://zephyrnet.com/wp-content/uploads/2024/03/2024-home-sweet-home-automation-a-diy-scada-smart-home-5.png" data-orig-size="1548,3260" data-comments-opened="1" data-image-meta="{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"}" data-image-title="7410461707051443955" data-image-description="

https://hackaday.io/project/14862-diy-scada-smart-home

” data-image-caption data-medium-file=”https://zephyrnet.com/wp-content/uploads/2024/03/2024-home-sweet-home-automation-a-diy-scada-smart-home-1.png” data-large-file=”https://zephyrnet.com/wp-content/uploads/2024/03/2024-home-sweet-home-automation-a-diy-scada-smart-home-5.png?w=297″ class=”alignright size-medium wp-image-669654″ src=”https://zephyrnet.com/wp-content/uploads/2024/03/2024-home-sweet-home-automation-a-diy-scada-smart-home-1.png” alt=”A full sized SCADA rack made from DIN rail mounted off-the-shelf hardware” width=”190″ height=”400″ srcset=”https://zephyrnet.com/wp-content/uploads/2024/03/2024-home-sweet-home-automation-a-diy-scada-smart-home-5.png 1548w, https://zephyrnet.com/wp-content/uploads/2024/03/2024-home-sweet-home-automation-a-diy-scada-smart-home-5.png?resize=119,250 119w, https://zephyrnet.com/wp-content/uploads/2024/03/2024-home-sweet-home-automation-a-diy-scada-smart-home-5.png?resize=190,400 190w, https://zephyrnet.com/wp-content/uploads/2024/03/2024-home-sweet-home-automation-a-diy-scada-smart-home-5.png?resize=297,625 297w, https://zephyrnet.com/wp-content/uploads/2024/03/2024-home-sweet-home-automation-a-diy-scada-smart-home-5.png?resize=729,1536 729w, https://zephyrnet.com/wp-content/uploads/2024/03/2024-home-sweet-home-automation-a-diy-scada-smart-home-5.png?resize=972,2048 972w” sizes=”(max-width: 190px) 100vw, 190px”> the robot vacuum cleaner and the cat feeder. No dodgy conduits and visible wiring runs!

SCADA systems are designed in a hierarchical manner, which makes them easy to understand. At the bottom of the hierarchy, which is level 0, we have the physical variables and control mechanisms that include things like room temperature control, door lock status and the cat feeder. Above this is level 1, the physical interface between levels 0 and 2. This level 1 hardware is based around a collection of Arduino UNOs and Mega2560s, keeping costs low. One extra, fancy addition was a Pixtend I/O board, which connects directly to the level 2 hardware, a Raspberry Pi3, which forms the SCADA supervisor and runs the web server for direct low-level control, as well as the Modbus TCP driver for the ethernet modules used on the Arduinos. This Pi also runs the MQTT broker and the Codesys software PLC. Finally, levels 3 and 4 are the coordination/production layers and are implemented with another Raspberry Pi3 that runs NodeRed and Grafana. InfluxDB is used for local data storage. This Pi also receives images from the IP cameras placed around the area and any connections to services outside the home.

We don’t get DIY PLC hacks too often; this one is from 2016, but still relevant. If you’re wondering how to secure all this complexity, we had a hack chat on this subject a few years back.

spot_img

Latest Intelligence

spot_img