MagicMirror trigger with PIR Sensor from HA

The PIR is actually connected to a different Pi, that talks to my Home Assistant instance on a separate server. I have a Pi Zero connected to a TV running magic mirror that’s always on, but the TV is connected to a LightWaveRF remote controlled socket. When PIR is ON on the Pi, it sends the status to HA via API, HA turns the socket on via rfxtrx.
the PIR is powered via +5V and GND on the Pi, data pin connected to any GPIO…