MQTT plugin for NEMO
Project description
NEMO MQTT
This plugin for NEMO adds support for MQTT interlocks.
Compatibility:
NEMO >= 5.0.0 ----> NEMO MQTT >= 0.3
NEMO-CE >= 2.0.0 -----> NEMO MQTT >= 0.3
Installation
-
Install python module
pip install NEMO-mqtt[NEMO]
-
Add
NEMO_mqtttoINSTALLED_APPSinsettings.py:INSTALLED_APPS = [ '...', 'NEMO_mqtt', # This needs to be before NEMO '...' 'NEMO', '...' ]
-
Run migrations:
python manage.py migrate
Usage
- Navigate to the
Detailed Administrationpage in theAdministrationmenu. - Go to
Interlock cardsadmin page, create a new item with the following parameters:- Name:
MQTT_0(you can choose anything else meaningful and unique for each server, e.g.MQTT_0, MQTT_1, etc) - Server:
localhost - Port:
0 - Category*:
MQTT - Enabled:
tick
- Name:
- Go to
Mqtt interlock serversadmin page and add one item for each server you are willing to use:- Under card, select the corresponding interlock card item:
MQTT_0:localhost - Fill other parameters according to your server authentication requirements.
- Under card, select the corresponding interlock card item:
- Go to
Interlocksadmin page and add an interlock:- Card:
MQTT:localhost - Channel: select a non-null unique number.
- Card:
- Go to
MQTT interlocksadmin page and add an MQTT interlock:- Interlock: select the previously created interlock
- Fill the rest according to the parameters required by your interlock to operate
- Repeat 4 & 5 as needed
- Use as a normal interlock for doors/tools
- Enjoy!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file NEMO_mqtt-0.3.5-py3-none-any.whl.
File metadata
- Download URL: NEMO_mqtt-0.3.5-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ef20f53d1c878b78b3bf5fe83710992962bbfa7f3b073f2fa8532872b2e8c17
|
|
| MD5 |
5bcd7f32d75f874ea8c703f5e4a0d2a9
|
|
| BLAKE2b-256 |
307b033d714fa427a63fd47e7ab833884a98f65fe45de302c266661b99e44ae0
|