Code: Select all
diff -u update.php.orig update.php
--- update.php.orig 2017-12-12 03:58:19.253102000 +0000
+++ update.php 2017-12-22 17:21:49.597102000 +0000
@@ -278,6 +278,8 @@
$rawUpdate['RR'] = convertor($rawUpdate['RR'],"in","mm");
$rawUpdate['B'] = (string)$xmlWU->current_observation[$lastWU]->wind_degrees;
$rawUpdate['S'] = (string)$xmlWU->current_observation[$lastWU]->solar_radiation;
+//Add UV
+ $rawUpdate['UV'] = (string)$xmlWU->current_observation[$lastWU]->UV;
} // end WU