Skip to content
This repository has been archived by the owner on Apr 8, 2023. It is now read-only.

Node-RED flow that contains functionality for figuring out where a patient is located, and dispatching ambulances to the location by sending navigation details to ambulance drivers via Google Glass

Notifications You must be signed in to change notification settings

acntech-archive/helphelpwhereami

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Help, help! Where am I?

Node-RED flow that contains functionality for figuring out where a patient is located, and dispatching ambulances to the location by sending navigation details to ambulance drivers via Google Glass

Getting started

Prerequisites

Deploy the example

  1. Register for a trial account at http://bluemix.net (IBM's new PaaS offering, launched in July 2014)
  2. Log in
  3. Click on CREATE AN APP
  4. Choose the Boilerplate Node-RED Starter
  5. Give your app a name and click Create
  6. After a few minutes your app will be running (App Health: Your app is running)
  7. Go to https://<your_app_name>.mybluemix.net
  8. Click on Go to your Node-RED flow editor
  9. Copy the text in exercise1.flow
  10. In your Node-RED flow editor click on the menu button (top right)
  11. Choose Import From - Clipboard
  12. Paste the text your copied in 9.
  13. Click Deploy

Running the example

  1. Open a browser and go to https://<your_app_name>.mybluemix.net/map
  • Some firewalls block websocket packets. It is recommended to use HTTPS in the URL to avoid this
  1. Open a browser on your cellphone and go to http://<your_app_name>.mybluemix.net/client/<your_phone_number>
  • OR register for a trial account at http://www.twilio.com and insert your Twilio API key and your phone number into the SMS node. Update the URL in Send SMS to patient and click the Inject-button to send an SMS
  1. In /client/<your_phone_number> enter the patient's name and click Start tracking
  2. View the patient's position in /map
  3. Click the marker of the patient to dispatch an ambulance (Google Glass notification)

Tips and tricks

  • It is easy to simulate the position of the patient with Google Chrome on a desktop in Developer Tools.

About

Node-RED flow that contains functionality for figuring out where a patient is located, and dispatching ambulances to the location by sending navigation details to ambulance drivers via Google Glass

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published