# New to openHAB, looking for suitable relays and sensors

**URL:** <https://community.openhab.org/t/new-to-openhab-looking-for-suitable-relays-and-sensors/27974>\
**Category:** Home Automation\
**Tags:** outdoor, relay, temperature\
**Created:** [May 7, 2017, 9:39am UTC](https://community.openhab.org/t/new-to-openhab-looking-for-suitable-relays-and-sensors/27974 "2017-05-07T09:39:45Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Putzeudel](https://community.openhab.org/letter_avatar_proxy/v4/letter/p/f475e1/32.png) [@Putzeudel](https://community.openhab.org/u/Putzeudel)\
**Post date:** [May 7, 2017, 9:39am UTC](https://community.openhab.org/t/new-to-openhab-looking-for-suitable-relays-and-sensors/27974/1 "2017-05-07T09:39:45Z")

</div>

Hi,

i finally decided to start tinkering with home automation and i want to use openHAB. I have a server, network etc setup, but i need some help choosing the first items for the automation-part 😉

I need a relais and a temperature sensor. They stay outside, so they should be able to deal with temperatures from -25°C to +60°C (or something along those lines). They wont sit in the pouring rain, but i cant guarentee absolute dryness or a certain humidity. Finally they should use some kind of wireless connection that works with openHAB and is very reliable (the life of 4 turtles is on the line!).

Do you have any suggestions on what technology, brand or model i should use here? I searched the board, and will continuing to do so, but i dont think that i can pick out the best device for my requirements for myself.

Thanks in advance for any tips! 🙂

---

<div class="post-metadata">

**Author:** ![rossko57](https://community.openhab.org/user_avatar/community.openhab.org/rossko57/32/70263_2.png) [@rossko57](https://community.openhab.org/u/rossko57)\
**Post date:** [May 7, 2017, 9:58am UTC](https://community.openhab.org/t/new-to-openhab-looking-for-suitable-relays-and-sensors/27974/2 "2017-05-07T09:58:58Z")

</div>

> [@Putzeudel](#):
>
> they should use some kind of wireless connection that works with openHAB

You’ll need to specify range here to narrow the field. 10m, 100m, through walls ? Also power options - battery, or is mains available at sensor location? What load does the relay have to control - a battery powered LED, or a high power heater?

---

<div class="post-metadata">

**Author:** ![Putzeudel](https://community.openhab.org/letter_avatar_proxy/v4/letter/p/f475e1/32.png) [@Putzeudel](https://community.openhab.org/u/Putzeudel)\
**Post date:** [May 7, 2017, 10:59am UTC](https://community.openhab.org/t/new-to-openhab-looking-for-suitable-relays-and-sensors/27974/3 "2017-05-07T10:59:29Z")

</div>

Ah ok, makes sense 🙂

The range depends on where they are attached to the ethernet, i guess. The shortest would be 25m, almost a direct line, with 2 “walls” (1x stone and 1x some kind of greenhouse). If i have the wireless receiver near my server its more like 40m with 4 walls, kinda hard to get a signal through. I guess i will place the receiver as best as i can.

I have mains avaiable and it would be great if no device would run on battery, since batteries and very low temperatures (winter) arent a perfect matchup in my experience.

The controlled load is about 100w (at 230v, reptile warming bulb). The bulb comes with a controlling device that should guarantee a softstart, i never tested if that works though.

---

<div class="post-metadata">

**Author:** ![rossko57](https://community.openhab.org/user_avatar/community.openhab.org/rossko57/32/70263_2.png) [@rossko57](https://community.openhab.org/u/rossko57)\
**Post date:** [May 7, 2017, 11:08am UTC](https://community.openhab.org/t/new-to-openhab-looking-for-suitable-relays-and-sensors/27974/4 "2017-05-07T11:08:42Z")

</div>

Sounds like a job for a Sonoff, a WiFi mains control relay with options for temp and humidity sensing. You need a little technical skill to modify one for local control rather than via chinese cloud

---

<div class="post-metadata">

**Author:** ![Putzeudel](https://community.openhab.org/letter_avatar_proxy/v4/letter/p/f475e1/32.png) [@Putzeudel](https://community.openhab.org/u/Putzeudel)\
**Post date:** [May 7, 2017, 10:08pm UTC](https://community.openhab.org/t/new-to-openhab-looking-for-suitable-relays-and-sensors/27974/5 "2017-05-07T22:08:12Z")

</div>

Looks interesting. Do you know a solution that dont needs flashing with a different firmware though? 😉

---

<div class="post-metadata">

**Author:** ![Putzeudel](https://community.openhab.org/letter_avatar_proxy/v4/letter/p/f475e1/32.png) [@Putzeudel](https://community.openhab.org/u/Putzeudel)\
**Post date:** [May 7, 2017, 11:19pm UTC](https://community.openhab.org/t/new-to-openhab-looking-for-suitable-relays-and-sensors/27974/6 "2017-05-07T23:19:45Z")

</div>

The Sonoff devices have an operating temperature of 0-40°C, if those datasheets are correct. The Sonoff devices i found so far seem to be indoor devices, if i am not mistaken …?

---

<div class="post-metadata">

**Author:** ![rossko57](https://community.openhab.org/user_avatar/community.openhab.org/rossko57/32/70263_2.png) [@rossko57](https://community.openhab.org/u/rossko57)\
**Post date:** [May 8, 2017, 12:30am UTC](https://community.openhab.org/t/new-to-openhab-looking-for-suitable-relays-and-sensors/27974/7 "2017-05-08T00:30:07Z")

</div>

Yep. Obviously you can put them in an enclosure.  
I wouldn’t expect low-temperature operation to be an issue in practice, the device is powered off mains and will self-warm to an extent.  
It’s more likely to mess up at high temperatures, there aren’t many pieces of non-military grade electronic kit verified to work at 60C

If this is all a worry, it might be time to rethink it as a wired solution, all control and switchgear indoors and just a pair of wires to a remote temperature sensor.

---

<div class="post-metadata">

**Author:** ![Putzeudel](https://community.openhab.org/letter_avatar_proxy/v4/letter/p/f475e1/32.png) [@Putzeudel](https://community.openhab.org/u/Putzeudel)\
**Post date:** [May 8, 2017, 12:12pm UTC](https://community.openhab.org/t/new-to-openhab-looking-for-suitable-relays-and-sensors/27974/8 "2017-05-08T12:12:47Z")

</div>

Yeah maybe you are right. I will look deeper into those Sonoffs now, but it seems i need a bit of equipment to flash the firmware. Thank you for the tipp though 🙂

---

<div class="post-metadata">

**Author:** ![ThomDietrich](https://community.openhab.org/user_avatar/community.openhab.org/thomdietrich/32/71239_2.png) [@ThomDietrich](https://community.openhab.org/u/ThomDietrich)\
**Post date:** [May 8, 2017, 1:28pm UTC](https://community.openhab.org/t/new-to-openhab-looking-for-suitable-relays-and-sensors/27974/9 "2017-05-08T13:28:23Z")

</div>

I’d not expect any problems outdoor, as long as you protect the Sonoff from rain and high humidity. All further details (including setup instructions) should be described here:

> [@ITEAD Sonoff switches and sockets - cheap ESP8266 Wifi+MQTT hardware](https://community.openhab.org/t/itead-sonoff-switches-and-sockets-cheap-esp8266-wifi-mqtt-hardware/15024):
>
> ITEAD Smart Home Products These very cheap modules come with their special smartphone app but are all actually based on the famous ESP8266. It didn’t take long till the tinkerer community got a hold of that and started hacking. After opening up the cases, all you need to do is solder a few header pins and connect your FTDI breakout programmer. Alternative firmwares are ready to provide nice MQTT based Wifi SmartHome endpoints without the need to either pay a lot of mone…
