GithubHelp home page GithubHelp logo

bpetrikovics / nrf-serial-monitor Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 13 KB

Receiver script and MQTT Bridge for my NRF24-based IOT sensor boards

License: MIT License

Dockerfile 4.17% Python 95.83%

nrf-serial-monitor's Introduction

NRF Serial Monitor

CodeQL Docker

A small tool I use to receive data from my self-built IOT sensors. Probably not really useful to anyone else besides me. One day I might create a proper PCB design and publish that as well, along with the (rather simplistic) arduino code.

Until then - data is received through an NRF24L01 SPI radio board by a small hub, built on a 8Mhz, 3.3V Arduino Pro Mini clone. The receiver is outputting the data through its UART, connected to a computer via a CP210x USB/serial dongle, and read by this serial monitor script. Data is pushed to an MQTT server and then used by Home Assistant.

Usage

I use docker for simplicity, also to avoid writing init scripts or systemd unit files; but the script of course just runs fine on its own as well.

Create an .env file along witht he docker-compose.yaml, and specify the MQTT server address in it, e.g.:

MQTT_IP=1.2.3.4

Then simply bring up the container with docker-compose up -d

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.