Air Humidity Sensor

Post Reply
Posts: 6
Joined: Saturday 19 August 2017 19:36
Target OS: Windows
Domoticz version:

Air Humidity Sensor

Post by pa0dow » Saturday 19 August 2017 19:42

i tried this program
but there came an error see arrow

static const uint8_t FORCE_UPDATE_N_READS = 10;

#define CHILD_ID_HUM 0
#define CHILD_ID_TEMP 1

float lastTemp;
float lastHum;
uint8_t nNoUpdatesTemp;
uint8_t nNoUpdatesHum;
bool metric = true;

MyMessage msgHum(CHILD_ID_HUM, V_HUM);
MyMessage msgTemp(CHILD_ID_TEMP, V_TEMP);

DHT = dht; <-------------------------------------

i am not be able to correct this
who helps

Posts: 2397
Joined: Friday 12 July 2013 21:24
Target OS: Linux
Domoticz version: V4.10267
Location: The Netherlands

Re: Air Humidity Sensor

Post by SweetPants » Saturday 19 August 2017 20:27

What do you mean with "i am not be able to correct this"?
This is a typical MySensors question, maybe better ask there?
Ubuntu 16.04.5 LTS, Intel NUC, MySensors 2.3.0-alpha, Pro Mini 3.3/8M RFM69(HW), ESP8266 (SDK2.2.0), Sonoff, RFLink, RFXcom, MQTT, NodeRed, Domoticz Beta (from source)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest