sqozz
8c372513d8
Merge branch 'master' of ssh://git.geekify.de:1421/sqozz/sem6000
3 years ago
sqozz
de79c2bca5
Adjust example.py
3 years ago
sqozz
06f2cfe33e
Add serial and fw version property
3 years ago
sqozz
df9a355ee8
Cleanup characteristics
3 years ago
sqozz
95983d464f
Merge branch 'feature/ring_led' of sqozz/sem6000 into master
3 years ago
sqozz
3755f26081
Add function to set LED visibility
3 years ago
sqozz
f488869f3d
Add function to set icon
3 years ago
sqozz
6cc5804017
Merge branch 'features/config' of sqozz/sem6000 into master
3 years ago
sqozz
9b49abd66e
Make current config availible as attributes
3 years ago
sqozz
80c0c5dd4b
Add getSN function
3 years ago
sqozz
aea3cc32f5
Add function to read current plug config
3 years ago
sqozz
be6528f074
Merge branch 'feature/name_icon' of sqozz/sem6000 into master
3 years ago
sqozz
b80c640e61
Raise exception if name is set without login
3 years ago
sqozz
271e1bc5bf
Add function to set the plug icon
3 years ago
sqozz
b931fb0a41
Add function to change plug name
3 years ago
sqozz
7d16b7b33b
Merge branch 'feature/return_codes' of sqozz/sem6000 into master
3 years ago
sqozz
7a9a2949ff
Add proper responses to all functions
3 years ago
sqozz
353c6f64bb
Merge branch 'collectd' of cfr34k/sem6000 into master
3 years ago
Thomas Kolb
adf675e1f1
collectd: clarify bluepy import
3 years ago
Thomas Kolb
341b6e84b6
Improved handling of unavailable devices
3 years ago
Thomas Kolb
91d682cd97
First version of collectd plugin
3 years ago
sqozz
32fc0785d3
Merge branch 'features/time_sync' of sqozz/sem6000 into master
3 years ago
sqozz
a5312baef3
Add function to sync the time with the plug
3 years ago
sqozz
f656c5d516
Merge branch 'fix_changePassword' of cfr34k/sem6000 into master
3 years ago
Thomas Kolb
a0874625c7
fix: use function parameter in changePassword()
4 years ago
sqozz
80e6bbaaed
Merge branch 'fix/zerodivision' of sqozz/sem6000 into master
4 years ago
sqozz
6f810c949b
Fix ZeroDivisionError if plug is powered off
4 years ago
sqozz
34b1e667af
Merge branch 'features/total_power' of sqozz/sem6000 into master
4 years ago
sqozz
101d4f4149
Add parsing of the total consumed power
4 years ago
sqozz
1b1b5d8562
Merge branch 'gitignore' of cfr34k/sem6000 into master
4 years ago
Thomas Kolb
63b066511a
Ignore some files in Git
...
Specifically compiled Python code and Vim swap files.
4 years ago
sqozz
d91813497f
Merge branch 'power_factor' of cfr34k/sem6000 into master
4 years ago
Thomas Kolb
7b82461f03
example: restart on BrokenPipeError
4 years ago
Thomas Kolb
2f13d6f6a5
example: print power factor
4 years ago
Thomas Kolb
01cc1ed9b7
example: removed invalid constructor argument
4 years ago
Thomas Kolb
8f06b28f31
Added power factor calculation
4 years ago
sqozz
d824a93c5b
Merge branch 'remove_reconnect' of sqozz/sem6000 into master
4 years ago
sqozz
e38d6abb12
Remove automatic reconnect
4 years ago
sqozz
d0a57f483e
Merge branch 'shebang' of cfr34k/sem6000 into master
4 years ago
Thomas Kolb
50cb935f80
Add shebang to example script
4 years ago
sqozz
60199338bf
Merge branch 'improved_reconnect' of cfr34k/sem6000 into master
4 years ago
Thomas Kolb
2378f52a7e
Reliable reconnect in user script
4 years ago
sqozz
a91eb91ac6
Instantiate Peripheral on class initialization
4 years ago
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.
4 years ago
sqozz
bc34c9dd8f
Add proper connect and disconnect functions
...
This makes it possible to only open a short lived connection to the
physical SEM6000 socket. A few old artefacts referencing __reconnect do
still exist in the code.
4 years ago
sqozz
6c83bccbde
Use setter for init BTLE payload data
4 years ago
sqozz
4f8b698a14
Change visibility of some properties
5 years ago
sqozz
5c06fc131a
Add timeout and reconnect support
5 years ago
sqozz
21433a3d20
Merge branch 'master' of ssh://git.geekify.de:1421/sqozz/sem6000
5 years ago
sqozz
3673e31ffc
Add change password function and fix checksum
5 years ago