The Weble mobile app gives access to a device from an Android or iOS phone and receives the push notifications sent by the Notification driver. This page explains how a phone gets registered on a device and what is needed for notifications to arrive.
Ask support@weble.ch for the download link of the app and the supported Android and iOS versions.
The app logs in to the device with a user account of the device, like the web interface, and shows the same installations as the Visualization.
The phone must be able to reach the device, for example on the Wi-Fi of the site or on the hotspot of the device (see Network – Wi-Fi).
Create one account per person and give it a role with the rights the person needs: see Users and access. Avoid sharing the admin account on phones.
When the app logs in, it registers the phone on the device for that user account. The device stores, for each phone, an identifier, the application identifier (AppId), the platform, the model and the version of the app, and the push token given by the phone. The list is sent to the Weble servers, which deliver the notifications.
On the device, each registered phone appears in the Notification gateway as an address %push:<username>/<device id>, with its platform, model and version as description. Writing to %push:<username> notifies every phone registered for this user. See Notification driver.
A phone stays registered after the app is closed. The registrations are erased by a factory reset: log in again from each phone afterwards.
com.weble.webleview unless Weble gave you another one: only phones registered with this AppId are notified.%push:<username> from the address table.Notifications go from the device to the Weble servers through the Weble VPN: the VPN must be enabled and connected on the device. See Network – VPN.
| Symptom | Check |
|---|---|
Write refused with NO_DEVICE |
No phone has ever logged in to this device from the app. Log in from the app first. |
No username found with com <AppId> |
The user has no phone registered with this AppId: log in from the app with this account, or check the AppId of the gateway. |
| Write accepted but nothing arrives | Notifications are disabled for the app on the phone, or the phone has no data connection. |
| Time-out or connection error | The Weble VPN of the device is not connected. Check the VPN Access box of the Network home page. |
| Notifications stopped after a factory reset | The registrations were erased. Log in again from each phone. |