Updated version
This commit is contained in:
@@ -1,9 +1,15 @@
|
|||||||
## AMBIENTWEATHER2EASYWEATHER API CONVERTER SCRIPT ##
|
## AMBIENTWEATHER2EASYWEATHER API CONVERTER SCRIPT ##
|
||||||
## Strandbo Solutions
|
## Strandbo Solutions
|
||||||
## v2.0
|
## v2.1
|
||||||
|
##
|
||||||
|
|
||||||
|
## Changelog
|
||||||
|
#
|
||||||
|
# v2.1
|
||||||
|
# Fixed some typos
|
||||||
|
|
||||||
# User variables
|
# User variables
|
||||||
$MACaddress = "EC:FA:BC:xx:xx:xx" # MAC address to spesific unit
|
$MACaddress = "EC:FA:BC:xx:xx:xx" # MAC address to specific unit
|
||||||
$APIkey = "xxxx" # Your API key
|
$APIkey = "xxxx" # Your API key
|
||||||
$OutputDir = "C:\Cumulus\"
|
$OutputDir = "C:\Cumulus\"
|
||||||
|
|
||||||
@@ -62,7 +68,7 @@ $Field16 = $Field16 * 1/2.23693629 # mph to m/s
|
|||||||
$Field16 = [math]::Round($Field16,3)
|
$Field16 = [math]::Round($Field16,3)
|
||||||
$Field23 = $Field23 * 25.4 # Inches to mm
|
$Field23 = $Field23 * 25.4 # Inches to mm
|
||||||
$Field27 = $Field27 * 25.4 # Inches to mm
|
$Field27 = $Field27 * 25.4 # Inches to mm
|
||||||
[int]$Field28 = $Field28 / 0.0079 # Maybe good enough W/m2 to lux
|
[int]$Field28 = $Field28 / 0.0079 # Probably good enough W/m2 to lux
|
||||||
|
|
||||||
|
|
||||||
# Wind direction degrees to text
|
# Wind direction degrees to text
|
||||||
|
|||||||
Reference in New Issue
Block a user