npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@plecong/homebridge-dkncloudna

v0.2.0

Published

Homebridge plugin for DKN Cloud NA

Downloads

9

Readme

Homebridge DKN Cloud NA

This Homebridge plugin provides a platform for connecting devices using DKN Cloud NA to Apple's HomeKit.

Installation

Prerequisites

Using the Homebridge Config UI X

The plugin can be installed using the Homebridge Config UI X

Manually

To install the plugin manually, run the following command:

npm -g i @plecong/homebridge-dkncloudna

Configuration

Using the Configuration UI

This plugin has a custom configuration UI. Open the configuration UI and enter your login information for the DKN Cloud NA app and select "Retrieve Tokens" to save access and refresh tokens needed to connect. These tokens are saved within the Homebrdge config.json and are automatically refreshed.

The configuration UI also has the option to save your login information including your password. Select "Remember Login" to save the password directly within the Homebridge configuration file.

Note: The configuration file is NOT secure, however saving your login information will ensure the plugin can always connect to DKN Cloud NA.

Manually

This plugin can be configured manually using your email and password used to login to DKN Cloud NA. To manually configure, add the following to the Homebridge config.json under platforms:

{
    "platform": "dkncloudna",
    "email": "<your email address>"
    "password": "<your password>"
}

Configuration Options

| Option | Description | Type | Required | | ---------------- | -------------------------------------------------------------------------------------------------------------------- | --------- | -------- | | platform | Must be dkncloudna for Homebridge to recognize the configuration | N/A | true | | email | Email address to login to DKN Cloud NA app | string | false | | password | Password to login to DKN Cloud NA app | string | false | | token | Token used to access DKN Cloud NA API. This will be set by the configuration UI by providing your email/password | string | false | | refreshToken | Token used to refresh the Access Token when expired. This does not need to be manually set. | string | false | | enableExterior | Enable the Exterior Temperature Sensor (restart required) | boolean | false | | enableFan | Enable the EXPERIMENTAL Fan V2 control (restart required) | boolean | false |

Features

Fan Control (EXPERIMENTAL)

By enabling the fan control in the configuration, a separate Fan V2 service is associated with the accessory. This allows for controlling the fan state (Auto/Manual), rotation speed (20%, 40%, 60%, 80%, 100%), and swing mode. The HomeKit Fan service does not map cleanly to the DKN Cloud NA app and the DKN Cloud NA app doesn't provide raw rotation speed, so the current implementation of the fan control is EXPERIMENTAL.

Release Notes

v0.1.0

  • Initial Release

v0.1.1

  • #6 Fix for issue loading on HOOBS due to import of homebridge

v0.2.0

  • #5 Feature request to expose the exterior temperature sensor
  • Added experimental fan control

Credits