Skip to content

bitraf/bitraf-iot

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.

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