From 7790273b7b11260cdce3cbe3eb920f4e617cdafe Mon Sep 17 00:00:00 2001 From: Sefi Ninio Date: Fri, 24 Apr 2020 17:00:14 +0300 Subject: [PATCH] add support for pacific fan closes #324 --- codes/fan/1100.json | 21 +++++++++++++++++++++ docs/FAN.md | 11 ++++++++--- 2 files changed, 29 insertions(+), 3 deletions(-) create mode 100644 codes/fan/1100.json diff --git a/codes/fan/1100.json b/codes/fan/1100.json new file mode 100644 index 00000000..069296fe --- /dev/null +++ b/codes/fan/1100.json @@ -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=" + } + } +} diff --git a/docs/FAN.md b/docs/FAN.md index f526485a..9a0d9926 100644 --- a/docs/FAN.md +++ b/docs/FAN.md @@ -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 @@ -37,7 +37,7 @@ remote: - platform: xiaomi_miio host: 192.168.10.10 token: YOUR_TOKEN - + fan: - platform: smartir name: Bedroom fan @@ -50,7 +50,7 @@ fan: ## Example (using mqtt controller): ```yaml smartir: - + fan: - platform: smartir name: Bedroom fan @@ -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