want to cheaply detect whether a switch to load is on or off, the NEUTRAL line is not available.
Current transformer ? too much PCB realestate, expensive component, besides don't need
accuracy.
opto isolator ? those that can work with < 1mA cost $$
can work with cheaper, so 4-5mA, but still ~2W consumed just for sensing, I need a few so adds up.
I got this circuit to work ok....

" alt="" class="bbc_img" /> [ Specified attachment is not available ]
yeah i know,hit me, its not isolated. Probably can add safeguards like a 0.1A fuse or something.
The other trouble is if the source is after a dimmer, then it only works reliably with
dim setting 100%-~75%. Though possibly the dimmer could be wired in after the switches to mitigate that problem.
Note the circuit has access to a 12v supply, though assume it is isolated from earth (or not)
can it be done reliably using capacitors to isolate? ...i am experimenting....
any other idea?
this is a sorta related thread
https://www.eevblog.com/forum/projects/optocoupler-with-floating-wire/msg4249036/#msg4249036mostly not the easiest thing to ask google for either.....