Noob question: Exceution of command possible / pilight

Hi, I am using HA bridge since years, but the support for Hue API v2 is not there yet.
So, I am thinking about switching to DIYHUE.
Question; Is it possible to execute a command on raspi when something is triggered (e.g. a virtual light) ?
And is it possible to combine DIYHUE with pilight ? Any experience ?

Thanks,
Arazok

Hi,

Yes, is possible, but not directly, for example you can create a custom light protocol that will execute shell commands with arguments based on lights variables. Normally these protocols need to do an api conversion from hue api to the destination light api, but since is python you can do everything you want.

I don’t know what is pilight, but every light that has a public api can be integrated using custom protocol (lights/protocols directory)