I2C HTU21D

Others (MiLight, Hue, Toon etc...)

Moderator: leecollings

Post Reply
djmoon
Posts: 14
Joined: Wednesday 16 March 2016 16:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

I2C HTU21D

Post by djmoon »

Hi all,

I'm just try to add I2C HTU21D to my Domoticz Hardware, but when I go to "devices" I d'ont see it.

I try some python code on my Raspberry Pi2 and I"m able to connect to this device and receive the temperature and humidity... my I2C seem to be configured correctly and my device seem to work fine on my RPi2

I use Domoticz V3.4985

Next step will be to do a new hardware library for TSL2591 lux sensor !

I already look at makelist file but I don't see conditional about I2C library... I make Domoticz before install this I2C devices... perhaps a way ?

Thanks in advance
Jerome
ld57
Posts: 11
Joined: Sunday 31 July 2016 22:11
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: I2C HTU21D

Post by ld57 »

Hi!
With the latest beta, this sensor now works perfectly :)
Domoticz + RPI3B+ + Zwave devices + RFLink
My blog: https://drolez.com/blog/
mraichura
Posts: 13
Joined: Friday 16 December 2016 4:59
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Location: Rajkot, IN
Contact:

Re: I2C HTU21D

Post by mraichura »

Not working in 3.5877 update. Test using C code. Device working properly.
1 x RASPBERRY PI 1 MODEL B+ running Domoticz since June 2016
1 x RASPBERRY PI 3 MODEL B running Domtoicz since August 2017
antwan
Posts: 116
Joined: Saturday 13 July 2013 13:28
Target OS: Linux
Domoticz version: Latest
Location: Hilversum, The Netherlands
Contact:

I2C HTU21D

Post by antwan »

On 3.654 iT works.
Rasp Pi 2B: 3x DS18S20 (1-wire), BME280 (i2c)
Cubietruck 1: Aeotec Z-Wave+, RFXtrx433XL+P1, RFXtrx868, TE923 display, SolarEdge API
Cubietruck 2: Aeotec Z-Wave, Voltcraft CO-20
mraichura
Posts: 13
Joined: Friday 16 December 2016 4:59
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Location: Rajkot, IN
Contact:

Re: I2C HTU21D

Post by mraichura »

Hi,

Thanks for prompt reply.

I updated to this version

Code: Select all

Version: 3.6156
Build Hash: ce0475d
Compile Date: 2016-12-16 01:54:05
But still no-go. I selected HTU21D from Hardware settings page and added it. But no device on Devices list.

Here is the output from c code.

Code: Select all

pi@domopi:~/htutest/rpi-examples/HTU21D/c$ sudo ./HTU21D_test
27.46C
28.04%rh
1 x RASPBERRY PI 1 MODEL B+ running Domoticz since June 2016
1 x RASPBERRY PI 3 MODEL B running Domtoicz since August 2017
mraichura
Posts: 13
Joined: Friday 16 December 2016 4:59
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Location: Rajkot, IN
Contact:

Re: I2C HTU21D

Post by mraichura »

Nevermind. The update didn't help so clean installed it. Now it's working.
Attachments
New Interface & Subtype
New Interface & Subtype
nnew.png (159.18 KiB) Viewed 3486 times
Old Interface
Old Interface
old.png (205.91 KiB) Viewed 3486 times
1 x RASPBERRY PI 1 MODEL B+ running Domoticz since June 2016
1 x RASPBERRY PI 3 MODEL B running Domtoicz since August 2017
Spindi
Posts: 8
Joined: Sunday 05 February 2017 19:11
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: I2C HTU21D

Post by Spindi »

HI guys!

I've added my sensor and everythings working fine.
But, is it possibly to add to sensors of this type?

THX!!!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest