Vera

From Hurlster Wiki
Revision as of 14:29, 9 June 2014 by Gqwill69 (talk | contribs) (Created page with "Page to reflect modifications to Vera Lite Home Automation controller == Harmony Hub Control == # SSH to Vera (reference http://wiki.micasaverde.com/index.php/Logon_Vera_SSH)...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Page to reflect modifications to Vera Lite Home Automation controller

Harmony Hub Control

  1. SSH to Vera (reference http://wiki.micasaverde.com/index.php/Logon_Vera_SSH)
  2. cd /bin
  3. wget http://code.mios.com/trac/mios_lhh/export/20/precompiled/HarmonyHubControl
  4. chmod 755 HarmonyHubControl
  5. Run the commands to list activities, devices, or full config from the command line. Spend some time running the different commands from here to make sure everything works (start activities, send device commans, power off)
  HarmonyHubControl [my harmony login email]  [my harmony login password] [my harmony hub's ip address] [command]
  Commands:
      list_activities
      get_current_activity_id
      start_activity [ID]
      issue_device_command [deviceId] [command]
      list_devices
      get_config
  more info on device commands http://forum.micasaverde.com/index.php/topic,14928.msg160002.html#msg160002

6. Create scenes for any command you would like to use. Put one of the following in the luup tab for the scene (remember to hit "save lua" before closing the scene):

  Start activity luup (-1 to turn off):
  os.execute("HarmonyHubControl [my harmony login email]  [my harmony login password] [my harmony hub's ip address] \
start_activity [activity id]") Device command luup: os.execute("HarmonyHubControl [my harmony login email] [my harmony login password] [my harmony hub's ip address] \
issue_device_command [device id] [device command]")