Open Weather Map Setup


#1

I’m trying to setup Open Weather Map, but I am clearly doing something wrong.

I have my key and can successfully query the open weather map api…

image

I have entered the key into webcore on Hubitat…

image

I have the 3.0 API

image

I wrote this tiny piston just to see if I am getting data and nothing is coming across.
image

Yes, I know that there are no triggers. I’m just running it using test.

Here are the logs…

image

image

So, what stupid step have I missed?


#2

Seeing this…


#3

I’m not sure you want the , in the latitude

Also, you may want different units (metric, or imperial)?


#4

Thanks for your reply and offer to help.

I’ve now come across this problem twice–once on my retiring C7 and again on my new C8.

Correct. I caught that but it still did not address the issue.

These are the steps that I took in case anyone is having the same issue.

  1. Ensure that you have a “paid” subscription on open weather map.
  2. Ensure that your latitude, longitude, API type, and key are entered correctly in the WebCore settings on Hubitat>Apps>Webcore>Settings
  3. In the Hubitat UI, Go to Apps> WebCore>WebCore Storage
  4. Click “Dump weather structure”
  5. If the result is showing results (lat, long, name…), the remaining steps will not fix your issue. It is likely something with your piston.
  6. If the result doesn’t have actual weather results, delete the “WebCore Storage” App.
  7. Once the App is deleted, reboot your hub–the WebCore Storage App will reappear and when you follow steps, 3-5 above, you will have results.