This project features an MQTT server (based on Mosca) and a publisher which connects to the Ambiotex Tech Unit and publishes sensor data.
- NodeJS and NPM installed
- Ambiotex Tech Unit (firmware v.3.2.0)
- Noble requirements based on your OS
Clone this repository to your preferred directory:
$ git clone <this repository>
Once you are in the project's root directory, run:
$ npm i
Afterwards, to start the MQTT server, simply run:
$ npm run-script server
And then, to run the publisher:
$ npm run-script publisher
This will initiate both processes and emit data which you can subscribe to from another client.
contact: stefanos@wearhealth.com