The Afero Inspector provides a real-time, in-depth view of the state of each device associated with a given Afero account. The tool is useful for developers when testing and debugging device behavior.
You can open the Inspector by going to https://inspector.afero.io then signing in with your Afero developer account.
After you sign in, the Inspector Home window appears:
This window offers you the following information and actions:
After you select a device card in the Home window, that device’s Details window opens. To look at the details for a different device, use the left-hand Navigation pane, where all the devices associated with your account are listed, identified by their friendly names. Devices with an orange dot are online; devices with a greyed-out dot are offline.
The selected device details are presented in the following panes:
You can download the information and even edit the READ/WRITE attributes from these windows.
The Device Attributes tab details the activity of your device attributes:
|Attribute ID||Attributes are identified by a 2-byte ID and can contain a variable amount of information based on the type of attribute. Attributes can come in many types and have specific ID ranges.||1024|
|Attribute Name||Name assigned to this attribute. You assign device attributes in the Afero Profile Editor.||LED|
|Value||Current value of the attribute.||1|
|Operations||Operations that have been set for the attribute in the device Profile.||READ/WRITE|
|Last Update||Timestamp of when the attribute was last changed.||Jun 21st 2018, 9:55 AM|
The attributes shown in the Afero System Attributes tab are generally set by the Cloud and read by the ASR module, but they can also be set by ASR. For a description of these attributes, refer to the Device Attribute Registry.
For the selected device, this pane displays either the Received Signal Strength Indicator (RSSI) signal status for Wi-Fi or, if the device is connected via Bluetooth and a hub, the signal strength (in dBm), as seen by the hub(s).
Clickto show/hide this pane.
For devices connected via Wi-Fi, the following information is displayed (see above for illustration):
|Wi-Fi SSID||Name of the Wi-Fi network the device is connected to.||SHAW-66E150|
|Wi-Fi Bars||Wi-Fi signal strength for UI purposes.||-48|
|Wi-Fi Steady State||
Wi-Fi connection state when last stable. The value is used to communicate the Wi-Fi state to the applications outside the Wi-Fi setup.
Possible values are:
For devices connected via Bluetooth and a hub, the RSSI is primarily a function of distance and battery power; but of course there are other interferences, such as refractions, reflections, and scattering. RSSI is expressed in decibels from 0 (zero) to -120db. (Zero being the strongest signal.) Typical values will be between -25 (a few inches away) and -100 (~50 meters away).
|RSSI||Signal strength at hub.||SHAW-66E150|
|Timestamp||Time of last signal strength reading.||14:56:06.143|
This section lists the activity (events) between this device and Afero in real-time.
This section contains details that you have defined for the device in the Afero Profile Editor, as well as system-assigned information, such as device location. Clickto download the device information to a file.
|Device ID||Unique alphanumeric string assigned to every Afero Platform device.||01231732d62ca571|
|Friendly Name||A descriptive name for your device that makes it easy to identify. You can edit the friendly name by clicking the pencil icon to the right of the name.||Cat Tracker|
|Profile ID||Unique alphanumeric string assigned to a device Profile.||ED2B11B7‑1597‑42E7‑8E0A‑3F1AF92E347D|
|Partner ID||Unique alphanumeric string assigned to the partner with which the developer is associated.||3BFFBED9‑D443‑4962‑89D1‑59B4B06E3864|
|Device Type ID||Universally unique identifier (UUID) value that maps to a specific Device Type (thermostat, washing machine, camera, etc.). Device Type IDs are unique across the Platform and do not change even if you change a device name.||0B84D736‑240D‑4D2D‑9696‑34B9DF138F49|
|Latitude/Longitude||Latitude/longitude of the device’s last reported location.||48.415876094949 , -123.318191214954|
To view your account information, clickin the upper-right of the window. Most of the information in this section was provided by you when registering for an Afero developer account:
|Name||The given name and surname you used when registering your Afero developer account.||Cera Smith|
|User ID||Unique alphanumeric string assigned to you.||47622660‑D8BE‑40CB‑9F7B‑XXXXXXXXXXXX|
|Username (email)||Email address that you used when registering your Afero developer firstname.lastname@example.org|
|<Account Name>||For each Afero account you have, lists the name and ID of the account.||Cera Enterprise - 43facfc9‑aae3‑4fb4‑9ed1‑9c5cfxxxxxxx|
|Type||The type of account you have.||Customer|
|Partner Name||Lists any partner names with which you are associated.||Smart & E-Z Corp|
|Partner ID||The associated partner ID.||91812ca6‑69fc‑45b2‑bbbb‑d7112xxxxxxx|