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:

    ./run.sh
    

Building and Distributing the Package

  1. Install necessary packages:

    pip3 install setuptools wheel twine
    
  2. Increase version, build package, and upload PyPI:

    ./build.sh
    
  3. View at:

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.10.tar.gz (4.1 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.10-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: smartfarm_iot-0.0.10.tar.gz
  • Upload date:
  • Size: 4.1 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.10.tar.gz
Algorithm Hash digest
SHA256 3ff6495a63d662612770e91eddce8b701d2cec2bb6140991bfd4ed666ce5b3db
MD5 17c743474122ea2397e4ff3d312a8041
BLAKE2b-256 dd7e708905726878d5005895c27d770512597076f7e2f3cf74950b54be36a2db

See more details on using hashes here.

File details

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

File metadata

  • Download URL: smartfarm_iot-0.0.10-py3-none-any.whl
  • Upload date:
  • Size: 5.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.10-py3-none-any.whl
Algorithm Hash digest
SHA256 745538ee462cca25e30fbb65e20e6c42d0229f97cdb4cec5a3aef0aaa7a3d154
MD5 45a04e2b7d7f5e26c296269d1a55a73b
BLAKE2b-256 b927a6d16ba6cf3d522c16dd1d601379cceb159d46671cbf1695aa91dcc5d772

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