Skip to content

This project is for a challenge: Build a server that uses the MQTT protocol along with the influxdata database

Notifications You must be signed in to change notification settings

marcosmagno/Influxdata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Virturian Challenge

Dependencies

Publisher and Subscriber

python 3.4+

Usage

  1. Clone the repository

git clone https://github.com/marcosmagno/Influxdata.git

  1. Run
  • HBMQTT (Server):
    Change the configuration file (conf). computer_ip default is 127.0.0.1. bind: computer_ip

hbmqtt -c conf -d

  • Publisher (data generator and publisher) server_ip and topic_publisher default to 127.0.0.1 and sensor/temperatura, respectively.

python3 publisher.py --server-ip "server_ip" --topic "topic_publisher"

  • Subscriber (data generator and publisher) server_ip and topic_publisher default to 127.0.0.1 and sensor/temperatura, respectively.

python3 subscriber.py --server-ip "server_ip" --topic "topic_publisher"

About

This project is for a challenge: Build a server that uses the MQTT protocol along with the influxdata database

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages