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-argo

v1.6.0

Published

Homebridge plugin for Argo air conditioners

Downloads

136

Readme

Homebridge Argo

Downloads Version GitHub issues GitHub pull requests

Homebridge plugin for Argo air conditioners

This Homebridge plugin exposes Argo air conditioners, capable of WiFi, to Apple's HomeKit.

Currently only the Ulisse 13 DCI Eco WiFi is confirmed to work

Configuration

To configure the plugin simply install it and use the config UI to configure.

Alternatively you can configure it using the config.json file of Homebridge. Simply add the Argo platform to the platforms and configure your devices.

  "platforms": [
    {
      "platform": "Argo",
      "devices": [
        {
          "name": "Example Display Name",
          "ip": "192.168.5.30"
        }
      ]
    }
  ]

Advanced device settings

In some cases Argo devices don't accurately report the temperate. In those cases you can set a offset in the device configuration to help compensate for the inaccuracy.

  "platforms": [
    {
      "platform": "Argo",
      "devices": [
        {
          "name": "Example Display Name",
          "ip": "192.168.5.30",
          "offset": 2.5,
        }
      ]
    }
  ]

In the above example the temperature would be adjusted by 2.5 degrees. Meaning that the read temperature will be 2.5 degrees higher and all settings will be 2.5 degrees lower to compensate. this also affects min/max setpoints

Advanced settings

Argo devices have a lot of issues with their connectivity as they seem to require a connection to their home server. To help with this we can let the device push updates to Homebridge instead of polling the device constantly. As the device is configured to only communicate with its home serverwe need to redirect traffic to that server to our Homebridge instance instead.

To achieve this first we need to start the listener build into this plugin, you can do so by setting the usePush flag to true and defining a port to use. After changing the config restart homebridge.

  "platforms": [
    {
      "platform": "Argo",
      "devices": [
        {
          "name": "Example Display Name",
          "ip": "192.168.5.30"
        }
      ],
      "usePush": true,
      "port": 42420
    }
  ]

Afterwards you need to tell your router to redirect traffic to your Homebridge instance. You can do so by running:

iptables -t nat -I PREROUTING -s 0.0.0.0/0 -d 31.14.128.210 -p tcp -j DNAT --to-destination <your-homebridge-ip>:<your-port>

After this the Plugin will no longer poll but will listen for updates from the device instead.

To remove the traffic redirect in the future just run:

iptables -t nat -D PREROUTING -s 0.0.0.0/0 -d 31.14.128.210 -p tcp -j DNAT --to-destination <your-homebridge-ip>:<your-port>

Alternative setup

You can alternatively configure the homebridge server with the IP 31.14.128.210 and tell your router to statically route 31.14.128.210 to your homebridge instance.

If you decide to do so please configure the listener to listen on port 80 and 31.14.128.210

  "platforms": [
    {
      "platform": "Argo",
      "devices": [
        {
          "name": "Example Display Name",
          "ip": "192.168.5.30"
        }
      ],
      "usePush": true,
      "port": 80,
      "host": "31.14.128.210",
    }
  ]