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.2.0.tar.gz (199.5 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.2.0-py3-none-any.whl (209.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nemo_sensors-1.2.0.tar.gz
  • Upload date:
  • Size: 199.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for nemo_sensors-1.2.0.tar.gz
Algorithm Hash digest
SHA256 7d0dda224076272af15b23468344a3c327c8c3ad382a48d13feb7be9e7b763e3
MD5 d567c9daafb971c8c684a9d9616ed54b
BLAKE2b-256 c0f77ffa05c3cdb6bb96392f34b563947c6b0bcd6e6816701144a71d2eea64d3

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for nemo_sensors-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e74ad58da2d8d8b425bbd50e07ee84303fafac050095fa330da1de48084a74fe
MD5 b1f7e770c280cdc7ff2cea62c7c8ec21
BLAKE2b-256 1df4ccfc6bb6bedea5cfb8a0c270098170c961ade0604d26ec398d9ba09501af

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