DIY Home Automation is cool, its fun and very fancy. I love the lighting control, ability to select a light level and everything else. What gets excited is the possibilities of custom scenes, and just making it happen.
For me, Writing code is an adventure, and simply fun. I decided to write this series a while back, after spending a lot of time trying to get my plugin working the first time. I have been a developer for a long time but had never developed for the Vera. What I found was a log of frustrations, There is a lot of information out there, and a lot of what I found was very long in the tooth so to speak. It isn’t well documented at all.
This article series targets the current firmware – v7. I also need to add; I am Mac based dev so that it will be slanted there.
This series of posts is focused on developing apps and plugins for the Vera Edge
(Please note – part 3, 4, and 5 will be posted soon.)
Click here to learn more
This gets You the tools in place where you will be able to move quickly developing.
Part 2 – The Basics, Vera Plugin Structure
A walkthrough of the various files needed for a simple plugin, how to make your first plugin, and how to installing your new device.
Part 3 – Unit Testing
Test locally, developer better software and be much more productive
Part 4 – Beyond the Basics (Events, etc)
UI – Using CSS, and JS, button types, and UI controls.
Code – Extending beyond the most basic plugins brings with it a host of more advanced topics. Code reuse, building a common library, and extracting code, from implementation files, are all touched on here.
Part 5 – Debugging Tips, and Strategy
Embedded device development has limitations that desktop/web development never experiences. Vera brings with it many other issues, horrible logging, and almost no informative errors when something isn’t right.
Finally, Please let me know what your think, and please send me your suggestions and questions.