Skip to content

Commit

Permalink
Merge pull request #93 from dmamontov/dev
Browse files Browse the repository at this point in the history
Add RA74. #92
  • Loading branch information
dmamontov authored Jul 19, 2022
2 parents 984b252 + 2745d53 commit 4f36e72
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 49 deletions.
25 changes: 13 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,40 +78,41 @@ Many more Xiaomi and Redmi routers supported by MiWiFi

| Image | Router | Code | Required | Additional | Action |
| ------------------------ | -------------------------------------- |:------:|:------------------:|:------------------------------:|:--------------------:|
| ![](images/RA70.png) | **Xiaomi Router AX9000** | RA70 | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/RA72.png) | **Xiaomi Router AX6000** | RA72 | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/RB06.png) | **Redmi Router AX6000** | RB06 | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/RA74.png) | **Redmi Router AX5400** | RA74 | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/RB04.png) | **Redmi Gaming Router AX5400** | RB04 | <sub>🟢🟢🟢🟢</sub> | <sub>🟢⚪🟢🟢🟢🟢🟢🟢🟢🟢🟢</sub> | <sub>🟢⚪🟢🟢🟢</sub> |
| ![](images/CR8808.png) | **Xiaomi Router CR8808** | CR8808 | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/RA82.png) | **Xiaomi Mesh System AX3000** | RA82 | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/RA80.png) | **Xiaomi Router AX3000** | RA80 | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/RB03.png) | **Redmi Router AX6S** | RB03 | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/RB01.png) | **Xiaomi Router AX3200** | RB01 | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/RA71.png) | **Redmi Router AX1800** | RA71 | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/RB03.png) | **Redmi Router AX6S** | RB03 | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/RA80.png) | **Xiaomi Router AX3000** | RA80 | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/RA81.png) | **Redmi Router AX3000** | RA81 | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/CR8808.png) | **Xiaomi Router CR8808** | CR8808 | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/CR6606.png) | **Xiaomi China Unicom WiFi 6 Router** | CR6606 | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/RA71.png) | **Redmi Router AX1800** | RA71 | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/RA70.png) | **Xiaomi Router AX9000** | RA70 | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/RA50.png) | **Redmi Router AX5** | RA50 | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/RA72.png) | **Xiaomi Router AX6000** | RA72 | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/RA69.png) | **Redmi Router AX6** | RA69 | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/R1350.png) | **Mi Router 4 Pro** | R1350 | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/R2350.png) | **Mi AIoT Router AC2350** | R2350 | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/RA67.png) | **Redmi Router AX5** | RA67 | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/RA50.png) | **Redmi Router AX5** | RA50 | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/RM1800.png) | **Mi Router AX1800** | RM1800 | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/R3600.png) | **Xiaomi AIoT Router AX3600** | R3600 | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/RM2100.png) | **Redmi Router AC2100** | RM2100 | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/R2100.png) | **Mi Router AC2100** | R2100 | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/R1350.png) | **Mi Router 4 Pro** | R1350 | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/R2350.png) | **Mi AIoT Router AC2350** | R2350 | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/D01.png) | **Mi Router Mesh** | D01 | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🔴</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/R4AC.png) | **Mi Router 4A** | R4AC | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🔴</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/R4A.png) | **Mi Router 4A Gigabit** | R4A | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🔴</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/R4CM.png) | **Mi Router 4C** | R4CM | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🔴</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/R4.png) | **Mi Router 4** | R4 | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🔴</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/R4C.png) | **Mi Router 4Q** | R4C | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🔴</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/R4.png) | **Mi Router 4** | R4 | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🔴</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/R3A.png) | **Mi Router 3A** | R3A | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🔴</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/R3L.png) | **Mi Router 3C** | R3L | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🔴</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/R3D.png) | **Mi Router HD** | R3D | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🔴</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/R3P.png) | **Mi Router Pro** | R3P | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🔴</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/R3.png) | **Mi Router 3** | R3 | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🔴</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/R3G.png) | **Mi Router 3G** | R3G | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🔴</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/R3.png) | **Mi Router 3** | R3 | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🔴</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/R2D.png) | **Mi Router R2D** | R2D | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🔴</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/R1CL.png) | **Mi Router Lite** | R1CL | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🔴</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/R1C.png) | **Mi Router Mini** | R1CM | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🔴</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/R2D.png) | **Mi Router R2D** | R2D | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🔴</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
| ![](images/R1D.png) | **Mi Router R1D** | R1D | <sub>🟢🟢🟢🟢</sub> | <sub>🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🔴</sub> | <sub>🟢🟢🟢🟢🟢</sub> |
75 changes: 38 additions & 37 deletions custom_components/miwifi/enum.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,40 +204,41 @@ def __str__(self) -> str:
return str(self.value)

NOT_KNOWN = "not_known"
R1D = "r1d"
R2D = "r2d"
R1CM = "r1cm"
R1CL = "r1cl"
R3G = "r3g"
R3 = "r3"
R3P = "r3p"
R3D = "r3d"
R3L = "r3l"
R3A = "r3a"
R4C = "r4c"
R4 = "r4"
R4CM = "r4cm"
R4A = "r4a"
R4AC = "r4ac"
D01 = "d01"
R1350 = "r1350"
R2100 = "r2100"
R2350 = "r2350"
RM2100 = "rm2100"
R3600 = "r3600"
RM1800 = "rm1800"
RA50 = "ra50"
RA67 = "ra67"
RA69 = "ra69"
RA71 = "ra71"
RA81 = "ra81"
RB01 = "rb01"
RB03 = "rb03"
RA80 = "ra80"
RA82 = "ra82"
RB06 = "rb06"
RA72 = "ra72"
RA70 = "ra70"
RB04 = "rb04"
CR6606 = "cr6606"
CR8808 = "cr8808"
R1D = "r1d" # 2014
R1CM = "r1cm" # 2014
R1CL = "r1cl" # 2015
R2D = "r2d" # 2015.08
R3 = "r3" # 2016
R3G = "r3g" # 2017.03
R3P = "r3p" # 2017
R3D = "r3d" # 2017
R3L = "r3l" # 2017
R3A = "r3a" # 2017.11.16
R4 = "r4" # 2019.11.26
R4C = "r4c" # 2019.11.26
R4CM = "r4cm" # 2019.11.26
R4A = "r4a" # 2019.11.26
R4AC = "r4ac" # 2019.11.26
D01 = "d01" # 2019.11.26
R2100 = "r2100" # 2019.11.26
RM2100 = "rm2100" # 2019
R3600 = "r3600" # 2020.03.01
RM1800 = "rm1800" # 2020.05
RA67 = "ra67" # 2020.06.19
R2350 = "r2350" # 2020.07.02
R1350 = "r1350" # 2020.07.03
RA69 = "ra69" # 2020.08.11
RA72 = "ra72" # 2021.01.08
RA50 = "ra50" # 2021.01.28
RA70 = "ra70" # 2021.03.30
CR6606 = "cr6606" # 2021.04.25
RA81 = "ra81" # 2021.07.27
RA80 = "ra80" # 2021.08.11
RB03 = "rb03" # 2021.09.27
RA71 = "ra71" # 2021.10.22
RB01 = "rb01" # 2021.10.28
RA82 = "ra82" # 2021.11.01
CR8808 = "cr8808" # 2021.11.26
RB04 = "rb04" # 2022.02.17
RA74 = "ra74" # 2022.03.18
RB06 = "rb06" # 2022.04.02
Binary file added images/RA74.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4f36e72

Please sign in to comment.