I would like to build a DCE device with a scripting language, and because there is already a lot of ruby code for this that will be my choice. However I don't want to have it embedded like a GSD device and have the code stored in the database, I would like to have instead a standalone script in /usr/pluto/bin as I find it easier to work on than using the web GUI.
Which files can I include to benefit from the same method definitions as when running a GSD? Is there such a library of ruby methods that allow connection to the router, DB, send/receive messages and events ?
any pointers welcome...
(I so would like that the ruby/LMCE tutorial webcast had been recorded
On a related topic, when writing a DCE device, is it really bad to have it access the database directly? Or should I really stick to using DCE messages to get the info I need (list of lamps, rooms, etc)?