Skip to main content

Plugin for NEMO providing support for connecting to Modbus sensors

Project description

NEMO Sensors

Code style: black PyPI - Python Version PyPI Changelog

Plugin for NEMO allowing to connect to sensors to collect data and set alerts.

Installation

python -m install nemo-sensors

in settings.py add to INSTALLED_APPS:

INSTALLED_APPS = [
    '...',
    'NEMO_sensors',
    # 'NEMO.apps.sensors' Remove old dependency
    '...'
]

To enabled sensor data pulling, set a cron job running every minute with one of the following options:

  1. send an authenticated http request to <nemo_url>/manage_sensor_data/
  2. run command django-admin manage_sensor_data or python manage.py manage_sensor_data

Example of systemd service and timer files are provided for your convenience in the systemd folder.

Usage

Usage instructions go here.

Tests

To run the tests:

python runtests.py

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

nemo_sensors-1.1.1.tar.gz (199.6 kB view details)

Uploaded Source

Built Distribution

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

nemo_sensors-1.1.1-py3-none-any.whl (209.2 kB view details)

Uploaded Python 3

File details

Details for the file nemo_sensors-1.1.1.tar.gz.

File metadata

  • Download URL: nemo_sensors-1.1.1.tar.gz
  • Upload date:
  • Size: 199.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for nemo_sensors-1.1.1.tar.gz
Algorithm Hash digest
SHA256 3704dca4244c0e10d121ff5503790fb5ded39d44143a2c5ba60486b98284cb2b
MD5 1c512dbc153ba418735c2b5e363df178
BLAKE2b-256 322dd08627f2005d50b95a2905310b839823282ad2b171c79cf2ff21c435735f

See more details on using hashes here.

File details

Details for the file nemo_sensors-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: nemo_sensors-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 209.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for nemo_sensors-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 eef89e27b61256363676e01ba60d0518a4cb3be94224d2adab4ae2289fd77a7d
MD5 5ab680ff80f3881dd81e01b662049fa8
BLAKE2b-256 bfc15b9f1e548a650e962e50ea6fcc3e4af3ba35c9afe36a736d9d2fb2d6b99e

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