I have a LaCrosse weather station here. It has it’s cloud accessible app. (La Crosse View)
Will this work with it ?
I'm getting this on poll
java.lang.NullPointerException: Cannot invoke method toInteger() on null object on line 472 (pollDSHandler)
Thanks for your patience.
Posted V1.0.1 - Bug fixes:
- Corrected the Metric <--> Imperial conversions.
- Corrected/applied default values for the 'NearestStorm' attributes. These seem to be oddly populated and not consistent with one another. (e.g. Bearing will show, but there is no distance .... then distance will show but there is no bearing ???) I applied a default bearing of zero; a default cardinal direction of 'U' (for unknown); and a default distance of '9999'.
Let me know what else you find and I will correct as quicky as I can.
Trust me, you've no need to worry about our patience. (From me anyway).
You are doing us all a favour.
EDIT: Sorted the conversion issue.
No. This driver pulls all data from DarkSky.net. It will not interact with your weather station.
If you use Weather-Display software with your weather station you can use this:
Still getting the same error I posted here:
Ok, thank you so much for your reply.
I moved one line of code just now. Recopy and let me know if you still get the error. If you do, turn OFF the 'nearestStormBearing' selection and let me know if that prevents the error.
Error is still persisting regardless of "nearestStormBearing" setting.
I'm getting this each time I try to poll data:
groovy.lang.MissingMethodException: No signature of method: user_driver_Matthew_DarkSky_net_Weather_Driver_622.updateDataValue() is applicable for argument types: (java.lang.String, java.math.BigDecimal) values: [wind, 17.2] on line 234 (pollDSHandler)
GREAT driver BTW!
Thank you very much for creating this driver.
Bug on line 234 squashed. Recopy code and try again. Report back.
@halfrican.ak made another change to try to prevent this error. Try again. Report back.
One down, another one to go:
Getting this now:
groovy.lang.MissingMethodException: No signature of method: user_driver_Matthew_DarkSky_net_Weather_Driver_622.updateDataValue() is applicable for argument types: (java.lang.String, java.math.BigDecimal) values: [nearestStormDistance, 78.9] on line 315 (pollDSHandler)
Squashed. re-copy. Try again. report back.
sorry to say, same error as before NPE on line 472
Looks good for me now
Again, superb job!
One last try. I grouped all the 'nearestStorm' attributes to one setting and tweaked some other items that may have been the issue. I hope this does it. If it does not .... I am probabaly going to just pull all the 'nearestStorm' attributes for now. Let me know. Thanks for your testing.
Re-copy code, try again, report back.
Errors are now gone, thanks!
Excellent .... thanks for your patience and testing.