https://github.com/asncodes-80/modbus-rtu-data-collector

A Python program that gets data over Modbus virtual COM port and saves them in a file

https://github.com/asncodes-80/modbus-rtu-data-collector

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (5.7%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

A Python program that gets data over Modbus virtual COM port and saves them in a file

Basic Info
  • Host: GitHub
  • Owner: Asncodes-80
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 169 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created almost 2 years ago · Last pushed over 1 year ago
Metadata Files
Readme

README.md

Modbus RTU Data Collector

Get packages in poetry environment

sh poetry update

Run

During client configurations, you should set $USER Read-Write permission to /var/log directory.

NOTE: find logs at /var/log/psim.

sh sudo chmod o+w /var/log

Manual

sh poetry run python main.py

Auto Startup with Parallel Machine to Machine

sh pm2 startup

Run as Background Service

Run the following command to make the psim.sh script executable.

sh chmod +x psim.sh

sh pm2 start ./psim.sh

Check Service is Run

sh pm2 list

Save service

sh pm2 save

Errors

  • "comport_issue": There is not any Comport connection to computer
  • "modbusconnectionerror": "Client can't connect and send request to the Modbus Slave at this time"
  • "fault": Software fault in modbus response, check python code

Owner

  • Name: Alireza Soltani Neshan
  • Login: Asncodes-80
  • Kind: user
  • Location: ./Iran/Tehran
  • Company: PCI

Software engineer student

GitHub Events

Total
  • Issues event: 2
  • Push event: 1
  • Public event: 1
  • Create event: 1
Last Year
  • Issues event: 2
  • Push event: 1
  • Public event: 1
  • Create event: 1

Dependencies

poetry.lock pypi
  • aiohappyeyeballs 2.4.3
  • aiohttp 3.10.9
  • aiosignal 1.3.1
  • alabaster 1.0.0
  • astroid 3.3.5
  • attrs 24.2.0
  • babel 2.16.0
  • bitarray 2.9.2
  • bitstring 4.2.3
  • build 1.2.2.post1
  • certifi 2024.8.30
  • cffi 1.17.1
  • charset-normalizer 3.4.0
  • click 8.1.7
  • codespell 2.3.0
  • colorama 0.4.6
  • commonmark 0.9.1
  • coverage 7.6.2
  • cryptography 43.0.1
  • dill 0.3.9
  • docutils 0.21.2
  • execnet 2.1.1
  • frozenlist 1.4.1
  • get-nic 0.0.3
  • gprof2dot 2024.6.6
  • idna 3.10
  • imagesize 1.4.1
  • importlib-metadata 8.5.0
  • iniconfig 2.0.0
  • isort 5.13.2
  • jaraco-classes 3.4.0
  • jaraco-context 6.0.1
  • jaraco-functools 4.1.0
  • jeepney 0.8.0
  • jinja2 3.1.4
  • keyring 25.4.1
  • markdown-it-py 3.0.0
  • markupsafe 3.0.1
  • mccabe 0.7.0
  • mdurl 0.1.2
  • more-itertools 10.5.0
  • multidict 6.1.0
  • mypy 1.11.2
  • mypy-extensions 1.0.0
  • nh3 0.2.18
  • packaging 24.1
  • pkginfo 1.10.0
  • platformdirs 4.3.6
  • pluggy 1.5.0
  • prompt-toolkit 3.0.48
  • propcache 0.2.0
  • pycparser 2.22
  • pygments 2.18.0
  • pylint 3.3.1
  • pymodbus 3.7.3
  • pymodbus-repl 2.0.4
  • pyproject-hooks 1.2.0
  • pyserial 3.5
  • pytest 8.3.3
  • pytest-aiohttp 1.0.5
  • pytest-asyncio 0.24.0
  • pytest-cov 5.0.0
  • pytest-profiling 1.7.0
  • pytest-timeout 2.3.1
  • pytest-xdist 3.6.1
  • pywin32-ctypes 0.2.3
  • readme-renderer 44.0
  • recommonmark 0.7.1
  • requests 2.32.3
  • requests-toolbelt 1.0.0
  • rfc3986 2.0.0
  • rich 13.9.2
  • ruff 0.6.9
  • secretstorage 3.3.3
  • shellingham 1.5.4
  • six 1.16.0
  • snowballstemmer 2.2.0
  • sphinx 8.0.2
  • sphinx-rtd-theme 3.0.0
  • sphinxcontrib-applehelp 2.0.0
  • sphinxcontrib-devhelp 2.0.0
  • sphinxcontrib-htmlhelp 2.1.0
  • sphinxcontrib-jquery 4.1
  • sphinxcontrib-jsmath 1.0.1
  • sphinxcontrib-qthelp 2.0.0
  • sphinxcontrib-serializinghtml 2.0.0
  • tabulate 0.9.0
  • tomlkit 0.13.2
  • twine 5.1.1
  • typer 0.9.4
  • types-docutils 0.21.0.20241005
  • types-pygments 2.18.0.20240506
  • types-pyserial 3.5.0.20240826
  • types-setuptools 75.1.0.20240917
  • typing-extensions 4.12.2
  • urllib3 2.2.3
  • wcwidth 0.2.13
  • yarl 1.14.0
  • zipp 3.20.2
pyproject.toml pypi
  • bitstring ^4.2.3
  • get-nic ^0.0.3
  • pymodbus ^3.5.2
  • pyserial ^3.5
  • python ^3.12