smart-house-broker
v0.3.1
Published
Smart House Mqqt fake broker
Downloads
3
Readme
SmartHouse MQTT broker
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 consolemock
-- 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