Skip to content
This repository has been archived by the owner on Jul 21, 2020. It is now read-only.

garage-it/SmartHouse-broker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SmartHouse MQTT broker

Build Status

npm version

Prepare

Install npm dependencies

npm i

Install mongodb and run in at :27017 port

Run

Start the MQTT server

npm start

After MQTT server is up, it will report:

Mosca server is up and running
mqtt://localhost:1883

options

  • log -- start with logger, that will output all events to console

  • mock -- add mocker, that will randomly send events to the MQTT

e. g. npm start -- --log --mock will run MQTT server logger and mocker

For more details see

npm start -- --help