GitXplorerGitXplorer
s

mqtt2serial

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
40cb4c98fbc0069dc9bfeff5022b8acfee541cdd

some updates & fixes

ssengels committed 2 years ago
Unverified
daaafe2c329530ed971c5fcb79385fb64345b388

update readme

ssengels committed 2 years ago
Unverified
effad4a214c26d1a905e2788ade72bedf95555e8

more fixes

ssengels committed 3 years ago
Unverified
104c596062c36231575598d3ebf5f6049aea9f2f

update to a proper DaemonContext

ssengels committed 3 years ago
Unverified
8d76fc502236d5c4e36f1e29d124a125f137298d

Add running code.

ssengels committed 5 years ago
Verified
df891562553ff8c06a902b7313c812e85b8437f1

Initial commit

ssengels committed 5 years ago

README

The README file for this repository.

What is mqtt2serial?

mqtt2serial is used to bridge the gap between a dcc++ basestation and mqtt. it runs on a raspberry pi as a service side by side with the mosquitto mqtt broker and a web server for the web app. The pi in turn is connected via serial cable to the arduino. Commands and answers can be send within your network; mqtt helps to not having to worry about multiple clients or an artificial NIH network protocol.

how to install mqtt2serial

  • sudo apt install python3-pip
  • sudo pip3 install -r requirements.txt (or sudo apt install -y python3-paho-mqtt python3-lockfile python3-daemon python3-serial)
  • sudo mkdir /var/log/nagf2rpi/
  • sudo touch /var/log/nagf2rpi/mqtt2serial.log
  • sudo touch /var/log/nagf2rpi/mqtt2seriald.log
  • sudo chmod 775 -R /var/log/nagf2rpi/
  • sudo mkdir /var/run/nagf2rpi
  • sudo chmod -R 777 /var/run/nagf2rpi
  • sudo chmod +x mqtt2seriald.py
  • sudo ln -s $HOME/mqtt2serial/mqtt2serial.service /etc/systemd/system/mqtt2serial.service
  • sudo systemctl daemon-reload
  • sudo systemctl enable mqtt2serial

License etc.

There is limited use for this, thats why a permissive license. If it helps you I am glad too.