Search found 5 matches
- Thursday 08 August 2019 20:04
- Forum: Temperature and Weather
- Topic: Domoticz can not see sht20
- Replies: 5
- Views: 1813
- Thursday 08 August 2019 20:03
- Forum: Temperature and Weather
- Topic: Domoticz can not see sht20
- Replies: 5
- Views: 1813
- Thursday 08 August 2019 20:02
- Forum: Temperature and Weather
- Topic: Domoticz can not see sht20
- Replies: 5
- Views: 1813
Re: Domoticz can not see sht20
cron
*/5 * * * * python /home/pi/domoticz/scripts/SHT30.py
*/5 * * * * python /home/pi/domoticz/scripts/SHT30.py
- Thursday 08 August 2019 20:01
- Forum: Temperature and Weather
- Topic: Domoticz can not see sht20
- Replies: 5
- Views: 1813
Re: Domoticz can not see sht20
import smbus
import time
import requests
# Get I2C bus
bus = smbus.SMBus(1)
# SHT30 address, 0x44(68)
# Send measurement command, 0x2C(44)
# 0x06(06) High repeatability measurement
bus.write_i2c_block_data(0x44, 0x2C, [0x06])
time.sleep(0.5)
# SHT30 address, 0x44(68)
# Read data back from 0x00 ...
import time
import requests
# Get I2C bus
bus = smbus.SMBus(1)
# SHT30 address, 0x44(68)
# Send measurement command, 0x2C(44)
# 0x06(06) High repeatability measurement
bus.write_i2c_block_data(0x44, 0x2C, [0x06])
time.sleep(0.5)
# SHT30 address, 0x44(68)
# Read data back from 0x00 ...
- Sunday 07 April 2019 12:00
- Forum: Temperature and Weather
- Topic: SHT30 Domoticz
- Replies: 1
- Views: 1638
SHT30 Domoticz
Hello, I have sht30, in the console shows temp + humidity. In domoticz I choose temp + wilgo (thgn122) does not pose anything and if I choose only temp (LaCrosse TX3) it's ok. How to make it at domotic temperature and humidity