Skip to content

env-os/mqtt-websocket-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MQTT Werbsocket service

Service for read MQTT signals with websockets.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

nodeJS

Installing

  1. Install npm project dependecies
npm install

Deployment

  1. Set environments variables
BROKER_URL // the url of the mqtt broker
TOPIC // the topic in which you listen
PORT // the websocket port
  1. Compile Typescript
npm run tsc
  1. Run micro-service
node build/server.js

Built With

License

This project is licensed under the GNU License - see the LICENSE.md file for details

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published