New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

haui

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

haui

Home Automation UI

latest
Source
npmnpm
Version
0.0.3
Version published
Maintainers
1
Created
Source

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...

Install and Setup

$ npm install haui -g
$ haui ./path/to/settings-file.json

Example Settings 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"
    }
  ]
}

Screenshot

Screenshot

CHANGELOG

v0.0.3

  • LIRC support via lirc_node
  • Button icons via Font Awesome

v0.0.2

  • Fix path resolution, add optional logging with 'good'

v0.0.1

  • First release, sorely lacking in awesome...

TODO

  • Create a non-crap responsive UI
  • Break out device support into HAPI plugins

LICENSE

MIT

Keywords

Home

FAQs

Package last updated on 13 Mar 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts