Giter Club home page Giter Club logo

ble-mqtt's Introduction

ble-mqtt

Forwards BLE advertisements to MQTT. Based on EspruinoHub.

yarn global add ble-mqtt

ble-mqtt -c /path/to/config.json

Running through Docker

The below commands expect the config.json to be in /etc/ble-mqtt.

docker build --no-cache -t ble-mqtt:latest .
docker run -d \
  --rm \
  --name ble-mqtt \
  --net=host \
  --env NOBLE_HCI_DEVICE_ID=0 \
  -v /etc/ble-mqtt:/etc/ble-mqtt \
  ble-mqtt:latest

Running the Docker container as a systemd service

  1. Copy ble-mqtt.service to /etc/systemd/system/
  2. To enable start after boot, run sudo systemctl enable ble-mqtt
  3. Run sudo service ble-mqtt start

ble-mqtt's People

Contributors

bettse avatar dklinkman avatar gfwilliams avatar otbe avatar palortoff avatar rsmeral avatar sarfata avatar the1laz avatar tomgidden avatar

Watchers

 avatar

ble-mqtt's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.