Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/zimbora/mqtt-devices-parser
- Owner: zimbora
- Created: 2023-08-29T17:02:43.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-12T16:37:13.000Z (12 months ago)
- Last Synced: 2024-04-29T22:42:10.423Z (8 months ago)
- Topics: json, mqtt, mysql2, parsing
- Language: JavaScript
- Homepage: https://iot.inloc.cloud
- Size: 51.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
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