Research Article

Design of a Secure Wireless Home Automation System with an Open Home Automation Bus (OpenHAB 2) Framework

Table 2

Hardware system tests and results.

TestExpected resultResultRemarks

Start with the hub, and OpenHAB service configuration is running on the hub without an Internet connectionInitialize the database connection, start OpenHAB service, and connect to cloud service if available. Establish a connection with the MQTT server and update device statesSuccessfulStart-up takes about 45 seconds on average (out of 20) to start up Raspberry Pi and OpenHAB service
Connect a LAN or WAN to the hub while OpenHAB service configuration is runningTrigger cloud connects service to establish a connection with the cloud server and sync device statesSuccessfulCloud service worker detects Internet connectivity, and cloud loads configurations with a connection 10 seconds
Stop the OpenHAB hardware application or power off Raspberry Pi while OpenHAB service is still runningRaise ForcedTermination event in OpenHAB Control Panel logs and publish to ForcedExceptions MQTT topicFailed some of the timeFailed some of the time. The cause is a delay in publishing before power is cut
Create a new “Home” location in the OpenHAB Control PanelThe location should be added to the local database and posted to and made available on the OpenHAB serverSuccessfulA new location is immediately available
Add a new appliance in the OpenHAB Control PanelThe appliance with its properties should be added to the local database with OpenHAB service refreshed to show the update as well as send push notification to registered usersSuccessfulA new appliance was immediately available. The push notifications, however, worked 99% of the time
System vulnerability testNo breaches or vulnerabilities during test runs locally at the client as well as remotelyFirewall bypass testing was a success.The system withstood DNS-level attacks, e.g., switching and routing tests