python开发mbus程序_Python pywmbus包_程序模块 - PyPI - Python中文网
#WIP WM總線在Python中的實現
本項目實施了無線m-bus標準的部分內容,定義見din en 13757-1及以下。
目前,只支持未加密的短幀(即ci 0x7a)。歡迎拉取請求。
##安裝
###點pip install pywmbus
###手動git clone https://github.com/jalmeroth/pywmbus.git
cd pywmbus
python setup.py install
依賴關系
用法usage: parser.py [-h] [-d DEBUG] [-r RAW] [-s SERIAL] [-b BAUD]optional arguments:-h, --helpshow this help message and exit
-d DEBUG, --debug DEBUG
Enable debug mode
-r RAW, --raw RAW
RAW Message
-s SERIAL, --serial SERIAL
Path to serial device
-b BAUD, --baud BAUD
Baudrate
####示例$ ./parser.py -r 34446532121257073804FDEC7A90000000046D280029290C0539351356A0000C13683720014C05806611004C13879649105300426C1F2C326CFFFF236E
manufacturer: LSE
device id: 07571212
device version: 56
device type: 4 (Heat)
control info: 0x7a
access number: 144
state: Kein Fehler
configuration: 0
records (7): [2017-09-09 00:40:00, 133539, 1203768, 116680, 531087, 2016-12-31, 1970-01-01]
##測試過的智能儀表SMArvis WFM26用于加熱
水用Smarvis WMC36
smarvis wmh36適用于熱水
歡迎加入QQ群-->: 979659372
推薦PyPI第三方庫
總結
以上是生活随笔為你收集整理的python开发mbus程序_Python pywmbus包_程序模块 - PyPI - Python中文网的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 再见!明起冰墩墩停产 想买的抓紧了:各类
- 下一篇: python循环中的else_pytho