Skip to content

Commit

Permalink
Merge pull request #325 from jsBlackBelt/feature/add-support-for-paci…
Browse files Browse the repository at this point in the history
…fic-fan

Add support for Pacific fan
  • Loading branch information
vassilis-panos authored Apr 24, 2020
2 parents e78b966 + 7790273 commit 1643412
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 3 deletions.
21 changes: 21 additions & 0 deletions codes/fan/1100.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"manufacturer": "Pacific",
"supportedModels": [
"Unknown"
],
"supportedController": "Broadlink",
"commandsEncoding": "Base64",
"speed": [
"low",
"medium",
"high"
],
"commands": {
"off": "JgBiACoOKg0PKSkOKg4OKg4pDioOKg4pDiop8SoOKg0PKSkOKg4OKg0qDioOKQ4qDikq8SsMLAwPKCsNKwwRJxAnECgQKBAnECgr7ysNKQ4NKygPKQ8NKg4qDSoOKg0rDSopAA0FAAAAAAAA",
"default": {
"low": "JgCCACkPKw0PKCsMKQ8NKg0rDygNKw0qKg4NAAENKQ8pDg0rKg0pDw0qDykPKQ4pDSsqDQ0AAQ0pDykODSsoDykPDSoNKw0qDioNKisNDQABDSkPKQ4OKisMKQ8NKg8pECgPKBAoKA8NAAEOKBArDA0qKg4rDQwrECcQKBAoDygqDg8ADQUAAAAAAAA=",
"medium": "JgC2ACsMLAwPKCwMKwwQKBAoDygrDQ8oECgQAAEKLAwrDBAoKwwrDQ8oECgQJywMECgQJxAAAQsrDCsNDygsDCsMECgQKA8oLAwPKBAoEAABCiwMKwwQKCsMKw0PKBAoECcsDA8pDygQAAELKwwrDQ8oKwwsDBAoDygQKCsMECgQJxAAAQsrDCsNDygsCywMECgQJxAoKwwQKBAoDwABCysNKwwQKCsMKw0PKBAoECcsDBAoDygQAA0FAAA=",
"high": "JgC2ACsMKw0QJywMKwwQKBAoKw0PKBAoDygQAAELKw0rDQ8nLA0rDA8oECgrDBAoECgQJxAAAQssDCsNDycsDSoNECcQKCsNDygQKBAnEAABCysNKw0PJywNKg0QJxAoKw0PKBAoDygQAAELKw0rDBAoKw0rDQ8oECcsDQ8nECgQKBAAAQorDSsMECgrDSsNDikQJywMDykPKBAoEAABCiwMLAwPKCsNKw0PKBAnLAwPKBAoECgQAA0FAAA="
}
}
}
11 changes: 8 additions & 3 deletions docs/FAN.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ switch:
- platform: broadlink
host: 192.168.10.10
mac: '00:00:00:00:00:00'

fan:
- platform: smartir
name: Bedroom fan
Expand All @@ -37,7 +37,7 @@ remote:
- platform: xiaomi_miio
host: 192.168.10.10
token: YOUR_TOKEN

fan:
- platform: smartir
name: Bedroom fan
Expand All @@ -50,7 +50,7 @@ fan:
## Example (using mqtt controller):
```yaml
smartir:

fan:
- platform: smartir
name: Bedroom fan
Expand Down Expand Up @@ -87,3 +87,8 @@ Below are the code files created by the people in the community. Before you star
| Code | Supported Models | Controller |
| ------------- | -------------------------- | ------------- |
[1080](../codes/fan/1080.json)|Unknown|Broadlink
#### Pacific
| Code | Supported Models | Controller |
| ------------- | -------------------------- | ------------- |
[1100](../codes/fan/1100.json)|Unknown|Broadlink

0 comments on commit 1643412

Please sign in to comment.