Devices Overview -> Wait for device connection

Wait for device connection

Summary

This page provides a central hub for managing your connected smart devices. Here, you can check if your device is online, update its Wi-Fi settings (for AwaPi devices), and safely remove devices from your account. The page also guides you through the process of connecting to your device and provides real-time status updates.

Page Access

You can access this page by navigating to: /devices_configure

Page Functionalities

Device Status Monitoring

The page actively monitors your device's connection status, showing if it's online, offline, or rebooting. It provides a progress indicator during connection attempts and informative messages about the last successful connection.

Wi-Fi Configuration (for AwaPi devices)

  • An icon is visible in the top right menu for AwaPi devices.
  • Clicking this icon initiates a guided process to update your device's Wi-Fi network.
  • You will first be instructed to wait for and connect to a temporary access point named 'ApAwaBerry' before proceeding to select a new network.
  • After updating Wi-Fi, the device will reboot, and the page will show a 'Waiting for Reboot' status until it reconnects.

Device Deletion

  • A icon is available in the top right menu to remove a device from your account.
  • A confirmation dialog will appear, requiring you to type 'delete' (case-sensitive) to prevent accidental removal.

Error and Offline Handling

The page provides clear messages and 'Try Again' buttons if the device is not online or if an unexpected error occurs during any operation.

Scenario Executions

Possible usage steps within this page

  1. Successfully Connect and View Device Overview

    Starting Point: You navigate to the Device Configuration page for a specific device.

    Steps: The page starts by attempting to connect to your device. A loading indicator shows the progress. Once connected, you will see an overview of your device's status and available actions.

    End Goal: The device overview page is successfully displayed, showing that your device is online.

  2. Update Wi-Fi for an AwaPi Device

    Starting Point: You are on the Device Overview page for an AwaPi device.

    Steps:

    1. Click the icon in the top right menu.
    2. A dialog appears, instructing you to connect to the 'ApAwaBerry' access point. Click 'Continue' after you have followed the instructions.
    3. You will be directed to the Wi-Fi update screen where you can select a new network and enter its password.
    4. After confirming the new Wi-Fi details, the device will reboot, and you will see a 'Waiting for Reboot' screen.
    5. Once the device reconnects to the new Wi-Fi, the overview page will reappear.

    End Goal: The device is successfully connected to the new Wi-Fi network, and its overview page is displayed.

  3. Delete a Device

    Starting Point: You are on the Device Overview page for any device.

    Steps:

    1. Click the icon in the top right menu.
    2. A confirmation dialog appears, asking you to type 'delete' to confirm.
    3. Carefully type delete into the text field and click the Delete button.
    4. A loading indicator will show while the device is being removed.

    End Goal: The device is successfully removed from your account, and you are redirected to your main Devices list page.

Possible errors which may occur on this page

  1. Device Not Online During Initial Connection

    Error: If the device is not powered on, not connected to a network, or otherwise unreachable when you first access its configuration page, you will see a "Device is not online" message.

    Why it happens: The application cannot establish a connection with your device. This could be due to power issues, network problems, or the device being in sleep mode.

    Solution: Ensure your device is running, connected to its network, and then click the Try Again button on the page.

  2. Incorrect Confirmation for Device Deletion

    Error: When attempting to delete a device, if you type anything other than delete (case-sensitive) into the confirmation field, an error message will appear, and the device will not be deleted.

    Why it happens: This is a safety measure to prevent accidental deletion.

    Solution: Re-enter delete precisely into the confirmation field and click the Delete button again.

  3. General Error During Page Load or Operation

    Error: Occasionally, an unexpected error might occur during data loading or a specific operation, resulting in an "An error occurred" message.

    Why it happens: This indicates a problem with the application or the connection that is not specifically a device offline issue.

    Solution: Click the Try Again button to reload the page and attempt to resolve the issue. If the problem persists, please contact support.