Well you would need a device in your house working 24/7, either small RaspberryPie or windows NUC, a custom made small service that fetch realtime events and push command via API back to device.
an example fetching card swipe on device event
And as soon service catch that event, you could...