|
Test | Expected result | Result | Remarks |
|
Start the OpenHAB mobile application | Verify OAuth token with the OpenHAB local server and cloud service, while the splash screen is shown, display login state if the token is invalid. Initialize the server connection, synchronize the current device states, and display the main page | Successful | With Internet connectivity, 1.5 secs is required from splash screen to the main screen with a local server and 3.5 secs for an active cloud configuration device information and states |
Switching between the local server and the cloud service | Switch from the local server to the cloud service when out of range of the local server and switching back | Successful | Also, prioritizes local server when back in range without compromising connection or device states |
Create a new OpenHAB account | Save the user account details and issue the OAuth token | Successful | |
Request from OpenHAB mobile to cloud service on OpenHAB web | Verify the OAuth token if it passes, fetches the required data from the database, updates, and returns to OpenHAB service | Successful | One out of about 100 tries does not update on the app after the request is successful. Refreshing the app page, however, shows the updated state |
Interact with a hardware control for a device on the OpenHAB Control Panel | Effect change on the hardware device and send an update via MQTT to the OpenHAB server for relaying to all other clients then update cloud service | Successful | |
Interact with a control for the power switch of an appliance in OpenHAB mobile | Send change via MQTT to OpenHAB cloud service for relaying to the OpenHAB Control Panel (Raspberry Pi) | Successful | Unless there is no active connection to either the local or cloud server, which is updated when there is a connection |
|