sensor DHT22 on Fibaro Universal Sensor, is possible?

For Z-Wave related questions in Domoticz

Moderator: leecollings

Post Reply
bigpea
Posts: 91
Joined: Thursday 11 August 2016 12:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: IT
Contact:

sensor DHT22 on Fibaro Universal Sensor, is possible?

Post by bigpea »

Hi,
as you know, is possible to use the sensor DHT22 on the Fibaro Universal Sensor (http://manuals.fibaro.com/binary-sensor/)?

In the manual just talking only for DS18B20 sensor, but i want to know also the humidity percentage.

Thanks.
User avatar
LouiS22
Posts: 433
Joined: Friday 27 February 2015 13:21
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Budapest, Hungary
Contact:

Re: sensor DHT22 on Fibaro Universal Sensor, is possible?

Post by LouiS22 »

I really don't think it's possible.
mischa
Posts: 74
Joined: Tuesday 07 April 2015 20:32
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8872
Location: Heerhugowaard, The Netherlands
Contact:

Re: sensor DHT22 on Fibaro Universal Sensor, is possible?

Post by mischa »

Although the DHT-22 uses a single-wire to send data it is not Dallas One Wire compatible! You can only use a DS18B20 on the universal sensor.
If you want to measure humidity then use the DHT-22 with Mysensors for example.
Pi 2 - Pi 1 - Razzbery 2.0 - Fibaro FGD-211 - Fibaro FGD-212 - Fibaro FGRGBWM-441 (RGBW Module) - Fibaro FGBS321 (Universal Switch) - FGWPF-102 - TBK Home TZ67-G - Synology DS1515+ - Esp Easy (with wemos D1 mini)
bigpea
Posts: 91
Joined: Thursday 11 August 2016 12:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: IT
Contact:

Re: sensor DHT22 on Fibaro Universal Sensor, is possible?

Post by bigpea »

ok thanks, i will start my research :)
User avatar
blackdog65
Posts: 311
Joined: Tuesday 17 June 2014 18:25
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Norfolk, UK
Contact:

Re: sensor DHT22 on Fibaro Universal Sensor, is possible?

Post by blackdog65 »

Hi bigpea,

I use esp8266 now for all my temp/humidity sensing (except where a unit has built in sensors) and I find them to be very cheap and reliable.

See http://www.esp8266.nu/index.php/HumiditySensor for more information.

I'm currently building an en-suite bathroom between my 2 boy's rooms and have an esp8266 12e controlling the lights, heated mirror, extractor fan, and 2 door locks. It also runs a DHT22 in the shower cubicle that will decide when to run the extractor fan.

I have a few Fibaro Universal Sensors fitted but I'm replacing them with the ESP units.
I'm a bit disappointed with the binary sensors as they have so much potential... if you could control the outputs! :twisted: :x

Good luck
Sean :D
CubieTruck Master
RasPi slaves
Aeon Labs Z-Stick, multi sensor
Fibaro Dimmers, relays, Universal sensors
EQ3 MAX!
TKB Sockets
RFXCOM
LightwaveRF sockets, switches, relays, doorbell
MySensors
ESPEasy ESP8266-12E
bigpea
Posts: 91
Joined: Thursday 11 August 2016 12:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: IT
Contact:

Re: sensor DHT22 on Fibaro Universal Sensor, is possible?

Post by bigpea »

very good I like it!
So, simply, I can:
- buy the esp8266 module;
- buy dht22 sensor;
- change firmware of esp8266 with ESP Easy;
- link these two;
- add in domoticz a new hardware "MySensorGateway with LAN Interface" (but i will use the WiFi, is correct?)

It's all?
User avatar
blackdog65
Posts: 311
Joined: Tuesday 17 June 2014 18:25
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Norfolk, UK
Contact:

Re: sensor DHT22 on Fibaro Universal Sensor, is possible?

Post by blackdog65 »

Close,
the last steps are
- create a "Dummy" in hardware (mine is called "ESP")
- create a virtual temp/humidity sensor in "ESP" and note the device idx
- set domoticz ip parameters in espeasy
- set device idx in espeasy
The esp unit will then send regular readings to the virtual device... job done ;)

The big bonus is that the esp has further GPIO pins available so a spare can be used to control a relay.
i.e. Humidity >50% turn on fan. This is done again with a virtual switch (simple on/off) from the "ESP" hardware dummy and a On/Off Action command such as

Code: Select all

http://ESP_IP_ADDRESS/control?cmd=GPIO,2,0

Code: Select all

http://ESP_IP_ADDRESS/control?cmd=GPIO,2,1
to toggle (in this example) GPIO pin 2 to operate a relay.
Last edited by blackdog65 on Thursday 01 September 2016 12:48, edited 1 time in total.
CubieTruck Master
RasPi slaves
Aeon Labs Z-Stick, multi sensor
Fibaro Dimmers, relays, Universal sensors
EQ3 MAX!
TKB Sockets
RFXCOM
LightwaveRF sockets, switches, relays, doorbell
MySensors
ESPEasy ESP8266-12E
bigpea
Posts: 91
Joined: Thursday 11 August 2016 12:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: IT
Contact:

Re: sensor DHT22 on Fibaro Universal Sensor, is possible?

Post by bigpea »

ok perfect, many thanks!
User avatar
blackdog65
Posts: 311
Joined: Tuesday 17 June 2014 18:25
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Norfolk, UK
Contact:

Re: sensor DHT22 on Fibaro Universal Sensor, is possible?

Post by blackdog65 »

If you do go for the esp route,
I'd recommend starting with one of these https://www.amazon.co.uk/HiLetgo-NodeMC ... 66+nodemcu to try as they have 5v as well as 3v3, usb for power, usb for flashing rather than an extra seperate pcb and extra gpios.
CubieTruck Master
RasPi slaves
Aeon Labs Z-Stick, multi sensor
Fibaro Dimmers, relays, Universal sensors
EQ3 MAX!
TKB Sockets
RFXCOM
LightwaveRF sockets, switches, relays, doorbell
MySensors
ESPEasy ESP8266-12E
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest