Commit graph

138 commits

Author SHA1 Message Date
Daniel Høyer Iversen
8e7446f410
Fix CBC mode padding and use adler32 for checksums (#315)
* Fix CBC mode padding and use adler32 for checksums

* Change line order

This change comes to improve the readability of the code.

* Use zero-padding for CBC mode
2020-03-04 22:24:09 +01:00
Matthew Garrett
dfd478922b
Merge pull request #290 from barnybug/add_bgelectrical_sockets
Add support for BG Electrical Smart Sockets
2020-01-29 16:18:00 -08:00
Barnaby Gray
a05efe1c00 Add detail on return value for get_state() 2019-10-16 09:58:02 +01:00
Barnaby Gray
660c2269e4 Add support for BG Electrical Smart Sockets 2019-10-13 22:12:13 +01:00
Liran BG
cbb1d67df8 Print base64 RF learned command output (#286)
* Print base64 RF learned command output

Would be helpful for hassio fans, they can easily copy paste the output into their automation configuration file.

* Update broadlink_cli
2019-10-09 16:44:40 +03:00
Daniel Høyer Iversen
56e444cacf
0.12.0 (#285) 2019-10-02 09:26:01 +03:00
Daniel Høyer Iversen
2e5361bd8e
Remove support for pyaes (#281)
* remove support for pyaes

* remove support for pyaes

* remove support for pyaes
2019-10-02 09:25:27 +03:00
Leonardo Brondani Schenkel
11c5981793 Use old IP address lookup logic as fallback (#275)
On some machines, resolving the local hostname results in a loopback IP
address (127.0.0.0/8). This breaks discovery. In these situations, fall
back to the old IP address lookup logic that was removed on commit 790edb9.
2019-08-16 12:13:53 +03:00
carlos-alarcon
1cea255dce Allow to specify local_ip_address when discovering (#272) 2019-07-29 09:39:50 +03:00
Johnson Chin
9d9b49c3db SP2: Add support for OEM SP2 (#251) 2019-06-24 20:06:50 +02:00
Daniel Høyer Iversen
b6fd48db5d
0.11.1 2019-06-10 09:13:18 +02:00
Daniel Høyer Iversen
9ec2da834b
handle none power raw (#250) 2019-06-10 09:12:50 +02:00
Daniel Høyer Iversen
c94838f561
0.11 2019-05-27 20:57:57 +02:00
Daniel Høyer Iversen
38a40c5a19
Use cryptography instead of pycryptodome (#246)
* Use cryptography instad of pycryptodome

* Use cryptography instad of pycryptodome
2019-05-27 20:57:32 +02:00
AnilDaoud
45e26fda23 fixed learnfile switch and python3 compatibility (#247) 2019-05-23 15:13:14 +02:00
AnilDaoud
ef66997953 2to3 broadlink_discovery (#245) 2019-05-22 07:28:02 +02:00
AnilDaoud
b8fdf337c9 cleaner local ip address lookup (#244) 2019-05-22 07:27:34 +02:00
Daniel Høyer Iversen
a75f98720e
code clean up (#243) 2019-05-19 17:54:14 +02:00
Daniel Høyer Iversen
c9a1c106a7
Update setup.py 2019-05-18 17:13:33 +02:00
Daniel Høyer Iversen
508b0563ed
0.10 2019-05-18 17:11:30 +02:00
Daniel Høyer Iversen
bb0fb1bd6d
Merge pull request #242 from raman325/master
Bump PyPI package version
2019-05-18 17:07:08 +02:00
Matthew Garrett
01928b0911
Merge pull request #218 from sprilukin/rf_experiment_v0.9
RF support to v0.9 resolves #87
2019-05-18 00:10:57 -07:00
Matthew Garrett
3ad4a9f0f8
Merge branch 'master' into rf_experiment_v0.9 2019-05-18 00:10:40 -07:00
ninstein
0db3179623 Update __init__.py
add new device: TMall OEM SPMini3
2019-05-18 00:08:52 -07:00
Bartosz Fenski
852cbc2473 adding base64 output (#239)
base64 output useful when working with Home-Assistant
2019-05-18 00:07:25 -07:00
gpenverne
77f11c8d49 Allow string mac address in constructor 2019-05-18 00:06:47 -07:00
Raman Gupta
550a01bbab
Bump PyPI package version
The latest build of this package is still listing pycryptodome 3.4.11 as a dependency. Please trigger a new push so that these changes are reflected there.
2019-05-17 08:54:05 -04:00
Daniel Høyer Iversen
1d6d8d2aee
Merge pull request #234 from pommi/cli-python3
broadlink_cli: python3 support
2019-04-25 09:39:40 +02:00
Daniel Høyer Iversen
db2dec13e1
Merge pull request #224 from GGBBB2000/patch-1
Update __init__.py
2019-01-24 20:59:48 +01:00
Pim van den Berg
c393cf6079 broadlink_cli: python3 support 2019-01-16 09:34:20 +01:00
BAN
9996c252f7
Update __init__.py 2019-01-08 16:47:31 +09:00
Sergey Prilukin
2b4e6d91ff
Merge branch 'rf_experiment' into rf_experiment_v0.9
# Conflicts:
#	README.md
#	broadlink/__init__.py
#	cli/broadlink_cli
2018-11-26 00:21:37 +02:00
Sergey Prilukin
694b4423b5
fixed --learnfile argument usage, so it works for both IR and RF 2018-11-25 23:58:33 +02:00
Daniel Høyer Iversen
1cceae73eb
Merge pull request #212 from pvizeli/patch-1
Update requirements
2018-11-02 13:31:23 +01:00
Pascal Vizeli
bb23c84c90
Update requirements 2018-11-02 11:57:07 +01:00
Daniel Høyer Iversen
5cfb92ee12
Merge pull request #211 from dimovnike/master
Support for a new SP2 device.
2018-11-02 11:24:02 +01:00
Daniel Høyer Iversen
daf38546a9
Merge pull request #205 from balloob/patch-1
Update vulnerable pycryptodome
2018-11-02 11:23:18 +01:00
Nick Dimov
73fc5fc4b9 Support for a new SP2 device.
It returns different codes for check and checknl.
2018-10-27 16:15:47 +03:00
Daniel Høyer Iversen
58a5714009
Merge pull request #206 from clach04/patch-2
readme typo
2018-09-13 07:31:51 +02:00
clach04
cd969a83f9
readme typo 2018-08-30 22:43:42 -07:00
Paulus Schoutsen
8cfa020353
Update vulnerable pycryptodome 2018-08-28 11:01:42 +02:00
Daniel Høyer Iversen
e5ab802361
Merge pull request #199 from faustinoaq/patch-1
Remove trailing semicolons
2018-07-15 09:35:33 +02:00
Faustino Aguilar
71fbb2bcde
Remove trailing semicolons 2018-07-14 19:01:49 -05:00
Daniel Høyer Iversen
db4d1a218b
Merge pull request #183 from MayeulC/refactor
Refactor the device list
2018-05-15 17:14:42 +02:00
Mayeul Cantan
56b2ac36e5 Refactor the device list
It is now more readable, which should make it easier to parse the code
and add new devices.
2018-04-30 23:06:19 +02:00
Matthew Garrett
766b7b00fb Version 0.9 2018-04-24 08:33:05 -07:00
Daniel Høyer Iversen
75b323c640
Merge pull request #179 from tochev/feature-energy-cmd
Add energy option to broadlink_cli
2018-04-23 10:39:33 +02:00
Tocho Tochev
b2c4bed94a Add energy option to broadlink_cli 2018-04-19 23:45:50 +03:00
Daniel Høyer Iversen
9c238e1717
Merge pull request #178 from lordneon/master
Fixed a bug within the SP2 class.
2018-04-15 19:04:05 +02:00
lordneon
e8421343e3 Merge branch 'master' of https://github.com/lordneon/python-broadlink 2018-04-15 10:22:42 +00:00