Christian Kratky 0c7a5a992b | před 5 roky | |
---|---|---|
.. | ||
00_sample.py | před 5 roky | |
readme.md | před 5 roky |
This directory contains scripts which are loaded by the server and can be used to perform the following tasks.
All scripts are loaded and MQTTnet Server will invoke functions according to predefined naming conventions. If a function is implemented in multiple scripts the context will be moved throug all instances. This allows overriding of results or passing data to other (following) scripts.
The Python starndard library ships with MQTTnet Server. But it is possible to add custom paths with Python libraries.
import sys
sys.path.append(PATH_TO_LIBRARY)