The WU data is only updating if I go into the DH and hit the poll button. I have auto poll checked on and set to 10min.
The forecast doesnt seem to be following my custom coordinates, its somewhere else, maybe where my primary hub is. The long/Lat in the currents states isn't matching the custom input Long/Lat.
Uh yeah, WU have cracked down on some ppl without a PWS lately - try finding a weather station near you in WU and use that PWS ID. If that doesn't work, then you are out of luck, I'm afraid.
Thank you! That worked. I did not realize I could browse a map and see other station ID's. Selecting one close to me gave me the location in the fields which previously displayed "null". I consider this issue resolved.
Yep, I have the coordinate signs correct. Did some troubleshooting adding a few log.debug lines in the code.
The auto polling issue resolved by unchecking the 3-day and 7-day forecast buttons. My PWS WU data is not continuous day to day because power goes out sometimes. Maybe that is messing it up with a Null object.
When enabling Custom coordinates the "polllatitude" and "polllongitude" are throwing Null values, so something is broke here. If disabled they fine but show local hub location as expected, not where the PWS is. So forecast is messed up. Might have to do with Data types?
Temperature is an integer but I couldnt find anywhere in the code where its gets rounded, Im assuming WU sends it this way which is annoying.
Okay, one more question. And again, thank you for all the hard work obviously put into this app.
So, when I add the sunriseTimeLocal and/or the sunsetTimeLocal tile... I am getting back the unformatted server time. However, the time formatting does work correctly in the 3-day forecast tile.
Is anyone else getting this error in the logs? This error happens daily, for me:
dev:2292023-03-09 06:06:10.409 AMerrororg.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'null' with class 'null' to class 'int'. Try 'java.lang.Integer' instead on line 1037 (method poll)
dev:2292023-03-09 12:00:00.108 AMerrororg.codehaus.groovy.runtime.metaclass.MissingMethodExceptionNoStack: No signature of method: user_driver_dJOS_Wunderground_Driver_711.resetPollCount() is applicable for argument types: () values: [] (method resetPollCount)
It mentions line 1037, so it seems to have to do with the HTML Tiles Logic and specifically Rain History.
The first issue is because the code is not getting rain values. Is the weather station being used show rain values? Do you get the 1st error more than once a day?
The second error is from older routines still trying to run at midnight. To resolve this, on the device page hit the Clear State button, wait a couple of seconds and then scroll down and hit the Save Preference button. Hitting the Save Preference button may even fix the 1st error if you are seeing rain values from the weather station.
Let us know how it goes. @dJOS and I monitor this thread to provide support.
Hello, I'm new to HE, I'm moving over from STs. I have everything working and found your cool app. I've installed it from the package and can't get it to return data from a poll. I entered my station ID and API from my WU "member settings" "devices" page. My station is online and sending data. Do I perhaps need a new API? Can you have two or more APIs?
Here is my log:
[warn] WU weather api did not return data from poll1 - 401
[dev:58] formatLanguage = en-US
[dev:58] formatUnit = e
[dev:58] longitude: -80.731000
[dev:58] latitude: 39.914800
[dev:58] WU: Poll called
[dev:58] WU Driver State Cleared.
[dev:58] java.lang.StringIndexOutOfBoundsException: String index out of range: -1 on line 898 (method poll)
[dev:58] DegreeSign = °F