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-soil-temp-sensor

v1.1.1

Published

Homebridge plugin to listen to moisture sensor http push messages and publish them towards HomeKit

Downloads

17

Readme

homebridge-soil-temp-sensor

Homebridge plugin only listening to http push events from a soil and temperature sensor.

Why this plugin?

Building an extremely low power soil humidity and temperature sensor based on the simple http protocol demanded the sensor's http server to be offline most of the time. Humidity and temperature are measured at a very low frequency (once per hour) at the device which makes the device unavailable for http requests most of the time. Several temperature or humidty Homebridge sensors exist, however none of them supported:

  • only http push notifications.
  • written in TypeScript.
  • support for FakeGato sensor history.
  • emulted battery low status (my device does not (yet) support battery energy level so I needed a way to inidcate a lost connection while keeping the "no response" reply reserved for homebridge unresponsiveness).

Notification Server

homebridge-soil-temp-sensor has to be used together with homebridge-http-notification-server in order to receive updates when the state changes at your external program. For details on how to implement those updates and how to install and configure homebridge-http-notification-server, please refer to the README of the repository.

Down here is an example on how to configure homebridge-soil-temp-sensor to work with your implementation of the homebridge-soil-temp-sensor.

{
    "accessories": [
        {
          "accessory": "SoilMoistureTempSensor",
          "name": "Garden mositure sensor",

          "notificationID": "my-soil-sensor",
          "notificationPassword": "superSecretPassword",
        }   
    ]
}
  • notificationID is an per Homebridge instance unique id which must be included in any http request.
  • notificationPassword is optional. It can be used to secure any incoming requests.

To get more details about the configuration have a look at the README.