Skip to content

rmpasswd/mqtt-supabase-ingest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What this program does

  • Connects to an mqtt broker using Eclipse' Paho.mqtt python library
  • Uses Supabase python client and connects to supabase
  • Subscribes to mqtt topics and inserts data into remote postgres table

Setup Guidelines

  1. Clone/Download this repository.
  2. Install python
  3. Use venv to setup virtual environment(optional)
  4. Inside the folder, open terminal/cmd.
  5. Run python -r requirements.txt
  6. Run python main.py

Miscellaneous

  • Change broker connection config in main.py file client.connect function arguments
  • Change subscriptions topics: main.py file, inside on_connect function

About

Stream IoT data into remote Postgres tables

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages