Skip to main content

A package for Smart Farm IoT data collection and publishing using Modbus TCP and MQTT

Project description

LOGO

Dr.AG Smart Farm IoT Project

This project collects data from IoT devices in a smart farm using Modbus TCP protocol and publishes the data to an MQTT broker.

Project Structure

  • config/: Configuration files including farm information and device details.
  • src/: Source code for reading Modbus data and publishing to MQTT.
  • logs/: Directory for log files.
  • requirements.txt: Python dependencies.
  • README.md: Project documentation.

Setup

  1. Install the required Python packages:

    pip install -r requirements.txt
    
  2. Configure your MQTT broker and device information in the config directory.

  3. Run the main program:

    python src/main.py
    

Copyright

ⓒ 2024. NDS all rights reserved.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

smartfarm_iot-0.0.1.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

smartfarm_iot-0.0.1-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

File details

Details for the file smartfarm_iot-0.0.1.tar.gz.

File metadata

  • Download URL: smartfarm_iot-0.0.1.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.6

File hashes

Hashes for smartfarm_iot-0.0.1.tar.gz
Algorithm Hash digest
SHA256 72b48ad9aa223af471b85e10c38cd4ee1ce05026a12d5b28d6ff9a6c6d4ef873
MD5 f1f35ef7c1bcb1e27cebb607320dd74f
BLAKE2b-256 08a4b3b70f19d163890ca726da58dd19bbbb53ef85bd2b2b018f3bb53d7ba207

See more details on using hashes here.

File details

Details for the file smartfarm_iot-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: smartfarm_iot-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.6

File hashes

Hashes for smartfarm_iot-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0b1ef337f0700092b096ad1a08813fbe802dd5e28b8b4ea13614da7401060b87
MD5 9cc6a822d7c69537d14a66fb244de3fb
BLAKE2b-256 d893f9b4d452057748a6dbf8166edc86181e84f2e7cb42b07bcc203633ab1c51

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page