A package for Smart Farm IoT data collection and publishing using Modbus TCP and MQTT
Project description
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
-
Install the required Python packages:
pip install -r requirements.txt
-
Configure your MQTT broker and device information in the
configdirectory. -
Run the main program:
./run.sh
Building and Distributing the Package
-
Install necessary packages:
pip3 install setuptools wheel twine
-
Increase version, build package, and upload PyPI:
./build.sh
-
View at:
Copyright
ⓒ 2024. NDS all rights reserved.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file smartfarm_iot-0.0.13.tar.gz.
File metadata
- Download URL: smartfarm_iot-0.0.13.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a83af346274bcaa11ce5b67413055a88f3d4c4f18f12dbbc344f369866749b4c
|
|
| MD5 |
20310afb7e1835dd4750b81ac3f5aa52
|
|
| BLAKE2b-256 |
74dc55ee6a191767927935f287dc5c951af0de8969bbf543710018061aae5368
|
File details
Details for the file smartfarm_iot-0.0.13-py3-none-any.whl.
File metadata
- Download URL: smartfarm_iot-0.0.13-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e45009432a2ae97c383dcbb5381281b367143a77fc1eb5585991768a21feba5
|
|
| MD5 |
f8993edbe01a171c61e287f087eeea64
|
|
| BLAKE2b-256 |
44dcf80457ff94880f220bb5ef642343d72f7a7eb424e5af501a4dea6282e929
|