Practical overview
When it fits
Use it for an indoor-location prototype when you can collect labeled Wi-Fi readings in the relevant rooms and want a command-line prediction workflow.
Who it is for
- JavaScript and Node.js developers exploring indoor positioning.
- Developers prototyping room-aware IoT or media behaviors.
- People able to collect Wi-Fi readings in the rooms they want to distinguish.
Documented uses
- Record Wi-Fi data associated with a named room.
- List rooms for which data has been collected.
- Request a room prediction from live Wi-Fi readings.
- Explore room-based triggers such as switching lights or pausing a TV.
Requirements & limits
- The documented workflow requires room-labeled training data before prediction.
- The project uses node-wifi and random-forest-classifier.
- Its README explicitly says it is not intended for production applications.
- The repository lists the GNU General Public License v3.0.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Collect room fingerprints and request a prediction
Record Wi-Fi data for named rooms, then use live readings to request a room prediction.
Before you start
- Node.js environment for the documented npm package and command-line workflow.
- Wi-Fi data available from the device running the tool.
- Access to each room to be recorded.
Steps
Install the package with the command below.
npm install whereami.jsIn each room, run
whereamijs learnusing that room's label; the command saves Wi-Fi data as JSON inwhereamijs-data.Run
whereamijs roomsto list rooms with recorded data.After recording training data, run
whereamijs predictto request a prediction from live Wi-Fi readings.
Expected outcome
Room-specific Wi-Fi data is saved, and the predict command returns a room prediction based on live readings.
Guide limitations
- The README says the project is a side project and is not intended for production applications.
- The learn command takes a few seconds to collect and save Wi-Fi data.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 16 November 2026
- Original website title
- charliegerard/whereami.js · Official homepage title · retained in its source language

