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

iobroker.cloudrain

v0.3.0

Published

This Adapter connects iobroker to the Cloudrain Smart Irrigation System

Downloads

21

Readme

Logo

ioBroker.cloudrain

NPM version Downloads Number of Installations Current version in stable repository Dependency Status

NPM

Tests: Test and Release

cloudrain adapter for ioBroker

This Adapter connects iobroker to the Cloudrain Smart Irrigation System See https://cloudrain.com/.

The irrigation system consists of at least one controller. Each irrigation controller can control different zones (valves). Both reading current irrigation status and manual start/stop of irrigation for each zone is possible.

You might start/stop irrigations through the App and monitor the changes.

Installation

This adapter is currently under development, but should work as intended.

Please test it and give feedback: https://github.com/ioBroker/AdapterRequests/issues/370

Recommended Installation method (GUI)

  • In Adapter panel activate expert mode
  • Click the "Install from own URL" Icon
  • Select "User Defined"
  • insert URL https://github.com/hendrikhoffmann/ioBroker.cloudrain
  • Click Install
  • Add a new instance of the cloudrain adapter

Alternate Installation method (Shell)

cd /opt/iobroker
npm install iobroker.cloudrain
iobroker add cloudrain

To Update:

cd /opt/iobroker
iobroker stop cloudrain
npm install iobroker.cloudrain
iobroker update cloudrain
iobroker start cloudrain

Configuration

  • Insert your Cloudrain Username + Password in the Instance Configuration
  • The Cloudrain API is polled at regular intervals for updates.
  • Set this Data Request Interval during idle (60 sec is a perfect default value)
  • increase the Data Request Interval if total data transfered is an issue (you might miss irrigations configured in the App)
  • Note: If the system is irrigating, data updates are polled at 10 sec intervall.

Object Tree Value Description

For each Zone, the Read-Only Values are

  • irrigating : boolean value indicating wether the irrigation is currently running
  • startTime : the start time (HH:MM) of the current irrigation cycle or --:-- if no irrigation is running
  • plannedEndTime : the planned end time (HH:MM) of the current irrigation cycle or --:-- if no irrigation is running
  • duration : the total duration of the current irrigation cycle in seconds
  • remainingSeconds : the remaining duration of the current irrigation cycle in seconds

Write-Values

  • startIrrigation - set a duration value in seconds to immediatly start an irrigation cycle, set a 0 to stop a currently running cycle

Changelog

0.3.0 (2023-06-15)

  • fixed a bug where Admin Interface was not displayed if node.js Version >12

0.1.3 (2021-11-10)

  • irrigation poll intervall is now 10 sec during irrigation and min. 60 sec otherwise
  • dependency of request and util lib removed, replaced by got

0.1.2 (2021-11-09)

  • Updated installation instructions

0.1.1 (2021-11-09)

  • irrigation status is updated instantly after execution of an irrigation command
  • Debug and Info Log Messages clarified
  • Installation instructions added to README

0.0.8 (2021-11-08)

  • Updated Documentation

0.0.5 (2021-11-08)

  • Implemented info.connection to indicate valid Cloudrain access token
  • Removed Boilerplate Code and Refactored some Stuff
  • Implemented Start / Stop irrigation
  • Updated Documentation

0.0.3 (2021-11-07)

npm release script hazzle

0.0.2 (2021-11-07)

  • (hendrikhoffmann) initial release

License

MIT License

Copyright (c) 2021 hendrikhoffmann [email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.