GithubHelp home page GithubHelp logo

klumw / gqmqtt Goto Github PK

View Code? Open in Web Editor NEW
2.0 4.0 1.0 3.82 MB

GQ GMC-500+ USB serial to MQTT bridge

License: Apache License 2.0

Go 100.00%
geiger-counter geiger-muller geiger-muller-device home-automation openhab openhab3 raspberry-pi gmc-500

gqmqtt's Introduction

USB serial to MQTT bridge for GQ GMC-500+ Geiger Counter

The aim of this project is to enable easy integration of the GQ GMC-500+ Geiger Counter device into home automation systems (e.g. openHAB).
The software reads data from the device via USB and transfers the data to a MQTT host.
Since most home automation systems support the MQTT protocol, sensor integration should be straightforward.

The bridge software can be compiled for Windows and Linux. See also the installation section for Raspberry PI 3 and 4. You can also download a ready to use executable for Raspberry PI OS.

For compiling the software the installation of the latest version of the GO programming language is necessary.

Installation on Raspberry Pi 3 and 4

  1. Get the latest version of Pi OS.
  2. Run sudo apt update then sudo apt upgrade
  3. Follow the GO installation instructions
  4. Run go build inside the source folder. If everything went well you will get a gqmqtt executable in the src folder.
  5. Make sure the Geiger Counter device is switched on and is connected to your Raspberry Pi via USB. Use only the supplied USB cable if possible.
  6. In the device settings the option Third party output must be switched off. Baud rate should be set to the default value (115200).
  7. Make sure user is member or group "dialout"
  8. For a quick test start your software with the command ./gqmqtt -v, this will start the bridge in verbose mode. Type --help to get an overview of all available command line flags.
  9. If your mqtt broker runs on another host you will need to set up the host url with the -h flag (e.g. -h tcp://192.168.178.25:1883)
  10. You can also install the software as a service for automatic start and restart.

gqmqtt's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

6uzote

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.