Yesterday we demonstrated the new OpenAPI powered WeatherMap which leverages Google Maps during our CAPM OpenAPI Tech Series.
The App is now available via our CAPM GitHub Repository.
Prerequisites for this App are CAPM version 3.0 or greater. 3.1 is the preferred version as it allows the use of 2 enabling applications which simplify the process of defining the Geo-location data required for each device as well as the interface connectivity definitions leveraged by the WeatherMap.
Installation and configuration instructions can be found within the Case Study PDF included within the Application repository here.
Simplified configuration & installation instructions are as follows:
1. Download the WeatherMap, Device Geo-Location, and Interface Connection Apps
2. Deploy each App using the 3.1 App Deployment feature
3. Using the new 3.1 App View
a. Install the Device Geo-Location App into Device and/or Router Context page depending on your usage
b. Install the Interface Connection App into the Interface Context page
c. Install the WeatherMap into the desired Dashboard
4. Create a custom attribute on the interface item type to enable the connection mechanism called "ConnectsTo"
5. Create a group(s) with the Devices and Interfaces which comprise the items to display in the WeatherMap
6. For each Device within the group, use the Device Geo-Location App to define the longitude, latitude, and location description
7. For each interface within the group, use the Interface Connection App to specify the Device which logically connects to the interface's source device
8. Once the CAPC synchronization and OpenAPI ETL job complete, launch the Dashboard which contains the WeatherMap app and select the appropriate group in the Dashboard group selector.
The App includes several custom Map themes to tailor the viewing experience which can be modified within the App. Additional themes can be downloaded from: Snazzy Maps - Free Styles for Google Maps
Thresholds related to Device CPU and Interface Utilization can also be configured within the App to align with your business objectives. The App leverages D3 scale functions to define the ranges and predefined colors also defined in the App.
For issues, please submit to the GitHub repository or to this community post to ensure all questions, issues, ideas are scoped to this specific app.
This App implements the MIT license and is provided free of charge but no expressed warranty. Users are encourage to participate in the project on GitHub and to leverage and distribute in accordance with the MIT license within the App.