The WSI reader and associated API have become obsolete and no longer supported. The newerThe Weather Company Reader replaces it.
To transition from using the old WSI to the new TWC you need to:
Get an updated API key from: “The Weather Company, an IBM Business”
email them at TWCDigitalSupport@us.ibm.com
Confirm all your WSI locations have latitude and longitude values assigned by viewing the location list in the WSI Reader 3.x or greater. See below for details…
Download and install the latest TWC Reader while the WSI reader continues on
Add some test locations in the TWC reader – that won’t affect your existing weather uses
Map the TWC API icons to your existing icons in Flow
See below for details…
Confirm data is available and looks good
Test the output in a test show if you can
Switch all existing WSI locations to be updated by the TWC reader
See below for details…
Shut down the WSI reader
it has nothing to do now anyway since we just gave all its locations to TWC
Confirm WSI Locations have Latitude and Longitude
Confirm all your WSI locations have latitude and longitude values assigned by viewing the location list in the WSI Reader 3.x or greater.
Map The TWC Icons to your Icon Set
Using the Weather - Configuration - Codes module
Select the TWC - The Weather Company
Data Source
Select your existing
Weather Set
(assuming you’ll continue to use your existing weather icons)Assign a
Weather Type Icon
to eachSource Icon Code
in the Import Code Grid
Switch WSI Locations to TWC Reader
Use the following MySQL code to easily switch the locations over
SET NAMES 'utf8mb4' COLLATE 'utf8mb4_unicode_ci'; -- look at the data_source table for confimation we are grabbing the correct ID values SET @WsiAppID = 'FE73EA94-0166-4DCC-B272-2AE3B58CD9F9' , @TwcAppID = 'DC8E9FD3-21A0-4403-BC7B-A0F1016BBBF3'; SELECT * FROM `data_source` WHERE `app_guid` = @WsiAppID UNION SELECT * FROM `data_source` WHERE `app_guid` = @TwcAppID; -- get the sourceID values for WSI and TWC readers SET @WSIID = 0, @TWCID = 0; SELECT `ID` INTO @WSIID FROM `data_source` WHERE `app_guid` = @WsiAppID; SELECT `ID` INTO @TWCID FROM `data_source` WHERE `app_guid` = @TwcAppID; SELECT @WSIID, @TWCID; -- optional - check for code translations for TWC - should be 48 total (0 - 47) SELECT `iconCode`, `weatherId`, `shortText` FROM `weather_wsi_codes` WHERE `sourceID` = @TWCID; /* switch the locations from WSI to TWC reader update wsi_city set sourceID = @TWCID WHERE sourceID = @WSIID ; update weather_city set sourceID = @TWCID WHERE sourceID = @WSIID ; */