One other approach will be to do a search in this forum for “transformerless” you will find ideas of simple circuits of powering up small loads (a LED part of the optocoupler in your case) .
Use one of the circuits in parallel with your switching device (relay, triac,…etc) and monitor its control signal and the optocoupler output.
If your heater is OK you will have a signal from your optpcoupler when the heater is not energzed. In case the heater is open you get no signal when the controlling device is OFF.
HTH
Nick
Bookmarks