Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dylannlaw/homebridge-daikin-air-purifier
Homebridge plugin for Daikin Air Purifier
https://github.com/dylannlaw/homebridge-daikin-air-purifier
air-purifier daikin homebridge homebridge-plugin homekit humidifer mck70w
Last synced: 5 days ago
JSON representation
Homebridge plugin for Daikin Air Purifier
- Host: GitHub
- URL: https://github.com/dylannlaw/homebridge-daikin-air-purifier
- Owner: dylannlaw
- License: apache-2.0
- Created: 2022-09-09T12:51:17.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-03-26T14:37:07.000Z (over 1 year ago)
- Last Synced: 2024-12-13T18:41:56.436Z (9 days ago)
- Topics: air-purifier, daikin, homebridge, homebridge-plugin, homekit, humidifer, mck70w
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/@dylannlaw/homebridge-daikin-air-purifier
- Size: 481 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Homebridge Daikin Air Purifier
This is a Homebridge plugin built for Daikin Air Purifier (based on MCK70W model).
After going through multiple plugins that are available, some of them are having issue with hitting api rate limit due to frequent API request and all of them do not support changing the air purifier setting due to deprecation of the localhost API.
I have added 60 seconds cache to prevent frequent API request and also added support of changing air purifier setting by calling `https://api.daikinsmartdb.jp`.
However, it added complexity due to authorization is needed.
## Configuration Example
```json
{
"accessory": "DaikinAirPurifier",
"name": "DaikinAirPurifer",
"serial": "abcdefg",
"model": "MCK70W",
"host": "192.168.1.1",
"code": "",
"clientId": "",
"uuid": "",
"clientSecret": "",
"terminalId": "",
"cacheDuration": 60,
"port": "30050"
}
```## Steps to get certain configuration value
Knowledge of proxy is needed in order to get certain values while accessing [Daikin Smart App](https://apps.apple.com/app/id564109247).`code` - It can be obtained from `https://api.daikinsmartdb.jp/premise/dsiot/login` request body during login.
`clientId` - It can be obtained from `https://api.daikinsmartdb.jp/premise/dsiot/login` request body during login.
`uuid` - It can be obtained from `https://api.daikinsmartdb.jp/premise/dsiot/login` request body during login.
`clientSecret` - It can be obtained from `https://api.daikinsmartdb.jp/premise/dsiot/login` request body during login.
`terminalId` - It can be obtained from `https://api.daikinsmartdb.jp/cleaner/set_control_info` query parameter when adjusting the air purifier control in the app.
`port` - It can be obtained from `https://api.daikinsmartdb.jp/cleaner/set_control_info` query parameter when adjusting the air purifier control in the app.
## Changelog
See [CHANGELOG](https://github.com/dylannlaw/homebridge-daikin-air-purifier/blob/master/CHANGELOG.md).