The smart meter uses the DSMR/P1 standard and embeds the data in an encrypted and authenticated "DLMS General Global Cipher" frame. The encryption/decryption is handled by the "dlms_cosem" lib. Test cases are included. Adds OBIS codes for reactive energy.
24 lines
357 B
INI
24 lines
357 B
INI
[testenv]
|
|
deps=
|
|
pytest
|
|
pytest-cov
|
|
pylama
|
|
pytest-asyncio
|
|
pytest-mock
|
|
dlms_cosem
|
|
commands=
|
|
py.test --cov=dsmr_parser test {posargs}
|
|
pylama dsmr_parser test
|
|
|
|
[pylama:dsmr_parser/clients/__init__.py]
|
|
ignore = W0611
|
|
|
|
[pylama:dsmr_parser/parsers.py]
|
|
ignore = W605
|
|
|
|
[pylama:pylint]
|
|
max_line_length = 120
|
|
|
|
[pylama:pycodestyle]
|
|
max_line_length = 120
|