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

169 Commits

Author SHA1 Message Date
Felipe Martins Diel
96f1a9f6ad Allow negative temperatures 2021-01-09 22:18:56 -03:00
Felipe Martins Diel
d12143f9ef Improve RM4 communication 2021-01-09 19:21:54 -03:00
Felipe Martins Diel
c9b48226e3
Merge pull request #485 from felipediel/patch-28
Fix mp1.check_power_raw() annotation
2021-01-09 02:17:22 -03:00
Felipe Martins Diel
93e7d21961
Merge pull request #486 from felipediel/patch-29
Clamp the packet count between 0x8000 and 0xFFFF to eliminate duplicate packets
2021-01-09 02:08:50 -03:00
Felipe Martins Diel
6cb0ae244d Add support for BG Electrical AHC/U-01 (0x51E2) 2021-01-09 01:50:04 -03:00
Felipe Martins Diel
06cc945762 Add support for Broadlink SP4L-AU (0x6489) 2021-01-09 01:39:17 -03:00
Felipe Martins Diel
20adef8ec6
Merge pull request #493 from korellas/master
Add support for Broadlink RM3 mini (0x27d3)
2021-01-09 01:31:24 -03:00
Felipe Martins Diel
605f9d02ff Add support for Broadlink SP4L-UK (0xA589) 2021-01-09 01:27:20 -03:00
Felipe Martins Diel
a29f2de780 Add support for Broadlink SP4L-EU (0x618B) 2021-01-09 01:20:47 -03:00
Felipe Martins Diel
e7fd66922a Add support for Broadlink SCB1E (0x6113) 2021-01-09 01:15:07 -03:00
Felipe Martins Diel
4af84c2684
Merge pull request #481 from felipediel/patch-27
Add support for Efergy Ego (0x271D)
2021-01-09 01:11:47 -03:00
Felipe Martins Diel
141689134f Add support for Broadlink RM mini 3 (0x6508) 2021-01-09 01:09:13 -03:00
Felipe Martins Diel
d0febb3d22
Merge pull request #478 from felipediel/patch-25
Add support for Broadlink MCB1 (0x756F and 0xA56A)
2021-01-09 01:03:45 -03:00
Felipe Martins Diel
0572d6bdcc
Merge pull request #475 from lemonsa22/master
Add support for Broadlink RM4S (0x6364)
2021-01-09 01:02:12 -03:00
Felipe Martins Diel
b40cd40bc9
Merge pull request #472 from felipediel/patch-23
Add support for Broadlink RM4 pro (0x653C)
2021-01-09 00:32:44 -03:00
korellas
2e74e2d31b
Add support for Broadlink RM3 mini (0x27d3)
korea version of broadlink rm3 mini
2020-12-09 23:23:17 +09:00
Felipe Martins Diel
cc01b04c39 Add support for Broadlink MCB1 (0xA56A) 2020-12-03 20:02:11 -03:00
Felipe Martins Diel
ddaa0e0128 Clamp the packet count between 0x8000 and 0xFFFF 2020-11-29 13:51:09 -03:00
Felipe Martins Diel
6c90bb4fe3
Fix MP1's check_power_raw() annotation
This method returns an integer.
2020-11-27 17:16:52 -03:00
Felipe Martins Diel
a1971934e5 Add support for Efergy Ego (0x271D) 2020-11-25 04:26:32 -03:00
Felipe Martins Diel
3c6f12e8ca
Add support for Broadlink MCB1 (0x756F) 2020-11-22 15:19:21 -03:00
Felipe Martins Diel
a0d2452cd5
Add support for Broadlink RM4C mini (0x6539) 2020-11-16 17:04:17 -03:00
lemonsa22
75ba8ab067
Update __init__.py
Add support for Broadlink RM4S (0x6364)
2020-11-15 02:02:31 +08:00
Felipe Martins Diel
75e3168deb
Add support for Broadlink RM4 pro (0x653C) 2020-11-08 21:12:59 -03: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
Kendell R
922eb45e17 Run black 2020-11-05 11:25:33 -08:00
Felipe Martins Diel
73dab5c3d5
Overload __str__ in the device class (#468) 2020-11-05 20:19:03 +01:00
Felipe Martins Diel
1d81ebd1d0 Rename SP4L to SP4 and SP4M to SP4B 2020-11-05 02:11:37 -08: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
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
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
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
Felipe Martins Diel
fc0244e6a4 Add support for Broadlink RM mini 3 (0x27d0) 2020-09-20 17:12:41 -07:00
Felipe Martins Diel
91ae5952ee Add support for OEM Broadlink SP2-IL (0x7539) 2020-09-20 17:12:19 -07:00
Felipe Martins Diel
6ac060f141 Add support for Ankuoo NEO and NEO PRO 2020-09-20 17:11:47 -07:00