Electronic – Using AC relay with DC voltage

raspberry pisolid-state-relaythermostat

I apologise in advance if this is the wrong forum, or I'm not providing enough details.

I'm building a thermostat zone controller on a raspberry pi and I've encountered an issue with the relays in my Nest thermostats – mainly that they are 240v AC relays, which I would like to detect the state of using the GPIO on the raspberry pi (which are DC voltage at either 3.3 or 5v). So – I want to read whether the relay is open or closed (calling for heat or not). The details of the relays are listed as: "They are designed to work with wires with an AC voltage measuring 100-240V at 50-60Hz with a max current rating of 3A or with low voltage (dry contact) systems."

The Nest "Homelink"'s relays are a bit of a black box in that I don't know what specific component they actually are, but if I assume that they are a SSR's, then from what I understand the relay will turn on with dc current across it, but will not be able to turn itself off.

Given this, is it possible to trigger the relay's normal operation by some other method, such as cycling the GPIO on and off, so that there is no current across the relay, or even simulating an AC current via setting analog voltage levels (and swapping the gnd and positive sides at the appropriate time).

Best Answer

In the Nest Installation Guide, page 23, they show an installation example with low voltage. So I think they actually are mechanical relays, or at least relays that can actually work with DC.

So you can make it simpler: connect 1 or 3 to the raspi ground, and 2 to some raspi input with a pull-up, for example.