Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zimbora/mqtt-devices-parser

NPM MODULE - parsing mqtt messages coming from devices
https://github.com/zimbora/mqtt-devices-parser

json mqtt mysql2 parsing

Last synced: about 2 months ago
JSON representation

NPM MODULE - parsing mqtt messages coming from devices

Awesome Lists containing this project

README

        

# mqtt-devices-parser

## NPM Module
- MQTT parser
- Parses topics coming from devices and updates data on dB

## Deploy
```
parser.deploy(config,projectsPath);
```

## Run
```
parser.init(config,projects);
```

## Examples
check example path to see how to use this module

## UnitTest

## Dependencies

- mysql8.0
- MQTT

## Front end
- Node service running the following [project](https://github.com/zimbora/mgmt-iot-web)

## Configuration

The default configuration uses ./config/index.js file\
In your program set the same struct and pass it as argument on the module init call.

An mqtt account will be created using the following settings
mqtt.user - mqtt user login
mqtt.pwd - mqtt pwd login