The SSH host key has changed on 8 April, 2022 to this one: SHA256:573uTBSeh74kvOo0HJXi5ijdzRm8me27suzNEDlGyrQ
An Arduino or ESP8266 based weather station which can be extended by different modules.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
505 B

#ifndef __PWS_MODE_PULL_H
# define __PWS_MODE_PULL_H
# include "config.h"
class PWSModePull {
public:
PWSModePull(int port);
void begin();
void loop();
void sendValues(
#if defined(DHT_TYPE) || defined(HAVE_BMP180)
float temperature,
#endif
#ifdef DHT_TYPE
float humidity,
#endif
#ifdef RAIN_PIN
bool raining,
#endif
#ifdef HAVE_BH1750
float light,
#endif
#ifdef HAVE_BMP180
float pressure,
#endif
...);
private:
int _port;
};
#endif // __PWS_MODE_PULL_H