Page 1 of 1
sensor DHT22 on Fibaro Universal Sensor, is possible?
Posted: Wednesday 31 August 2016 16:43
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.
Re: sensor DHT22 on Fibaro Universal Sensor, is possible?
Posted: Wednesday 31 August 2016 19:45
by LouiS22
I really don't think it's possible.
Re: sensor DHT22 on Fibaro Universal Sensor, is possible?
Posted: Wednesday 31 August 2016 21:17
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.
Re: sensor DHT22 on Fibaro Universal Sensor, is possible?
Posted: Thursday 01 September 2016 10:00
by bigpea
ok thanks, i will start my research

Re: sensor DHT22 on Fibaro Universal Sensor, is possible?
Posted: Thursday 01 September 2016 10:24
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!
Good luck
Sean

Re: sensor DHT22 on Fibaro Universal Sensor, is possible?
Posted: Thursday 01 September 2016 10:55
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?
Re: sensor DHT22 on Fibaro Universal Sensor, is possible?
Posted: Thursday 01 September 2016 12:39
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.
Re: sensor DHT22 on Fibaro Universal Sensor, is possible?
Posted: Thursday 01 September 2016 12:42
by bigpea
ok perfect, many thanks!
Re: sensor DHT22 on Fibaro Universal Sensor, is possible?
Posted: Thursday 01 September 2016 12:52
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.