# Environmental Control

AsTeRICS has many plugins for environmental control like KNX, EnOcean, IrTrans, Phillips Hue or OpenHAB. Check the Plugins page and filter by Home Control.

On this page you will find some tutorials of how to use such plugins to control your environment and how to create and accessible user interface for it.

# OpenHAB

OpenHAB is an Open Source Home Automation SW that let’s you control light, heating and other appliances of your Smart Home. Such appliances or devices are called things which are represented as items in a user interface. OpenHAB provides several user interfaces and means of voice control.

Accessible User Interface

This tutorial explains how to control an OpenHAB instance and it’s configured items by an AsTeRICS model and how to create an accessible user interface for it using AsTeRICS Grid.

  1. Install openHAB
  2. Start openHab
  3. Create demo package at first time startup
  4. Open the model ARE/models/componentTests/processors/openHAB_simple_test.acs
  5. Upload/Start model
  6. Open Basic UI of the Kitchen
  7. In ARE GUI: Click on Item Light_GF_Kitchen_Ceiling ON or Item Light_GF_Kitchen_Ceiling OFF. You should see the switching of the item in the basic UI accordingly.
  8. Change a value in the basic UI, you should get an event in the event visualizer of the ARE GUI.

# Accessible UI

You can use AsTeRICS Grid to create an accessible UI for controlling your Smart Home using OpenHAB.

  1. Open AsTeRICS Grid
  2. See AsTeRICS Action: To know how to execute an action of an AsTeRICS model in a running ARE instance.
  3. Click Download from ARE
  4. In Component, select openHAB.1_c
  5. In Send data
    1. Select actionString
    2. Set item name and state value, e.g. @OPENHAB:Light_GF_Kitchen_Ceiling,ON or Light_GF_Kitchen_Ceiling,ON (See plugin documentation)
  6. Test action by clicking on Test Action
  7. Click OK to save the action.