Features
Here is a list of the types of notifications about Spot events to which you can subscribe.
Spot Status Notifications
Table 1: Spot Notifications
Value |
Spot Status |
Description |
spot-available |
Available |
The Spot becomes available after being either In Use or Offline. |
spot-in-use |
In Use |
The Spot is being used to charge a device. |
spot-offline |
Offline |
The Spot has gone offline due to connectivity or power issues. |
Example: JSON Payload for a Notification About a Spot Becoming Available
{
“type”: “spot-available”,
“timestamp”: 120495342,
“spot_id”: 12345678,
“spot_beacon_id”: 4930953,
“spot_name”: “SmartSpot 01”
“zone_id”: 1234,
“zone_name”: “Bar”,
“venue_id”: 5678,
“venue_name”: “Bell Yard Hotel - New York”,
“organisation_id”: 1234,
“organisation_name”: “Bell Yard Hotels”,
}
Alert Notifications
Table 2: Alert Notifications
Value |
Alert Type |
Description |
isolated-node |
Isolated Node |
The next closest Spot in the mesh network is not close to this Spot that is triggering the alert and, therefore, there is a risk of connection failure. |
lost-power |
Lost Power |
The Spot has no power source, possibly due to a power outage or power being switched off in the venue in which the Spot is located. |
no-activity |
No Activity |
This Spot has not been used for a specific length of time (check your alert threshold value for this). This may be normal behaviour, but may also indicate that the Spot is not storing session data. |
session-deviation |
Session Deviation |
A Spot has session lengths that are abnormal (generally abnormally long). |
transmitter-miscalibrated |
Transmitter Miscalibrated |
The Spot needs to be recalibrated in the Manage app. |
transmitter-unplugged |
Transmitter Unplugged |
The transmitter is not connected correctly. It may need to be plugged in and reconnected to the Neutron. |
unreachable |
Spot Unreachable |
The Spot may not be plugged in properly or receiving any power. There may be an issue with the Wi-Fi at the venue. If there is an issue with the Wi-Fi, the Spot should still be able to charge devices and record offline sessions. The offline sessions are uploaded to Chargifi Cloud as soon as the Spot comes back online. If there is an issue with the power, the Spot will not be able to charge a device. |
wifi-signal-quality |
Wi-Fi Signal Quality |
The Neutron is near the edge of the Wi-Fi signal and could lose the signal or go offline at any moment. Install additional routers closer to the Spot to extend the network coverage. |
Example 2: JSON Payload for a Notification About a Spot’s Connection
Note
In JSON payloads for alert notifications, the following rules apply:
- The state is either 0 for a resolved alert or 1 for an unresolved alert
- The type is always “alert”
{
“state”: 1
“alert_type”: “Isolated Node”
“type”: “alert”,
“timestamp”: 120495342,
“spot_id”: 12345678,
“spot_name”: “SmartSpot 01”
“zone_id”: 1234,
“zone_name”: “Bar”,
“venue_id”: 5678,
“venue_name”: “Bell Yard Hotel - New York”,
“organisation_id”: 1234,
“organisation_name”: “Bell Yard Hotels”,
}
Smart Association Notifications
Table 2: Smart Association Notifications
Value |
Notification Type |
Description |
user-association |
Smart Association SDK |
A device that is recognizable through our Smart Association SDK has triggered a wireless charging session on a Spot. |
Example 3: JSON Payload for a Notification About a Returning Wireless Charging User
{
“type”: “user-association”,
“timestamp”: 120495342,
“spot_id”: 12345678,
“spot_beacon_id”: 4930953,
“spot_name”: “SmartSpot 01”
“zone_id”: 1234,
“zone_name”: “Bar”,
“venue_id”: 5678,
“venue_name”: “Bell Yard Hotel - New York”,
“organisation_id”: 1234,
“organisation_name”: “Bell Yard Hotels”,
}
Comments
0 comments
Please sign in to leave a comment.