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.
- Just have the Vera serve your files.
- SSH into the Vera
- Create a directory for your project under /www
- Use VI to create files
- Use the scripts provided by Vera
<script src="../cmh/js/external-libs.js">
- 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 });
- See the variable reference for device you are working with. i.e. Door Locks