Im trying to build an IR receiver circuit that will perform a simple on-off operation when I push a button on an IR emitter. From what I understand IR receivers normally output high unless they detect their specific frequency, and then they output low. So my plan was to use the relay shown such that while the IR receiver sends high voltage the relay just reroutes the current to ground. When the IR receiver sends low voltage the relay switches up and the capacitor drains and activates/deactivates the switch. Does this all look right so far?