Skip to content

This repository contains the Pyrrha (created by Prometeo) Tizen Web App that targets smartwatches paired with the sensor device and smartphone carried by the firefighters.

License

Notifications You must be signed in to change notification settings

Pyrrha-Platform/Pyrrha-Watch-App

Repository files navigation

Pyrrha watch app

License Slack

This repository contains the Pyrrha solution application that targets Samsung watches paired with the sensor device and Samsung smartphone carried by the firefighters.

Current design mockups based on Prometeo branding

The application was originally built with Prometeo mockups and designs. The current project defaults to Pyrrha branding. Work is underway to automate packaging for either type using build flags.

Pyrrha watch app mockup in switcher

Pyrrha watch app mockup readings

Pyrrha watch app mockup low battery

Features

The watch includes a limited subset of the features proposed in the original mockup. It includes:

  1. Basic home page with time and 4 readings shared from the device via the mobile app
  2. Alerts if one of the readings crosses a threshold which in turn initiates a vibration

The smartphone is responsible for pairing with the watch and the sensor device. The watch receives pushed updates over Bluetooth from the smartphone every second. If any indicator has been red for 5 seconds, it vibrates the watch.

The application is built as a Tizen Web (Companion) Application so it uses HTML, JavaScript, and CSS.

Setting up the development environment

Run on watch or simulator

  1. Open Tizen Studio and select a workspace where you cloned this repository, for example the workspace folder in your home directory.
  2. Clone this repository, either into the workspace folder or elswhere on your computer. For example, I use the dev folder in my home directory to store all my clone repositories, including all the other Pyrrha projects.
  3. In the Project Explorer pane, click "Create new project". Select Template, then Wearable v3.0. Choose Web Application, then TAU Basic. Name the project PyrrhaWatchApp (it can't contain hyphens) and click Finish.
  4. Click File > Import... and select a General - File System. Browse to the folder where you clone this repo. selecting the Pyrrha-Watch-App folder and its included files. Click finish and overwrite existing files.
  5. Open the Emulator Manager under the Tools menu and launch the Wearable Circle device.
  6. Back in Tizen Studio, right click on the PyrrhaWatchApp project and "Run as Tizen Web Application 3.0" in simulator.
  7. The watch will begin running the app and generating random data to simulate how it works.
  8. If it doesn't run, you can click the bottom right watch button and select the app from the list to launch.

Running on a physical watch

  • In order to run the app on a physical device, you'll need to ensure it's built and signed with the Samsung Certificate Extension.
  • You'll need to create a connection to the physical watch over WiFi and set it up in the Device Manager. Watch this video to learn more. There may be additional steps required depending on your device or system.

Continue work and integrate with the Android mobile app

Original mockup based on Prometeo branding

Prometeo watch app mockup

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting Pyrrha pull requests.

License

This project is licensed under the Apache 2 License - see the LICENSE file for details. Refer to the respective licenses in the code for the Samsung and Tizen APIs.

About

This repository contains the Pyrrha (created by Prometeo) Tizen Web App that targets smartwatches paired with the sensor device and smartphone carried by the firefighters.

Topics

Resources

License

Stars

Watchers

Forks