1
0
mirror of https://github.com/mjg59/python-broadlink.git synced 2024-11-22 15:10:12 +01:00
Commit Graph

259 Commits

Author SHA1 Message Date
burjakremen
3cca9b2a9c
Update cover.py 2020-11-09 22:29:04 +02:00
burjakremen
4dbabc9674
Update __init__.py 2020-11-09 22:25:44 +02:00
burjakremen
c08c2748b7
Update cover.py 2020-11-09 18:52:17 +02:00
burjakremen
3cd4dcdd6f
Merge branch 'master' into add-dooya-new 2020-11-09 18:06:53 +02:00
burjakremen
aa516d8aab
Update cover.py 2020-11-09 18:05:34 +02:00
burjakremen
5c37f853c9
Update __init__.py 2020-11-09 17:54:50 +02:00
Matthew Garrett
29345a129f
Merge pull request #470 from KTibow/patch-2
Add GH Actions
2020-11-07 11:23:15 -08:00
Matthew Garrett
1799a8c8cf
Merge branch 'master' into patch-2 2020-11-07 11:19:17 -08:00
Felipe Martins Diel
75e483c9d6
Clean up get_energy() (#471) 2020-11-07 09:02:53 +01:00
Matthew Garrett
b3542a8865 Bump version 2020-11-05 19:27:12 -08:00
Kendell R
922eb45e17 Run black 2020-11-05 11:25:33 -08:00
Kendell R
153b96fd45
Update flake8.yaml 2020-11-05 11:22:08 -08:00
Felipe Martins Diel
73dab5c3d5
Overload __str__ in the device class (#468) 2020-11-05 20:19:03 +01:00
Kendell R
9482804c8f
Update flake8.yaml 2020-11-05 11:18:51 -08:00
Kendell R
d09f5016f2
Go back 2020-11-05 11:14:24 -08:00
Kendell R
25856e3129
Update flake8.yaml 2020-11-05 11:08:58 -08:00
Kendell R
97077d31b2
Conditionals 2020-11-05 11:07:32 -08:00
Kendell R
ebaac1f573
Fix branches 2020-11-05 11:02:34 -08:00
Kendell R
4fd2b1681c
Add GH Actions 2020-11-05 11:00:42 -08:00
Felipe Martins Diel
1d81ebd1d0 Rename SP4L to SP4 and SP4M to SP4B 2020-11-05 02:11:37 -08:00
burjakremen
2031674296
Update cover.py
Rename method "def set_percentage_and_wait" -> "def set_percentage"
2020-11-05 09:34:38 +02:00
Kendell R
79f4ad47ff Readme tweaks 2020-10-24 02:20:47 -07:00
Felipe Martins Diel
6f1f976e2f Update packet count in the authentication step 2020-10-24 02:19:01 -07:00
Felipe Martins Diel
1c5ba74f46 Fix shebangs 2020-10-24 02:17:41 -07:00
burjakremen
119fb0c0b3
Update cover.py 2020-10-20 19:23:55 +03:00
Joakim Plate
bbab292bbe
Update protocol.md (#436)
Adjust documentation on transmit format

* Trailer is actually 0x00 0x0d 0x05 (ie the extended pulse length format)
* Trailer doesn't have to be this value on transmit

This is based on work in https://github.com/elupus/irgen, but is just a qualified guess that seem to match reality.
2020-10-18 13:31:56 -07:00
Felipe Martins Diel
957baf5447
Add support for Broadlink SP4M-US (0x648b) (#447) 2020-10-18 13:22:03 -07:00
Felipe Martins Diel
c8a5ea02fd
Add support for Broadlink RM4 mini (0x653a) (#451) 2020-10-18 00:51:43 -07:00
Felipe Martins Diel
0beccda833
Add support for RM mini 3 (0x27c7) (#446) 2020-10-18 00:50:31 -07:00
Felipe Martins Diel
e1fa54f874
Fix SP4 class (#445) 2020-10-18 00:50:15 -07:00
Felipe Martins Diel
a31d766d33
Add support for Broadlink SP mini 3 (0x7583) (#444) 2020-10-18 00:49:42 -07:00
Felipe Martins Diel
f11d825e6e
Add support for Broadlink SP mini 3 (0x7d11) (#443) 2020-10-18 00:48:25 -07:00
Timothy Stewart
9d0d76338d
chore(docs): Added additional steps for 0.15.0 if discovery fails (#439) 2020-10-18 00:47:43 -07:00
Felipe Martins Diel
16abdf850f
Improve device discovery (#438)
This update improves device discovery by broadcasting several hello messages and ignoring repeated responses.
2020-10-18 00:47:21 -07:00
burjakremen
43c3745195
Update __init__.py
Fixing code error
2020-09-29 15:22:01 +03:00
burjakremen
af4163a8ca
Update cover.py
Fixing errors in code
2020-09-29 15:21:15 +03:00
Daniel Hjelseth Høyer
99add9e6fe
0.15.0 2020-09-26 08:27:45 +02:00
Daniel Hjelseth Høyer
0190d1e1f4
Delete python-publish.yml 2020-09-26 08:25:13 +02:00
Daniel Hjelseth Høyer
f8be3806c3
Create python-publish.yml (#432) 2020-09-26 08:23:22 +02:00
burjakremen
0de42b1e0d
Update cover.py
Adding support for a Dooya DT360E-45/20 (Device ID: 4F6E)
2020-09-25 15:20:56 +03:00
burjakremen
a2eec32308
Update __init__.py
Adding support for a Dooya DT360E-45/20 (Device ID: 4F6E)
2020-09-25 15:19:07 +03:00
Felipe Martins Diel
0dc0068d63
Improve code quality (#428)
* Fix lint errors

* Remove rm2 class

* Rename cs to conn

* Add __repr__ to device class

* Make get_devices() a dictionary

* Clean up alarm kit

* Add module doscstrings

* Fix MAC address conversion
2020-09-24 07:36:12 +02:00
Felipe Martins Diel
28fa72f962
Make bind() optional and implement a generator for device discovery (#427) 2020-09-23 07:43:56 +02:00
Tamarinen
9248ee6b0c
Add sp4 refactored (#429)
* Add SP4 device class

* Remove legacy byte conversion

* Implement suggested improvements

* Apply some love to _encode() and _decode() too.

* Remove unnecessary safeguards

* Remove unnecessary return values

* Add missing periods to the comments.

Co-authored-by: Martin Samuelsson <httpov@columbiegg.com>
2020-09-22 17:58:07 -07:00
sivero
6ab23e9261
Update __init__.py (#423)
Add support for (0x27cc) RM mini 3
2020-09-20 17:17:10 -07:00
Felipe Martins Diel
2ae9b9db12
Add support for Broadlink RM4 pro (0x649b) (#421) 2020-09-20 17:15:56 -07:00
Felipe Martins Diel
a4f76bcf36 Add support for Broadlink MP2 (0x7540) 2020-09-20 17:14:56 -07:00
Felipe Martins Diel
868153bfd1 Add support for Broadlink MP1-1K3S2U (0x4f1b) 2020-09-20 17:14:32 -07:00
Felipe Martins Diel
d17fb228cf
Add support for Broadlink RM pro+ (0x27c3) (#422) 2020-09-20 17:14:01 -07:00
Felipe Martins Diel
05440417be Add support for Broadlink RM mini 3 (0x27cd) 2020-09-20 17:12:41 -07:00