Skip to content

A Python API for communication with a Lufft Compact-Weatherstation (e.g. WS600-UMB) via Serial-Port

License

Notifications You must be signed in to change notification settings

Tasm-Devil/lufft-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

lufft-python

A Python API/driver for communication to Weatherstations made by the German company Lufft (e.g. WS600-UMB) via Serial-Port It implements their Lufft UMB-Protocol. You just need a USB-to-RS485 dongle and connect it to your PWS according to the wiring diagram you find in the manual.

This class does not replace the UMB-config-tool, because its not able to set the config values in your PWS at the moment.

Usage

In your python-script

from WS_UMB import WS_UMB

with WS_UMB() as umb:
    value, status = umb.onlineDataQuery(SomeChannelNumber)
    if status != 0:
        print(umb.checkStatus(status))
    else:
        print(value)

As a standalone python-program:

$ ./WS_UMB.py 100 111 200 300 460 580

About

A Python API for communication with a Lufft Compact-Weatherstation (e.g. WS600-UMB) via Serial-Port

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages