Show HN: I turned my iPhone and a $20 smart plug into an f-stop timer (peterszentkiralyi.eu)
I am a film photographer and do some darkroom printing and always wanted one of the proper, advanced f-stop timers, but never really wanted to spend a couple hundred dollars on one. Eventually I figured my phone was already perfectly capable of doing the timing, it just needed a way to switch the enlarger.
So I built Darkplug around a cheap smart plug. The app controls the enlarger over the local network and does regular timing, f-stop timing, test strips, has an intuitive dodge/burn workflow, split grade (2 timing channels) and paper development timing.
I’ve been using it for a few months in my improvised bathroom darkroom.
Fair warning: the app was blindly vibe coded using Codex and Xcode.
40 comments
[ 0.24 ms ] story [ 13.5 ms ] threadI always assumed, probably incorrectly, that there would be too much jitter in the actual timing so I had built a few prototypes of e.g. an esp8266 controlled relay, where you would give the MCU a duration rather than separate on/off commands. But I guess that was wildly over-optimizing. In your case, how stable is the delay from the app sending a command until the switch operates?
I'd add voice mode for color printing in total darkness.
I think you can work around it very easily by stopping down the lens and using filters.
But I’m sure if the phone has direct connection to the device and not working through hubs it’s not anywhere near 1s of delay.
Note also that some of the best printers used metronomes to count exposure time and turn the enlarger light on and off manually.
As for how dependent it is on that specific type of hardware (Shelly plugs), it is 100% dependent as the app directly controls the smart plug (with the help of the router ofc). There is no way around it, no other smart switch family is currently supported.
> Set up your smart plug and note its local IP address. Make sure the plug and your iPhone or iPad share the same local network. Connect your enlarger to the smart plug. Enter the plug’s local IP address in Darkplug, and connect. Once set up, you can control the enlarger directly from your iPhone or iPad.
It hadn't occurred to me that now with OLEDs you can actually safely limit exposure to wavelengths that would be damaging to the development process - I'd imagine that is what the author is shooting for here
Silver paper is more sensitive to blue, so the red setting does make a difference, but materials in rubylith and Ilford safelights give better control and are engineered with consideration for IR and UV. An OLED screen for this app would make a huge difference compared to conventional LED.
A smartphone in a *shared* darkroom is a faux pas, like showing up to an observatory with your headlights on.
https://xt8dob.wordpress.com/2016/03/08/make-your-iphone-obe...
Shellys can be configured to connect to your wifi and are not dependent on any cloud service.
They did color, so when printing there was no such thing as a safelite. I can still vividly remember being that "can I help?" age and setting the timers for each color, loading in the paper in complete darkness, firing up the enlarger, and then feeding it to the auto processor. It was certainly an interesting way to grow up.
Lot's of ways to do it, in the end, if you enjoy the process, then all is good.