But the plugin.py handles all the device management stuff you're talking about - creating/editing/deleting devices. Starting/stopping them, etc. You can't define devices without the appropriate methods.berkinet wrote:The plugin can be used to create/manage devices, but with an essentially empty plugin.py. Then, the actual work, in this case creating and running an irrigation schedule, could be in a script run by a SCHEDULE. The net effect is the same, but, leaving a plugin running and doing nothing seems somehow wasteful - but, probably doesn't really matter.
Now - a plugin may not implement the runConcurrentThread(), and that's fine too (the Action Collection didn't for at first). But I've yet to see an example of a plugin that needs to stop/start to do it's work. My guess is if you have simple enough needs then you'd just distribute a python script file that people could run from the execute script action.
