Better late than never 
Back when we had this discussion I ordered some low power neons with the intention of experimenting, the only experiment they have been involved in to date is to determine how much dust they can gather in my garage.
With an upcoming project needing something to report when certain mains powered circuits are live, I decided to try a simple high low type sensor for a digital input and have had some success with this.
Initially I tried an offcut of outer sheath of a bit of coaxial tv antenna cable with the neon in one end and the LDR in the other so they were end to end with a gap. This first trial wasn’t looking good when the “off” resistance was a meg or 2 and the “on” was 5-6kohm, yes I could of probably got it working, this is possibly close to the ADC based previous implementation, it worked after playing with the calibration.
Wanting a simpler sensor, I tried laying a heavy cloth over them to reduce ambient light and hopefully stop light entering via the glass neon when it was off, that certainly improved the “off” resistance close to open-circuit, but the “on” resistance was unchanged at 5-6k, I wanted to use nothing more than the in-built pull-ups in the Pi’s GPIO so I had to improve the brightness seen by the LDR, before starting to meddle with the recommended series resister value for the neon (330k) I tried some white heat shrink as we discussed above (the coax sheath was brown) and moved the neon and LDR closer together, still end to end to make packaging this up easily done with heatshrink.
This took the “on” resistance down to 2k, the heatshrink hadn’t been shrunk at this point and there was just the one layer. Happy with this I put it all together on a short bit of main’s 2-core flex and a couple of bread board type patch wires.
Using a TP-link hs110 smart plug to switch the mains on and off via an android app, I measured open-circuit “off” and 1.8k “on”.
connecting the 2 wires to a RPi pins 37 (gpio26) and 39 (ground) and wrote this quick script to test
import RPi.GPIO as GPIO
import time
# We have LDR across GPIO pins 37 (GPIO/BCM 26) and 39 (Ground)
pin = 26
GPIO.setmode(GPIO.BCM)
# Set up GPIO pin as an input with a pullup resister
GPIO.setup(pin, GPIO.IN, pull_up_down=GPIO.PUD_UP)
# Loop and report circuit status once per second
interval = 1
while True:
if GPIO.input(pin):
print('Circuit off')
else:
print('Circuit on')
time.sleep(interval)
As fast as I could switch it on and off via the app the putput responded pretty much instantly. I haven’t played with any interrupts or anything like edge detection yet and I have seen no evidence of “bounce” so at this point I class it as a success.
The parts I used were
As it turns out both ends are non-polarity sensitive so it’s easy to install, as long as you don’t mix up which end is which 
Using the hs110 to measure the power used by the neon, it wouldn’t even register, which wasn’t a great surprise to me as when I did the initial tests I was using a mains breakout lead with a neon in built (before fitting the cable and plug top) and the 2 neons combined registered 0.4w, and without the secong neon, the mains breakout neon registered 0.32 - 0.36w alone.
I hope this is useful to others as this has come up a few times on the forum and now I know I have a cheap, simple, safe and hopefully reliable “digital mains sensor” I can see me installing a lot of these around the house down the line.
[edit - here’s the datasheets from CPC, hopefully I’ll add the LDR one once I can confirm it’s origin]
neon datasheet
resister datasheet
light dependent photoresister datasheet