Thanks for the quick replies.
I'm not sure if converting everything to plugins is my best solution, because my ultimate setup will look something like this:
- mac mini with indigo to control my zwave devices and run timed events
- non-zwve devices (mobotix cam, sonos, some data fetching from web pages etc) will be controlled via php
- additional functions (my online administration, gps tracking of cell phones) via php
- a custom html interface based on twitter bootstrap
So I will allways be needing php. I'm gonna try the "shell command" option, So my first thing to do is to rtfm and find out how to pass variables and values to a shell command string
(so far I like what I'm seeing)