From: dbemowsk <dbe...@ph...> - 2014-01-09 20:58:25
|
What if we defined many of the more common device types such as outlets, lighting controls, thermostats, and the like. We can have minimum definitions of things such as on, off and status for an outlet, but that is not to say that a module couldn't include some extended functions as well like the functions Lieven described. Having a minimum set of defined functions would allow the building of things like the web based touch screen interface that I am working on and easily be able to control common functions of certain types of devices without having to decipher code from say 4 different thermostats to change the heating set point just because someone called the SUB change_heat_setpoint in one module and set_SP_heat in another. Like I say, this is not an effort to limit modules in how they are set up or what functions they have. It is merely to define a set of BASE functions for objects that have common sub/function names to keep commonality to the most common device type functions. Dan -- View this message in context: http://misterhouse.10964.n7.nabble.com/Question-related-to-JSON-calls-to-MH-tp19223p19241.html Sent from the Misterhouse - User mailing list archive at Nabble.com. |