Article Comments
Hello Daniel,
we appreciate your contact.
Please have a look in the following PRTG program directory:
| C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\rest\ |
You'll locate a file called wunderground.template, which is the one used for that blog post. The first lines of the file (it's a JSON template file, which can be opened with any text editor) will tell you how to use the file:
| Device | api.wunderground.com |
| Query | /api/<API-KEY>/conditions/q/pws:<STATION-ID>.json |
| Comments | You need a custom api key from weather underground to access the api. Documentation and a free developer key can be found on https://www.wunderground.com/weather/api/ |
Deploying the sensor:
Essentially, this is what you need to get the sensor working. Create a new device with any name and the following address: api.wunderground.com
Head to the website and sign up, create an account, and note your <API-KEY> and <STATION-ID>.
Now in PRTG, deploy a new Rest Custom sensor. You'll need to update the following settings accordingly:
| Query | /api/<API-KEY>/conditions/q/pws:<STATION-ID>.json |
| Rest Configuration | wunderground.template |
Note the limit of daily requests for your free account and adjust the sensor's scanning interval accordingly. The sensor will display the weather information based on what the Weather API reports.
Best Regards,
Luciano Lingnau [Paessler Support]
Sep, 2017 - Permalink
Thanks very much Luciano; all up and running now!
Nice feature.
Sep, 2017 - Permalink
Does this still work? Having issues getting it to connect to ours.
Thanks!
Nov, 2022 - Permalink
Hi David,
Thanks for contacting us.
- What version of PRTG are you currently running?
- Which sensor are you using for REST is it REST Custom or REST Custom v2?
If you have issues with REST Custom V2 sensor would be good to address this issue via a ticket. You can submit one using the email support@paessler.com
Kind regards,
Miguel Aikens
Nov, 2022 - Permalink
HI Miguel,
Thanks for the response. We are using version 22.3.79.2108. I just activated the Beta Sensor to get access to the Rest V2 sensor, the required fields with the V2 sensor don't seem to line up with the information above. It also on the V2, it does not seem to give us access to select the weather underground template. Let me know if there are any other suggestions, otherwise I will open a ticket for further review with support.
Nov, 2022 - Permalink
Hi David,
This guide doesnt apply to the REST custom v2 sensor, only to the REST custom sensor If you select that one it will allow you to use the wunderground template.
Dec, 2022 - Permalink
Hello Daniel,
we appreciate your contact.
Please have a look in the following PRTG program directory:
You'll locate a file called wunderground.template, which is the one used for that blog post. The first lines of the file (it's a JSON template file, which can be opened with any text editor) will tell you how to use the file:
Deploying the sensor:
Essentially, this is what you need to get the sensor working. Create a new device with any name and the following address: api.wunderground.com
Head to the website and sign up, create an account, and note your <API-KEY> and <STATION-ID>.
Now in PRTG, deploy a new Rest Custom sensor. You'll need to update the following settings accordingly:
Note the limit of daily requests for your free account and adjust the sensor's scanning interval accordingly. The sensor will display the weather information based on what the Weather API reports.
Best Regards,
Luciano Lingnau [Paessler Support]
Sep, 2017 - Permalink