To see more detailed wiring and programming instructions, see the full installation and programming instructions: https://know.aiphone.com/instructions-and-installation-manuals-jf/jf-2med-instructions-full
Four Flashing Lights
If all four lights are flashing on a JF-2MED, there is a short on one of the A1/A2 wires that connect it to the door station. It is best to bench test the door station with the JF-2MED to see if the issue goes away on a different wiring connection.
Two Solid Lights
If two lights are constantly lit on the front of the JF-2MED, that means that the clock has not been set. See these instructions to correct the issue; see pages 7 and 8 of the full instructions linked above.