2020.03.18.1_ts_pirwp50

Firmware info

Version2020.03.18.1_ts_pirwp50
Statusproduction

New features

  • Wirepas 5.0 version

Error corrections

  • None

Known issues

  • None

Battery life

Test scenarioResult
Reporting interval 1 minuteexpected battery-life 3 years

Performance testing

Test scenarioResult
Visitor counting using visitor counter domemeasured accuracy: 90-95%

Compatibility

The firmware is compatible with the products using following IMCs (TUID prefix)

  • TSPR02
  • XXXX13

Wirepas info

Wirepas stack version5.0
Wirepas application flash size40
Wirepas application area ID0

Thingsee messages

This firmware uses following Thingsee messages

Application messages

The firmware application sends these messages to the cloud service.

Message TypeMessage headerDescriptionPropertiesMessaging
Timebased (tsmEv 10)tsmId=13100Report indicative movement countmoveCount 
maximum 32
Timed reporting interval 60s (1min)
Eventbased (tsmEv 9)tsmId=2100Report state change in occupancy statusstate Measurement interval 60s (1min)Reporting only if the change is detected

Application commands

These commands and configurations can be send from the cloud to the firmware.

Message headerDescriptionPropertiesMessaging
tsmId=13200 (tsmEv 30)Change the sensor configurationthreshold enableLed mode The cloud will send the command using tsmEv 30The firmware will echo the changes using tsmEv 31

System messages

The firmware system sends these messages to the cloud service.

Message TypeMessage headerDescriptionPropertiesMessaging
Startup (tsmEv 11)tsmId=1100Report system infoswVersion modelCode psn 
Firmware response (tsmEv 33)tsmId=1102Indicates that the firmware can’t support requested tsmidrequestTsmId 
Timebased (tsmEv 10)tsmId=1110Report battery-levelbatl Timed reporting interval 3600s (60min)
Timebased (tsmEv 10)tsmId=1202Report network diagnosticstuid rssi rssiDbm neighNodeInfo neighRadioPower neighRadioPowerDbm Timed reporting interval 43200s (720min)
Startup (tsmEv 11)tsmId=1312Report firmware binary infobinaryType binaryVersion 
Error (tsmEv 29)tsmId=1403Report error eventerrorType errorCause 

System commands

These commands and configurations can be send from the cloud to the firmware.

Message headerDescriptionPropertiesMessaging
tsmId=1101 (tsmEv 32)Cloud may requests tsmId on requestrequestTsmId 
tsmId=1500 (tsmEv 30)Change the interval for measurement and reportingmeasurementInterval reportInterval The cloud will send the command using tsmEv 30The firmware will echo the changes using tsmEv 31
tsmId=1501 (tsmEv 30)Change Wirepas node role configurationtransactionId nodeRole autoRole lowLatency The cloud will send the command using tsmEv 30The firmware will echo the changes using tsmEv 31

Firmware descriptor for developers

HTTP GET https://support.haltian.com/device/tspr04/2020.03.18.1_ts_pirwp50/firmware.jsonDownload firmware descriptor (JSON)

Occupancy information (when enabled)

The firmware implements occupancy analytics as follows.UserThingseePRESENCECloudUser enters, leaves or stays at sensor detection areastate = moveCount > 0 ? true : falseSend tsmId 2100reset timercheck if timer expiredSend tsmId 2100reset timerdo nothingalt[ 2h timer expired ][ timer not expired ]alt[ state is changed ][ state is not changed ]loop[ every {interval} ]UserThingseePRESENCECloud