Controller Connections



Purpose

The purpose of this answer is to help PTTX Remote Switch customers identify common controller connection problems, understand authentication and permission errors, and locate the appropriate troubleshooting instructions.

PTTX Remote Switch communicates directly with compatible Digital Loggers network-connected power controllers. Successful communication depends on network connectivity, controller configuration, application security settings, and the permissions associated with the controller account.

Before Troubleshooting a Connection

If PTTX Remote Switch cannot connect to a controller, verify the following:

  • Controller Address: Confirm the saved IP address or hostname identifies the intended controller.

  • Network Connectivity: Confirm the Android device can reach the controller through the local network, VPN, or configured remote connection.

  • Connection Protocol: Verify whether the controller requires HTTP or HTTPS.

  • HTTPS Certificate: When using HTTPS, ensure the controller presents a valid certificate matching the selected hostname or IP address.

  • Controller Credentials: Verify the username and password associated with the intended controller.

  • Application Security Settings: Confirm that PTTX Remote Switch permits the selected connection type.

  • Controller API Configuration: For supported REST-style controllers, confirm that the required REST-style API access is enabled.
  • Controller Account Permissions: Confirm that the account has permission to access the intended outlets and controller functions.

A controller may be reachable on the network while still rejecting authentication or restricting particular operations.

Checking Connection Permissions

PTTX Remote Switch includes a diagnostic feature for reviewing application connection prerequisites.

To access it:

  1. Open the application's three-dot menu.

  2. Select Settings….

  3. Open Connection & permissions check….

  4. Review the reported connection policies and Android permission status.

This feature checks application settings and permissions. It does not contact the controller or verify that the controller is reachable.

For actual controller connectivity testing, use Test Connection from the application's Home screen.

Testing Controller Connectivity

Test Connection requests controller status without issuing outlet switching or script commands.

A successful test may confirm that the controller responds and provides status information.

However, some controllers permit status information to be read without authentication.

A successful Test Connection result does not necessarily confirm that the supplied credentials are valid or that the account can operate outlets.

Controller account permissions must be evaluated separately when an operation is denied.

Where supported, Test Connection identifies the controller's actual hardware model. If specific hardware identification information is unavailable, the application may report the recognized controller family instead.

Some controllers restrict hardware identification and system information to administrative accounts. A designation such as Web Power Switch Pro (model unavailable) does not necessarily indicate a connection failure or application defect.

Restricted Controller Account Connectivity

Supported Digital Loggers REST-style controllers may require additional configuration before non-administrative accounts can connect through PTTX Remote Switch.

If a restricted account can sign in through the controller's original web interface but cannot connect through PTTX Remote Switch, an authorized controller administrator should review the following:

  1. Sign in to the controller's original web interface using an administrative account.

  2. Navigate to External APIs.

  3. Verify that Allow REST-style API is enabled.

  4. Verify that Allow REST-style API for non-admin users is enabled when non-administrative application access is required.

  5. Confirm that the restricted account has permission to access its assigned outlets.

  6. Retry the connection using the restricted account in PTTX Remote Switch.

Enable only the API access required for your intended operations. Leave unrelated external services and security settings unchanged.

Administrative privileges should not be granted solely to resolve connectivity problems involving restricted controller accounts.

PTTX Remote Switch respects controller-enforced account permissions. Successfully connecting through the application does not grant access to unauthorized outlets or administrative functions.

Understanding Connection and Authentication Errors

Common connection problems include:

  • Controller Cannot Be Reached: The saved address, network route, connection protocol, or controller availability may be incorrect.

  • HTTPS Connection Failure: The certificate may be invalid or may not match the selected hostname or IP address.

  • HTTP 401 — Authentication Rejected: The controller rejected authentication. Verify the username, password, and controller authentication configuration.

  • HTTP 403 — Access Denied: The controller denied the requested operation. Review the account's permissions for the affected controller function.

  • HTTP 500 — Internal Server Error: On some REST-style controllers, this response may indicate a controller-side permission or configuration restriction. If the error occurs when using a non-administrative account, review the controller's REST-style API settings and account permissions before concluding that the application or controller has malfunctioned.

  • Unrecognized Legacy Login Challenge: The controller did not provide a usable authentication challenge. Verify the selected controller address and sign-in interface before retrying.

Authentication failures and authorization failures are different conditions. Correct credentials do not necessarily grant permission to perform every controller operation.

Avoid repeatedly submitting login attempts when the controller's authentication response is not understood.

Android 17 Local Network Permission

On Android 17, connecting to a controller on the local network may require explicit local-network access permission.

If the application cannot reach a local controller:

  1. Confirm that Android has granted the required local-network permission.

  2. Review Settings… → Local network permission… in PTTX Remote Switch.

  3. Use Connection & permissions check… to review the application's connection policies separately.

Android may group the relevant permission under Nearby devices.

Granting Android permission does not override the application's own security policy or the controller's authentication requirements.

When to Request Support

If the connection problem remains unresolved, gather the following information when available:

  • PTTX Remote Switch application version and build

  • Android device model and operating system version

  • Controller model and firmware version

  • Whether the connection is local, remote, or through a VPN

  • Selected HTTP or HTTPS connection protocol

  • Results of Test Connection

  • Exact error message or HTTP status code

  • Whether controller status can be viewed but operations are denied

  • Troubleshooting steps already attempted

Do not include passwords, access tokens, or private network configuration details in an initial support request.

Additional Documentation

For complete connection and troubleshooting instructions, consult the User Manual available through the PTTX Remote Switch Documentation and Downloads answer.

Relevant sections include:

  • Section 2.2: Connectivity Choices

  • Section 2.3: Connection & Permissions Check

  • Section 3.3: Test Connection and its Limits

  • Section 7.1: Connection Policy

  • Section 7.2: Android Permission

  • Section 7.4: Secure Remote Operation

  • Section 9: Logs and Device Information

  • Section 12.2: Controller Login and Recovery

  • Section 12.3: Frequently Asked Questions

  • Section 13.2: Restricted Controller Accounts

Related Answers


Tags