diff --git a/wh1080_rf.c b/wh1080_rf.c index 905f0d5..0ade519 100755 --- a/wh1080_rf.c +++ b/wh1080_rf.c @@ -116,8 +116,8 @@ uint16_t cmd_fifo = CMD_FIFO|0x00; uint16_t cmd_config = CMD_CONFIG|BAND_433|LOAD_CAP_12C0|BW_67; - //uint16_t cmd_rcon = (CMD_RCON|RX_EN|VDI_DRSSI|LNA_0|RSSI_91); - uint16_t cmd_rcon = (CMD_RCON|RX_EN|VDI_DRSSI|LNA_14|RSSI_97); + uint16_t cmd_rcon = (CMD_RCON|RX_EN|VDI_DRSSI|LNA_0|RSSI_91); + //uint16_t cmd_rcon = (CMD_RCON|RX_EN|VDI_DRSSI|LNA_14|RSSI_97); uint16_t cmd_dfilter = (CMD_DFILTER|CR_LOCK_FAST|FILTER_OOK); #endif diff --git a/wunderground.c b/wunderground.c index fd818d7..813bb58 100644 --- a/wunderground.c +++ b/wunderground.c @@ -296,7 +296,7 @@ // get amount of rain in last hour in mm double RainLastHour = GetHourlyRainTotal(TotalRainMm); - sprintf(Cmd, "wget -b -a /tmp/wunderground-%s.log -O /tmp/wunderground-result-%s.html \"%s?action=updateraw&ID=%s&PASSWORD=%s&realtime=1&rtfreq=48&dateutc=%s&tempf=%f&humidity=%f&windspeedmph=%f&windgustmph=%f&baromin=%f,&dewptf=%f&winddir=%.1f&dailyrainin=%f&rainin=%f\"", + sprintf(Cmd, "wget -b -a /tmp/wunderground-%s.log -O /tmp/wunderground-result-%s.html \"%s?action=updateraw&ID=%s&PASSWORD=%s&realtime=1&rtfreq=48&dateutc=%s&tempf=%.1f&humidity=%.2f&windspeedmph=%.2f&windgustmph=%.2f&baromin=%.4f&dewptf=%.1f&winddir=%.1f&dailyrainin=%.4f&rainin=%.4f\"", FileTimestamp, FileTimestamp, WUURL,