haui

Home Automation UI

haui

Haui, the "Home Automation UI"

Mainly just a placeholder for future goodness...but, it currently supports sending most X10 events via a CM11 interface and is configured via a simple JSON settings file.

WARNING: The X10 module being used has stability issues, at least with my own personal X10 interface...

$ npm install haui -g
$ haui ./path/to/settings-file.json
{
  "x10": { "serialPath": "/dev/ttyUSB0" },
  "port": 8000,
  "host": "127.0.0.1",
  "buttons": [
    {
      "type": "x10",
      "label": "Front - ON",
      "icon": "fa-lightbulb-o",
      "command": "ON",
      "house": "A",
      "unit": "1"
    },
    {
      "type": "x10",
      "label": "Front - OFF",
      "icon": "fa-lightbulb-o",
      "command": "OFF",
      "house": "A",
      "unit": "1"
    },
    {
      "type": "x10",
      "label": "Hall - ON",
      "icon": "fa-lightbulb-o",
      "command": "ON",
      "house": "A",
      "unit": "2"
    },
    {
      "type": "x10",
      "label": "Hall - OFF",
      "icon": "fa-lightbulb-o",
      "command": "OFF",
      "house": "A",
      "unit": "2"
    },
    {
      "type": "lirc",
      "label": "Kenwood - Power",
      "icon": "fa-power-off",
      "command": "send_once",
      "device": "Kenwood",
      "button": "Power"
    },
    {
      "type": "lirc",
      "label": "Kenwood - Volume Up",
      "icon": "fa-volume-up",
      "command": "send_once",
      "device": "Kenwood",
      "button": "Volume_Up"
    },
    {
      "type": "lirc",
      "label": "Kenwood - Volume Down",
      "icon": "fa-volume-down",
      "command": "send_once",
      "device": "Kenwood",
      "button": "Volume_Down"
    }
  ]
}

  • Fix path resolution, add optional logging with 'good'
  • First release, sorely lacking in awesome...
  • Create a non-crap responsive UI
  • Break out device support into HAPI plugins

MIT