Air Humidity Sensor

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

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
Dick

SweetPants
Posts: 2101
Joined: Friday 12 July 2013 21:24
Target OS: Linux
Domoticz version: V4.9701
Location: The Netherlands
Contact:

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.3 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 (source)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest