Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

smartfarm-iot

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smartfarm-iot

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

  • 0.0.14
  • PyPI
  • Socket score

Maintainers
1
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:

ⓒ 2024. NDS all rights reserved.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc