The Attensys realtime API allows you to remotely measure and manage your connected devices.
MQTT broker, which publishes
topics which can be consumed by an MQTT client.MQTT v3.1, v3.1.1, and V5.0. The complete compliance to the
MQTT standard ensures the smooth integration with all major of MQTT clients and tools.All messages are retained and sent with QoS2.
Wildcards can be used at any path.
Attensys Gateway MQTT broker
IP of gateway to connect to.
Secure connection (TLS) is available through port 8883.
The topic on which node state life cycle may be consumed.
Inform about node life cycle state
The life cycle will change during the powered node.
Id of the gateway.
Id of the node which is also the serial number.
Accepts the following message:
Inform about node state changes.
init: The node is connected to the MQTT broker, but has not yet sent all initialization messages and is not yet ready to operate.updating: The node is updating the firmware.ready: The node is connected to the MQTT broker, has sent all initialization messages and is ready to operate.disconnected: this is the state the node is in when it is cleanly disconnected from the MQTT broker.lost: this is the state the device is in when the device has been “badly” disconnected.alert: this is the state the device is when connected to the MQTT broker, but something wrong is happening. E.g. a sensor is not providing data and needs human intervention. init
The topic on which node errors may be consumed.
Inform about node errors
Displaying current errors on the node.
Id of the gateway.
Id of the node which is also the serial number.
Accepts the following message:
Inform about node errors.
sensorpad_cable: There's an error on the cable or sensor pad.fdc: The node fdc chip is damaged.data_cable: The data cable is damaged.sensorpad_cable
The topic on which node firmware version may be consumed.
Inform about node firmware version
The node firmware follows semver.
Id of the gateway.
Id of the node which is also the serial number.
Accepts the following message:
Inform about node firmware version changes.
Node firmware version
1.0.0
The topic on which node uptime may be consumed.
Inform about node uptime
The node update is meassured in seconds and updates every minute.
Id of the gateway.
Id of the node which is also the serial number.
Accepts the following message:
Inform about node uptime changes.
Node uptime
The topic on which measured values from seat cushion category may be consumed.
Inform about seat category measurements for a particular seat
Depending on the installed Attensys sensor, the resulting measurement will be published here whenever there is detected a change.
Id of the gateway.
Id of the node which is also the serial number.
Id of the seat as specified in the seat paring process.
Accepts the following message:
Inform about sensor measurements for a particular seat.
Detected category depending on sensor type installed in seat.
empty
The topic on which measured values from seat cushion category tresholds may be consumed.
Inform about seat category tresholds for a particular seat
Depending on the installed Attensys sensor, the resulting measurement will be published here whenever there is detected a change.
Id of the gateway.
Id of the node which is also the serial number.
Id of the seat as specified in the seat paring process.
Accepts the following message:
Inform about seat categories for a particular seat.
Comma seperated numbers of seat thresholds
1000,1001,1002,1003,10010
The topic on which measured values from seat cushion category data-types may be consumed.
Inform about seat category data-types for a particular seat.
Depending on the installed Attensys sensor, the resulting measurement will be published here whenever there is detected a change.
Id of the gateway.
Id of the node which is also the serial number.
Id of the seat as specified in the seat paring process.
Accepts the following message:
Inform about Seat cushion datatype changes.
Comma separated string enums of valid seat cushion data-types fx person,empty
person,empty
Inform about sensor measurements for a particular seat.
Detected category depending on sensor type installed in seat.
Inform about seat categories for a particular seat.
Comma seperated numbers of seat thresholds
Inform about node state changes.
init: The node is connected to the MQTT broker, but has not yet sent all initialization messages and is not yet ready to operate.updating: The node is updating the firmware.ready: The node is connected to the MQTT broker, has sent all initialization messages and is ready to operate.disconnected: this is the state the node is in when it is cleanly disconnected from the MQTT broker.lost: this is the state the device is in when the device has been “badly” disconnected.alert: this is the state the device is when connected to the MQTT broker, but something wrong is happening. E.g. a sensor is not providing data and needs human intervention. Inform about node errors.
sensorpad_cable: There's an error on the cable or sensor pad.fdc: The node fdc chip is damaged.data_cable: The data cable is damaged.Inform about node uptime changes.
Node uptime
Inform about node firmware version changes.
Node firmware version
Inform about Seat cushion datatype changes.
Comma separated string enums of valid seat cushion data-types fx person,empty
init: The node is connected to the MQTT broker, but has not yet sent all initialization messages and is not yet ready to operate.updating: The node is updating the firmware.ready: The node is connected to the MQTT broker, has sent all initialization messages and is ready to operate.disconnected: this is the state the node is in when it is cleanly disconnected from the MQTT broker.lost: this is the state the device is in when the device has been “badly” disconnected.alert: this is the state the device is when connected to the MQTT broker, but something wrong is happening. E.g. a sensor is not providing data and needs human intervention. sensorpad_cable: There's an error on the cable or sensor pad.fdc: The node fdc chip is damaged.data_cable: The data cable is damaged.Node firmware version
Node uptime
Comma separated string enums of valid seat cushion data-types fx person,empty
Comma seperated numbers of seat thresholds
Detected category depending on sensor type installed in seat.
Single Sensor
Single Sensor plus
Dual Sensor
Triple Sensor