DEVICE DRIVER UPDATE:
I hope the volunteer beta-testers have finished the video tutorials, installed Premise, and experimented with Builder. I've been tackling the Device Driver whenever I can find a free moment and have some results to report.
Outputs are functional.
It was rewarding to see this work! I bound an M1 output (#14) to a RelayDevice, Premise automatically rendered the relay's UI in the web browser, I clicked "On" and presto, output #14's LED turned on. Ah, the simple things in life! Good thing I didn't use output #1!
With functional outputs, it is now possible to use Michael Lehv's
IrrigationPro module. It provides a full web-UI and more functionality and control than can be achieved using the M1's Rules.
Zones are functional.
I'm getting some much needed exercise running around the house and "violating zones". Each Zone's "Triggered" property is activated when the zone is violated. Additional properties report the zone's status, type, definition, etc. (see the attached image)
There's a lot of work ahead of me. For example, Premise disallows certain characters when naming an object. You can't call a Zone "Upper/Lower" because "/" is an illegal character. I'll use Regex to translate illegal characters into underscores "_".
The Device Driver needs a substantial "Discovery" function to poll the M1 for all the data it can possibly deliver (names, states, modes, definitions, etc for every area, zone, light, output, etc). I'll probably expose this function in the Device Driver's UI so that it can be executed on demand.
This is a much bigger project than I had anticipated and I've lost track of how many hours I've invested! Fortunately, I find it relaxing and more rewarding than say, crossword puzzles. :blink: