Sensor and actuator devices connected at Bitraf MQTT broker
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
PirMotionSensor
arduino-button-box
components
cuckoo
graphs
karma
mqtt-current
msg-server
nexa-bridge
singlebutton
spec
test
.dockerignore
.gitignore
.travis.yml
Dockerfile
Makefile
README.md
TODO.md
bitraf-guestlogin.service
bitraf-iot-doorstatus.service
bitraf-iot-guestlogin.service
bitraf-iot-opendoor3floor.service
bitraf-msgflo.service.tmpl
bitraf-tv-showmessage
bitraf-tv-showmessage.service.tmpl
docker-compose.yml
faker.js
package.json
requirements.pip

README.md

Bitraf's Internet of Things network

At Bitraf hackerspace we run a "Internet of Things" network.

We use the MQTT protocol, with a broker running on mqtt.bitraf.no (default port, 1883).

Live view

OpenMCT dashboard with graphs of historical data

Open live view of the network in Flowhub

Things

In use

In development

TODO

Developing

Running locally

  • Install and start a Mosquitto message broker
  • Install the Node.js dependencies of this project with npm install
  • Install the Python dependencies of this project with pip install -r requirements.pip
  • Start the MsgFlo broker with MSGFLO_BROKER=mqtt://localhost npm start

Running with Docker

  • Ensure you have a running Docker daemon
  • Start the project with docker-compose up

Note: by default the MsgFlo coordinator and MQTT ports are only available on localhost. Edit the ports declarations in docker-compose.yml if you want to open them to the outside.

Running tests

npm install # once
npm test