How gas fireplaces work
How to test thermopile
|Diagram from fireplace manual|
Now I know that the pilot light produces enough heat to generate < 1V. Just enough to run the trigger and provide safety. The small current keeps the gas valve open but when the pilot light turns off, the drop in voltage will close the valve. Genius! The voltage is generated from the thermopile and thermocouple. It's called a millivolt system and our heater works the same way.
There are two ways I can go about this.
1. Design my own microcontroller and relay to control the fireplace. Probably would use a esp8266.
2. Buy a Z-Wave relay (dry contact)
I did some research on possible Z-Wave relays. This would cost a bit more but less time which I am in short supply of lately. I figured it would be easier and more reliable to use off the shelf parts. This is part of the greatness of openHAB. I can mix my own creations with off the shelf devices.
I narrowed it down to a few choices. My determining requirement is the ability to preserve the existing functionality while staying in sync with openHAB. The problem was that all of the relays that have switch input were meant for AC powered devices (in that it shares its power source with the source of what you are switching). Many bytes later, I found the MimoLite dry contact relay. Sweet! It even has a DC adapter. A bit pricey, but fits the bill and if/when we move, I am sure I will find plenty of uses for it. Almost a shame to just use it for the fireplace since it can do some cool stuff.
|Receiver on the bottom, gas controller top middle.|
Armed with an ADC/pulse counter you can do much more than just accept a switched input. Seems like a lot of people use it for their garage door since it can also do momentary latch. Awesome device. The idea is I can connect the receiver to the relay and the relay to the fireplace. The local switch would be in parallel with the receiver which is via the ADC input. The input also has a pull-up resistor so you can use it with a switch such as this or a garage door safety sensor.
Stay tuned for part two in which I go over installation!