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: 2 months ago
JSON representation
NPM MODULE - parsing mqtt messages coming from devices
- Host: GitHub
- URL: https://github.com/zimbora/mqtt-devices-parser
- Owner: zimbora
- Created: 2023-08-29T17:02:43.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-08-18T17:03:25.000Z (2 months ago)
- Last Synced: 2025-08-18T19:08:28.714Z (2 months ago)
- Topics: json, mqtt, mysql2, parsing
- Language: JavaScript
- Homepage: https://iot.inloc.cloud
- Size: 164 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: Readme.md
- Changelog: Changelog.md
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