We have moved at community.getvera.com

Author Topic: Lessons learned while implementing DAD  (Read 4251 times)

Offline Ap15e

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 1998
  • Karma: +12/-0
Lessons learned while implementing DAD
« on: March 24, 2011, 09:46:48 am »
Lessons learned while implementing DAD:

  • There is a severe lack of documentation (for users and for developers).
  • Due to the lack of documentation the implementer has to make assumptions about the API, which must be verified by the implementer (kind of reverse engineering).
  • The Luup Lua extensions are incomplete.
  • An IDE for MiOS is missing.
  • A Vera emulator is missing, required for rapid development (there is an outdated LuaUPnP version for Windows ...).
  • Having to embed Lua into XML is a major annoyance.

For those that are interested in details and tools used:

DAD:
http://forum.micasaverde.com/index.php?topic=5466.0

Tools used:
http://code.google.com/p/luaforwindows/
http://www.jsonlint.org/
http://validator.w3.org/

Windows version of LuaUPnP:
http://wiki.micasaverde.com/index.php/Windows_LuaUPnP

Bugs and missing features I stumbled upon while implementing DAD:
http://bugs.micasaverde.com/view.php?id=1449
http://bugs.micasaverde.com/view.php?id=1444
http://bugs.micasaverde.com/view.php?id=1445
http://bugs.micasaverde.com/view.php?id=1446
http://bugs.micasaverde.com/view.php?id=1447
http://bugs.micasaverde.com/view.php?id=1450
http://bugs.micasaverde.com/view.php?id=1451
http://forum.micasaverde.com/index.php?topic=6213.0

Please don't ge me wrong:
MCV (especially mcvflorin) and the community (futzle and oTi@, to name just a few) were very helpful in sorting out the issues I stumbled upon, but these shortcomings make the development of more complex plugins for MiOS very tedious. If you take into account that the market for MiOS plugins is very limited, be prepared to pay a high price for commercial MiOS plugins (if the plugins you're looking for will ever be available ...).
« Last Edit: May 10, 2011, 04:45:19 pm by Ap15e »

Offline oTi@

  • Community Beta
  • Master Member
  • ******
  • Posts: 4041
  • Karma: +32/-6
  • UI what ?!
Re: Lessons learned while implementing DAD
« Reply #1 on: March 24, 2011, 09:50:19 am »
Nice retrospective review. Thanks!
Dezwaved at the moment...

Offline myhomeserver

  • Hero Member
  • *****
  • Posts: 874
  • Karma: +3/-5
  • http://www.MyZwave.net
Re: Lessons learned while implementing DAD
« Reply #2 on: March 24, 2011, 01:07:39 pm »
Thank you for all the code you have written and all the assistance you have handed out.  MIOS, MCV and the rest of us know that this place wouldn't be half as successful without contributions from folks like you!
MyZWave.net - See Our Z-Wave product Reviews
(formerly MyHomeServer)

Offline iflyM3

  • Full Member
  • ***
  • Posts: 144
  • Karma: +0/-0
Re: Lessons learned while implementing DAD
« Reply #3 on: March 24, 2011, 07:38:09 pm »
@Ap15e

Thank you so much for all of your hard work and programming on this out of the ordinary but very cool plugin/device.  It is definitely programmers and ppl like you that can make a real positive difference in MCV's Vera product.  It's awesome (it's a good thing in the fact that now these issues can be addressed and resolved) that you were able to uncover some issues with Vera along the way.  Hopefully, MCV takes note of what you have discovered and then resolves and/or improves upon the things that you mentioned and informed them of.

and thank you too futzle and oTi@ for assisting and helping Ap15e along the way.   All of your efforts are really appreciated!!!
Vera 2 UI5 (1.5.622)... and too many Z-Wave/Ethernet/Wi-Fi devices to list.

Offline 325xi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1101
  • Karma: +0/-0
  • V1, V2, still V2...
Re: Lessons learned while implementing DAD
« Reply #4 on: March 26, 2011, 05:25:40 pm »
@Ap15e

+1

I used to work in Eclipse ecosystem for years, and developing for MiOS makes me feel I'm back in 1990s dealing with Mainframe weirdness.
Some of the biggest developer's annoyances in MiOS isn't that hard to resolve for MCV guys, including emulators (there are tons of mockup frameworks available out there)