myLwM2M is an ongoing LWM2M server implementation in Python 3.
- Python 3.4+
- aiocoap -- a CoAP framework
You will currently need to install aiocoap manually. Here are the required steps:
-
Clone it using
git clone https://github.com/chrysn/aiocoap.git
-
python setup.py install
(system wide installation, requires root privileges) or -
python setup.py install --user
(for user-local installation). -
Install myLwM2M:
python setup.py install
(system wide, requires root privileges) orpython setup.py install --user
(user-local installation).
-
Run using
python run.py
.
You can use OMA LWM2M DevKit for
testing/development. Just point it to coap://localhost:5683
and load the "example client".
You should notice console output like:
DEBUG:myLwM2M-server:POST called with options {'lt': '60', 'b': 'U', 'ep': 'DEVKIT'}
myLwM2M is licensed under the terms of MIT License.
See TODO.