Cosafe Warning System (CWS)

Learn more about what the Cosafe Warning System is and how to install it on a PC

Updated over a week ago

The Cosafe Warning System (CWS) is a program downloaded to the PC/Mac that allows the user to receive alarms from Cosafe on their computer screen. Alarms sent in Cosafe are automatically synchronised with CWS once the application is installed on your PC/Mac. The CWS is activated when an alarm is triggered and a clear notification appears on the computer screen and the computer emits a distinctive audio signal. The link in the alarm notification takes the user to the Cosafe web app where more information is available.

CWS is a standalone computer application available for download from the Microsoft Store and App Store.

If you want to download CWS directly to your PC (Windows), you can download the application through the following links:
.exe format: download CWS
.msi format: download CWS


Receive alarms via CWS

  1. Log in to the Cosafe Warning System (CWS). You use the same login details as for the app.

  2. Make sure CWS is in your computer's taskbar

  3. The alarm will then appear with a red square box on the computer screen, along with an alarm sound. To read the alarm message, click on "Read message". You will then be redirected to the Cosafe web application.


Test the alarm via CWS

  1. Open the Cosafe Warning System app

  2. Make sure you are logged in

  3. Click on "Test your alarm"

  4. After 15 seconds you will receive a notification and a loud alarm signal


CWS not working on a computer? Here's how to find the fault

  1. Uninstall and reinstall the Cosafe Warning System

  2. Clear the remaining data

  3. Check your computer's sound settings to make sure everything is ok.

    1. Turn on your computer's audio volume (Cosafe cannot go through manually turned down volume on PC/Mac)

    2. Turn off any "mute" mode

Uninstall the Cosafe Warning system

On Windows:

  1. Select Start > Settings > Apps > Apps & Features

  2. Find or search for Cosafe Warning System and select More > Uninstall

On MacOS:

  1. Open Finder , then click Apps in the sidebar

  2. Locate or search for Cosafe Warning System

  3. Drag the app to the trash (bottom right corner)

Clear any remaining data after uninstalling CWS:

To clear the remaining data after uninstalling the CWS, a specific folder must be deleted. To delete it, do the following:

Windows:
On Windows, you will find it at: C:\Users\\AppData\Roaming\CosafeWarningSystem AppData is a hidden folder. If it's not visible, enable viewing of hidden folders in View > Hidden Items (in Windows 10) or View > View > Hidden Items (in Windows 11).

MacOS:

On macOS, it can be found at /Users//Library/Containers/Cosafe Warning System

Library is a hidden folder. If it is not visible, press Command + Shift + . to show hidden folders.

Once you have found the folder, delete the Cosafe Warning System folder.

If this does not work contact your local IT department and see if they have any internal blocks for external applications. Some may also need to make settings in port 5228.

When using a firewall that blocks outgoing connections, for CWS messages to work properly, the firewall must be configured to allow outgoing connections to port 5228.


How CWS connection to server works (for IT technicians)

CWS makes a connection to Firebase Cloud Messaging to port 5228 using the XMPP protocol and keeps the connection open to receive incoming messages (push messages). It uses the same system as push notifications on Android. If outgoing connections to port 5228 are blocked, the computer app cannot get the push token and receive messages.

The data sent with the notification is the same information that can be seen in the Cosafe mobile app when notifications are received. Android uses ports 5229 or 5230 if port 5228 is blocked, but the computer app only uses port 5228.

If all three of these ports are blocked, apps using Firebase Cloud Messaging should not be able to send push notifications to Android devices on that network.

NOTE!
If CWS is already working for the majority of your users, the port is probably not a problem.

Did this answer your question?