Skip to content

Commit

Permalink
added missing humidity for bme280 in mini webserver
Browse files Browse the repository at this point in the history
  • Loading branch information
uradmonitor committed Aug 5, 2017
1 parent 91f7095 commit 5c51742
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion code/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

// user upload credetials, create your account on www.uradmonitor.com/dashboard
// the Dashboard shows the user-id and the user-key
#define USER_ID "1"
#define USER_ID ""
#define USER_KEY ""

// PRIVATE CONFIGURATION SPACE, don't change the values below unless you know what you are doing
Expand Down
1 change: 1 addition & 0 deletions code/uRADMonitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,7 @@ void early_run(void) {
sprintf_P(buffer, PSTR("temperature:%.2fC<br>pressure:%luPa<br>"), data.getTemperature(), data.getPressure());
dat_p = fill_tcp_data_len(ethBuffer,dat_p, (uint8_t *)buffer, strlen(buffer));
sprintf_P(buffer, PSTR("humidty:%.2fRH<br>"), data.getHumidity());
dat_p = fill_tcp_data_len(ethBuffer,dat_p, (uint8_t *)buffer, strlen(buffer));
}
#endif
sprintf_P(buffer, PSTR("voltage:%uV<br>duty:%u%%<br>frequency:%.2fkHz<br>"),data.getInverterVoltage(), data.getInverterDuty() /10, INVERTER_FREQUENCY / 1000.0);
Expand Down

0 comments on commit 5c51742

Please sign in to comment.