Cctv and kodi

i have kodi and my cctv linked to homeassistant. is it possible to have my cctv trigger a kodi addon to open upon motion without the use of a pir through homeassistant??