Jelajahi Sumber

Update fan 1080.json and add 1081.json (#727)

* Update 1080 to Harbor Breeze & Update Model

Original commit utilized the wrong manufacturer (Hamilton Bay) when it should have been Harbor Breeze.
Added model of remote unit (FCC ID) to the supported model list

* Created 1081.json - Harbor Breeze A25-TX025

Added second Harbor Breeze Fan RF Remote (FCC ID A25-TX025). "Breeze" mode is configured as oscillate as it is a toggleable fan mode.

* Update FAN.md documentation

* Update 1081.json
waxhell 5 tahun lalu
induk
melakukan
e510b32246
3 mengubah file dengan 34 tambahan dan 5 penghapusan
  1. 2 2
      codes/fan/1080.json
  2. 28 0
      codes/fan/1081.json
  3. 4 3
      docs/FAN.md

+ 2 - 2
codes/fan/1080.json

@@ -1,7 +1,7 @@
 {
-  "manufacturer": "Hamilton Bay",
+  "manufacturer": "Harbor Breeze",
   "supportedModels": [
-    "Unknown"
+    "A25-TX001-R1"
   ],
   "supportedController": "Broadlink",
   "commandsEncoding": "Base64",

+ 28 - 0
codes/fan/1081.json

@@ -0,0 +1,28 @@
+{
+  "manufacturer": "Harbor Breeze",
+  "supportedModels": [
+    "A25-TX025"
+  ],
+  "supportedController": "Broadlink",
+  "commandsEncoding": "Base64",
+  "speed": [
+    "1",
+    "2",
+    "3",
+    "4",
+    "5",
+    "6"
+  ],
+  "commands": {
+    "off": "eAs0ABARHx0QHRAdEB0QDx8eEB0QDx8dEA8fHRAdEB0RDh8PHw8fDh8OHx0QDx8dEA8fHQ8AAYEA",
+    "default": {
+      "1": "eAc0ABAaDxoPGg8aDxoPGg8aDxoPGg8aDxoPGg8aDxoPGg8aEBoPDhsOGw0bDRsaDw4bGg8AAbkAAAAA",
+      "2": "eAY0ABAaDxoPGg8aDxoPGg8aDxoPGg8aDxoPGg8aDxoPGg8aEA0bGg8OGw4bDhsaDw0bGg8AAbkAAAAA",
+      "3": "eAs0AA8aDhsPGg8aDxsPGg8aDxoPGg8aDxsPGg8aDxsPGg8bDxoPGg8OGw4bDhsbDw4bGg8AAboAAAAA",
+      "4": "eAc0ABAZEBoPGg8ZEBoPGQ8aEBkQGQ8ZDxoQGQ8ZEBkPGg8aEA0cDRwZEA0cDRwZEA0cGQ8AAbkAAAAA",
+      "5": "eAs0ABAaDxoPGg8aDxkPGRAaDxoPGg8aDxoPGg8aDxoPGg8aEBoPDRwaEA0bDRwaDw0bGg8AAbkAAAAA",
+      "6": "eAs0ABAaDxoPGg8aDxoPGg8aDxoPGg8aDxoPGg8aDxoPGg8aEA0bGg8aDw0bDRsaDw0bGg8AAbkAAAAA"
+    },
+    "oscillate": "eQs0AA8aDhsPGw4bDhsOGg4bDxsPGw4bDhsOGw4bDhsOGw4bDxsOGw4bDg8bDhobDw4aGw4AAboAAAAA"
+  }
+}

+ 4 - 3
docs/FAN.md

@@ -130,10 +130,11 @@ Contributing to your own code files is welcome. However, we do not accept incomp
 | ------------- | -------------------------- | ------------- |
 [1060](../codes/fan/1060.json)|A1|Broadlink
 
-#### Hampton Bay
+#### Harbor Breeze
 | Code | Supported Models | Controller |
 | ------------- | -------------------------- | ------------- |
-[1080](../codes/fan/1080.json)|Unknown|Broadlink
+[1080](../codes/fan/1080.json)|A25-TX001-R1|Broadlink
+[1081](../codes/fan/1081.json)|A25-TX025|Broadlink
 
 #### Pacific
 | Code | Supported Models | Controller |
@@ -168,4 +169,4 @@ Contributing to your own code files is welcome. However, we do not accept incomp
 #### Mitsubishi
 | Code | Supported Models | Controller |
 | ------------- | -------------------------- | ------------- |
-[1220](../codes/fan/1220.json)|C56-RW5|Broadlink
+[1220](../codes/fan/1220.json)|C56-RW5|Broadlink