How do I connect NoahFace to a breathalyser
This article walks through the NoahFace integration with Alcomeasure
AlcoMeasure Server
- Install the “AlcoMeasure Server” software on a local computer (the device will also need server mode enabled through the “AlcoMeasure Utility”)
- Setup the AlcoMeasure device on the server
- Right click on the AlcoMeasure Server icon in the system tray and select Manage Database
- Select Manage Devices
- Add a new device with the appropriate serial number
- Setup the HTTP notification:
- Right click on the AlcoMeasure Server icon in the system tray
- Under the database manager, select Manage HTTP Notification Configs
- Create a new notification with the following settings:
|
Name: |
Notify TimeSync |
|
URL: |
https://timesync.paycat.com.au/api/v1/alcomeasure/YOUR_TIMESYNC_ID/submit |
|
Method: |
POST |
|
Header Fields: |
Content-Type = application/json |
|
Message: |
{ "deviceTimestamp": "", "resultOverLimit": "", "deviceSerial": "", "readingValue": } |
|
Result Limit: |
Enter your desired BAC limit |
|
Always Send: |
Enabled |
- Setup a location configuration
- Under the database manager, select Manage Location Configs
- Create a new config and under HTTP select the Notify TimeSync notification that you setup earlier
- Setup a device configuration
- Under the database manager, select Manage Device Configs
- Create a new config, selecting the device and location that you set up earlier
- Enable notifications
- Exit out of the database manager
- Right click on the AlcoMeasure Server icon in the system tray and select Server Configuration
- Under the SMTP section, tick the Email Notifications box
- Check that the server status shows the device as connected
NoahFace Access Point Type
- Under the NoahFace Dashboard, add the AlcoMeasure API to your access point type’s screen details.
- For visitor registration or hybrid visitor/employee clocking, set the screen details to:
|
api=https://timesync.paycat.com.au/api/v1/alcomeasure/YOUR_TIMESYNC_ID/check, apimsg=Please conduct a breath test to complete your sign in, apiusers=all, apimode=deny, apitime=120 |
|
in=Start Work:api:Breathalyser:To start work please conduct a breath test using the adjacent breathalyser.:deny:120:https://timesync.paycat.com.au/api/v1/alcomeasure/YOUR_TIMESYNC_ID/check, out=Stop Work |
3. Enter the AlcoMeasure’s serial number into the access point’s Identifier