0.0.1-beta.20 • Published 2 years ago

@ds82/openhab v0.0.1-beta.20

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

@ds82/openhab

This is a helper library with the goal to extend and improve the default openhab3 javascript rule syntax.

Install

Switch to the conf/automation/js/ folder of openhab3 and install this library using npm:

npm install @ds82/openhab

Usage

After successful installation you can start writing rules using this library.

const {
  addRule,
  timeTrigger,
  forceOn,
} = require("@ds82/openhab");


addRule(
  "Dim lights at 19.30",
  function () {
    forceOn("Upstairs_Floor_Nightmode");
  },
  [timeTrigger("0 30 19 ? * *")]
);

Documentation

Find the documentation of this library at https://ds82.github.io/openhab/index.html

0.0.1-beta.21

2 years ago

0.0.1-beta.20

2 years ago

0.0.1-beta.18

2 years ago

0.0.1-beta.19

2 years ago

0.0.1-beta.16

3 years ago

0.0.1-beta.15

3 years ago

0.0.1-beta.14

3 years ago

0.0.1-beta.13

3 years ago

0.0.1-beta.12

3 years ago

0.0.1-beta.11

3 years ago

0.0.1-beta.10

3 years ago

0.0.1-beta.9

3 years ago

0.0.1-beta.8

3 years ago

0.0.1-beta.7

3 years ago

0.0.1-beta.6

3 years ago

0.0.1-beta.5

3 years ago

0.0.1-beta.4

3 years ago

0.0.1-beta.3

3 years ago

0.0.1-beta.2

3 years ago

0.0.1-beta3

3 years ago

0.0.1-beta2

3 years ago

0.0.1-beta1

3 years ago