python library which can talk with Voltcraft SEM6000
Find a file
sqozz 8b7e88db74 Merge branch 'btledev_private' of sqozz/sem6000 into master
This cleans up some rough edges of the initial version.

1. Reconnect support introduces better handling of missing or misbehaving wall sockets.
2. Variable visibility for the internally used ble characteristics just give the reader a slight clue about their (un)importance for them.
3. Variable access was cleaned up to use the provided setter for cmd and payload.
4. Some spaghetti code got slightly more readable.
5. Finally, graceful handling of disconnects is now possible. This allows short lived scripts (e.g. home-assistant components) to access multiple sockets with the same BLE adapter.
2019-11-13 18:13:36 +01:00
example.py Add timeout and reconnect support 2019-02-27 22:01:46 +01:00
README.md Add README 2018-08-11 00:39:26 +02:00
requirements.txt Add PoC lib 2018-08-11 00:32:33 +02:00
sem6000.py Add proper connect and disconnect functions 2019-11-13 17:57:24 +01:00

$ git clone … sem6000
$ cd sem6000
$ virtualenv -p python3 python3_venv
$ . ./python3_venv/bin/activate
$ pip3 install -r requirements.txt
$ python3 example.py