Options
All
  • Public
  • Public/Protected
  • All
Menu

Module api

JS scripting API

This is module links the Z-Bus smart home event bus system to the JS scripting environment of the Z-Bus Interface home server and IoT gateway.

Index

Variables

Const zBus

zBus: ZBus = ...

The global zBus object is an instance of ZBus which is loaded into the Z-Bus Home Script scripting runtime environment. It allows you to access and control the Z-Bus smart home system:

  • receiving Z-Bus device events (and react to sensory input from these devices)
  • transmitting Z-Bus device events (to control these devices)
  • dimming lights
  • controlling lighting scenes
  • creating logic control flows and central control
  • designing timers and presence simulations

These library functions are described in the ZBus class

Generated using TypeDoc