1
0
mirror of https://github.com/mjg59/python-broadlink.git synced 2024-11-21 22:51:41 +01:00

Merge new product ids into master (#667)

* Add support for Broadlink LB26 R1 (0x644E) (#636)

* Add support for Broadlink LB26 R1 (0x644E)

* Add Broadlink LB26 R1 to README.md

* Add missing device codes for LB27 R1 Smart Bulbs (#644)

These are two missing codes.
This closes issue #639

* Add support for Broadlink RM4 pro (0x5213) (#649)

* Add support for Broadlink RM4 TV mate (0x5209) (#655)

* Move 0x644C and 0x644E to the LB1 class (#666)

Co-authored-by: Mathew Verdouw <mathew@vtc.com.au>
This commit is contained in:
Felipe Martins Diel 2022-03-19 15:28:54 -03:00 committed by GitHub
parent 24ef7302bd
commit 3bdb6dfb92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View File

@ -2,14 +2,14 @@
A Python module and CLI for controlling Broadlink devices locally. The following devices are supported: A Python module and CLI for controlling Broadlink devices locally. The following devices are supported:
- **Universal remotes**: RM home, RM mini 3, RM plus, RM pro, RM pro+, RM4 mini, RM4 pro, RM4C mini, RM4S - **Universal remotes**: RM home, RM mini 3, RM plus, RM pro, RM pro+, RM4 mini, RM4 pro, RM4C mini, RM4S, RM4 TV mate
- **Smart plugs**: SP mini, SP mini 3, SP mini+, SP1, SP2, SP2-BR, SP2-CL, SP2-IN, SP2-UK, SP3, SP3-EU, SP3S-EU, SP3S-US, SP4L-AU, SP4L-EU, SP4L-UK, SP4M, SP4M-US, Ankuoo NEO, Ankuoo NEO PRO, Efergy Ego, BG AHC/U-01 - **Smart plugs**: SP mini, SP mini 3, SP mini+, SP1, SP2, SP2-BR, SP2-CL, SP2-IN, SP2-UK, SP3, SP3-EU, SP3S-EU, SP3S-US, SP4L-AU, SP4L-EU, SP4L-UK, SP4M, SP4M-US, Ankuoo NEO, Ankuoo NEO PRO, Efergy Ego, BG AHC/U-01
- **Switches**: MCB1, SC1, SCB1E, SCB2 - **Switches**: MCB1, SC1, SCB1E, SCB2
- **Outlets**: BG 800, BG 900 - **Outlets**: BG 800, BG 900
- **Power strips**: MP1-1K3S2U, MP1-1K4S, MP2 - **Power strips**: MP1-1K3S2U, MP1-1K4S, MP2
- **Environment sensors**: A1 - **Environment sensors**: A1
- **Alarm kits**: S1C, S2KIT - **Alarm kits**: S1C, S2KIT
- **Light bulbs**: LB1, LB2, SB800TD - **Light bulbs**: LB1, LB26 R1, LB27 R1, SB800TD
- **Curtain motors**: Dooya DT360E-45/20 - **Curtain motors**: Dooya DT360E-45/20
- **Thermostats**: Hysen HY02B05H - **Thermostats**: Hysen HY02B05H

View File

@ -111,6 +111,7 @@ SUPPORTED_TYPES = {
}, },
rm4mini: { rm4mini: {
0x51DA: ("RM4 mini", "Broadlink"), 0x51DA: ("RM4 mini", "Broadlink"),
0x5209: ("RM4 TV mate", "Broadlink"),
0x6070: ("RM4C mini", "Broadlink"), 0x6070: ("RM4C mini", "Broadlink"),
0x610E: ("RM4 mini", "Broadlink"), 0x610E: ("RM4 mini", "Broadlink"),
0x610F: ("RM4C mini", "Broadlink"), 0x610F: ("RM4C mini", "Broadlink"),
@ -122,6 +123,7 @@ SUPPORTED_TYPES = {
0x653A: ("RM4 mini", "Broadlink"), 0x653A: ("RM4 mini", "Broadlink"),
}, },
rm4pro: { rm4pro: {
0x5213: ("RM4 pro", "Broadlink"),
0x6026: ("RM4 pro", "Broadlink"), 0x6026: ("RM4 pro", "Broadlink"),
0x6184: ("RM4C pro", "Broadlink"), 0x6184: ("RM4C pro", "Broadlink"),
0x61A2: ("RM4 pro", "Broadlink"), 0x61A2: ("RM4 pro", "Broadlink"),
@ -144,9 +146,12 @@ SUPPORTED_TYPES = {
0x60C7: ("LB1", "Broadlink"), 0x60C7: ("LB1", "Broadlink"),
0x60C8: ("LB1", "Broadlink"), 0x60C8: ("LB1", "Broadlink"),
0x6112: ("LB1", "Broadlink"), 0x6112: ("LB1", "Broadlink"),
0x644C: ("LB27 R1", "Broadlink"),
0x644E: ("LB26 R1", "Broadlink"),
}, },
lb2: { lb2: {
0xA4F4: ("LB27 R1", "Broadlink"), 0xA4F4: ("LB27 R1", "Broadlink"),
0xA5F7: ("LB27 R1", "Broadlink"),
}, },
S1C: { S1C: {
0x2722: ("S2KIT", "Broadlink"), 0x2722: ("S2KIT", "Broadlink"),