8000 GitHub - sciguy16/MQTT-Postgres-logger: Log MQTT messages to a postgresql database
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

sciguy16/MQTT-Postgres-logger

F 8000 olders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MQTT-Postgres-logger

Python3 service that subscribes to a wildcard feed of MQTT topics and stores them in a postgresql database. Topics are stored in a separate table.

INSTALLATION:

  • copy config-default.py to config.py
  • edit the values in config.py to match your setup
  • create a database and a user for the logger
  • run initialisedb.py to set up the tables
  • create a user called logging in the group other and modify mqtt-postgres.xml as appropriate
  • run svccfg import mqtt-postgres.xml

NOTE

  • for a system that does not use svccfg, simply run loggingserver.py as a regular user and background it or install it as a service.

About

Log MQTT messages to a postgresql database

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0