SkillAgentSearch skills...

VeraControl

An iOS library for controlling a micasaverde Vera Home Automation Controller.

Install / Use

/learn @drewying/VeraControl
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

VeraControl

A small library to assist in controlling of a micasaverde Vera unit.

Vera is a home automation controller designed to work with Z-Wave enabled home automated devices as well as "virtual devices" via an IP interface.

More information on Vera can be found here: http://www.micasaverde.com/controllers/

Usage:

The main class is the VeraController. You can look at the VeraController.h for a good overview of what's available. But here is a quick example for you.

Discovery:

[VeraController findVeraControllers:miosUsername password:miosPassword completion:^(NSArray *units, NSError *error){
   VeraController *veraController = [units firstObject];
  [veraController refreshDevices]; //This  populates all the device arrays, rooms, and scenes, sending out a NSNotification when complete.
}

Turn on a lightswitch:

ZwaveSwitch *bedroomSwitch = [veraController.switches firstObject];
[bedroomSwitch setOn:YES completion:^(){
  NSLog(@"Bedroom Light turned on");
}];

TODO:

  • Unidentified device support.

  • UI6 authentication support

  • Better scene creation support

This project is dead and no further contributions are expected.

View on GitHub
GitHub Stars6
CategoryDevelopment
Updated3y ago
Forks5

Languages

Objective-C

Security Score

70/100

Audited on Sep 23, 2022

No findings