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

homebridge-moodo

v2.1.3

Published

Homebridge plugin for Moodo - Smart Fragrance Diffuser

Downloads

290

Readme

Homebridge Moodo Plugin

verified-by-homebridge

Moodo plugin for Homebridge. Moodo is the only diffuser to enable mixing scents and personalizing them to your taste. This plugin can be used to expose your Moodo devices to Homebridge with support for

  • On/off
  • Main intensity
  • Intensity of individual capsules

IMPORTANT: If you update this plugin from v1 to v2, you have to change the configuration as described below.

Get your Token

In order to authenticate against the Moodo server, you have to create a token for your Moodo account. Therefore, visit https://homebridge.moodo.co and sign in with the Moodo account you want to use with the plugin. You will receive

  • The token
  • A list of device IDs that you can use with this plugin

Installation

Please install the plugin with the following command:

npm install -g homebridge-moodo

Configuration

{
    "platforms": [
        {
            "platform": "MoodoPlatform",
            "token": "<YOUR-TOKEN>",
            "devices": [
                {
                    "id": <DEVICE-ID>,
                    "name": "<DEVICE-NAME>",
                    "type": "fan",
                    "showCapsules": false,
                    "useCapsuleNames": false,
                    "showTimer": false,
                    "isSingleAccessoryModeEnabled": false
                }
            ]
        }
    ]
}

token: Your account token that you received in step Get your Token.

devices: Array of all your Moodo devices that the plugin should expose to HomeKit.

id: The device ID that you received in step Get your Token. This is a number.

name: The name that should be used in HomeKit for this device.

type (optional): Determines the type of the HomeKit device that is to be exposed. Possible values are purifier or fan. Defaults to fan.

showCapsules (optional): Determines whether controls for the individual capsules are exposed to HomeKit. Defaults to false.

useCapsuleNames (optional): By default, the capsules are named "Capsule 1" to "Capsule 4". If this value is set to true, the actual capsule names (i.e. the fragrence names) are shown. (Only used if showCapsules is true)

showTimer (optional): Determines whether a "timer" should be exposed to HomeKit. This is a switch with a duration characteristics. Changing the switch to ON starts the device and the timer for the specified duration (in seconds). When the timer elapses, the device is turned off. The duration characteristic is not supported in the Home app. Defaults to false.

isSingleAccessoryModeEnabled (optional): By default, the capsules are placed in a separate accessory (works best in the Apple Home app). If this value is set to true, those controls are added to the main accessory instead of a separate accessory. (Only used if showCapsules is true)