Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dylannlaw/homebridge-daikin-air-purifier

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dylannlaw/homebridge-daikin-air-purifier

Homebridge plugin for Daikin Air Purifier

  • 0.0.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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

{
    "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.

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.

Keywords

FAQs

Package last updated on 26 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc