@mb323 and @wackware,
Ok, I got the mimolite device type working exactly the way I like:
- Open/close state and actuate are now on the same tile
- Power failure indicator tile included
- Configure tile subscribes to power alarm for proper indicator status
- Basic logging, and cleaned up code a bit
Requirements:
- mimolite needs to be set up as a momentary switch before inclusion (remove the jumper)
- magnetic door contact sensor installed similar to this one : http://www.amazon.com/gp/product/B000Q64NS8/ref=oh_aui_detailpage_o04_s00?ie=UTF8&psc=1
- Configure tile tapped to make sure the device sends power alarms to the device type
Lastly, here’s the code: (updated 2015-02-16)
https://github.com/constjs/SmartThings-Devices/blob/master/mimolite_garage_door_v2.device.groovy