Metadata-Version: 2.0
Name: PyBLNET
Version: 0.6.5
Summary: Automate web based communication with BL-NET to UVR1611
Home-page: https://github.com/nielstron/pyblnet/
Author: Niels Mündler
Author-email: n.muendler@web.de
License: MIT
Keywords: python uvr1611 blnet technische alternative
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Object Brokering
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.6
Requires-Dist: htmldom
Requires-Dist: requests

# PyBLNET - a very basic python BL-NET bridge
A package that connects to the BL-NET that is connected itself to a UVR1611 device by Technische Alternative. 
It is able to read digital and analog values as well as to set switches to ON/OFF/AUTO

```python
ip = '192.168.178.10'

# Check if there is a blnet at given address
print(test_blnet(ip))

# Easy to use high level interface
blnet = BLNET(ip, timeout=5)
print(blnet.turn_on(10))
print(blnet.fetch())

# Fetch the latest data via web interface
blnet = BLNETWeb(ip, timeout=5)
print(blnet.read_analog_values())
print(blnet.read_digital_values())

# For publishing values
#print(blnet.set_digital_value("10", 'AUS'))
#print(blnet.read_digital_values())

blnet = BLNETDirect(ip)
# Fetching the latest data from the backend
print(blnet.get_latest())
# Still inofficial because unexplicably failing often
print(blnet._get_data(1))
```

