Customizing Your Vera Controller

Vera makes fully customizable smart home controllers. There are a few different models with different features. For developers there is limited and outdated documentation on creating your own user interface. Here is what I have learned so far.

  1. Just have the Vera serve your files.
    1. SSH into the Vera
    2. Create a directory for your project under /www
    3. Use VI to create files
  2. Use the scripts provided by Vera
    <script src="../cmh/js/external-libs.js">
  3. Send AJAX requests to /port_3480/data_request and set output_format to json.
    var veraStatus = $.post("/port_3480/data_request?id=lu_sdata&output_format=json",function () { //process the response });
  4. See the variable reference for device you are working with. i.e. Door Locks

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *