Modis Lock Monitor
Overview
Intended to run as a daemon service that monitors the incoming requests from Modis readers. The monitor also maintains conditions of 2 door sensors as well as 4 possible readers.
Notifications are handled at the monitor but they are sent asynchronously via Redis and Celery.
Project Homepage: https://github.com/Modis-GmbH/ModisLock-Monitor
Releases Page: https://github.com/Modis-GmbH/ModisLock-Monitor/releases
Requirements
Supervisor apt install supervisor
MySQL service is also required to be running on the same machine. apt install mysql-server5.5
During installation, setup will populate the database, but a root account with no password is required for the install to structure and populate the database.
Optional
For notifications and background tasks, a redis server is required. apt install redis
Installation
The monitor was designed to run on a Raspberry Pi 3 or CM3 module. For testing you can install it on a Linux machine and with it, the GPIO emulator GPIOEmu will be installed, which takes the place of the RPi.GPIO package.
Installation can be accomplished with
During installation several files are written to areas that require elevated priviledges etc. /etc/supervisor/conf.d
sudo pip3 install modislock-monitor
Database Population
Population of the database happens at installation but can be accomplished after the installation if you don’t have a mysql instance running by executing the initialization script found in /etc/modis/modislock_init.sql
Options
You can adapt the configuration of the monitor by modifying the config/default.py or config/development.py or config/production.py files based on your mode of operation.
Metadata
Release files for modislock-monitor 0.1.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| modislock-monitor-0.1.13.tar.gz | 54.9 kB | Without provenance | Details for modislock-monitor-0.1.13.tar.gz |
Release files / modislock-monitor-0.1.13.tar.gz
| Download URL | modislock-monitor-0.1.13.tar.gz |
|---|---|
| Size | 54.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
68517faebcd510f7ec65537f826435c1ec47298f8cbd8e9233daa9fad581208f
|
|
BLAKE2b-256 checksum How to use checksums |
693f059d4a0f625bd482285b52c91e7b020cb4cda0ffdca9413ff9ec71583c2f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for modislock-monitor 0.1.13
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.