According to Tesla's article "The Problem of Increasing Human Energy," published 1900 in Century Magazine:
"I read some statements from Carnot and Lord Kelvin (then Sir William Thomson) which meant virtually that it is impossible for an inanimate mechanism or self-acting machine to cool a portion of the medium below the temperature of the surrounding, and operate by the heat abstracted. These statements interested me intensely. Evidently a living being could do this very thing, and since the experiences of my early life which I have related had convinced me that a living being is only an automaton, or, otherwise stated, a "self-acting-engine," I came to the conclusion that it was possible to construct a machine which would do the same. As the first step toward this realization I conceived the following mechanism. Imagine a thermopile consisting of a number of bars of metal extending from the earth to the outer space beyond the atmosphere. The heat from below, conducted upward along these metal bars, would cool the earth or the sea or the air, according to the location of the lower parts of the bars, and the result, as is well known, would be an electric current circulating in these bars. The two terminals of the thermopile could now be joined through an electric motor, and, theoretically, this motor would run on and on, until the media below would be cooled down to the temperature of the outer space. This would be an inanimate engine which, to all evidence, would be cooling a portion of the medium below the temperature of the surrounding, and operating by the heat abstracted".
"Much of this task on which I have labored so long remains to be done. A number of mechanical details are still to be perfected and some difficulties of a different nature to be mastered, and I cannot hope to produce a self-acting machine deriving energy from the ambient medium for a long time yet, even if all my expectations should materialize".