KurtSanders / STAmbientWeather

Hubitat Integration for Ambient Weather Station
Apache License 2.0
40 stars 79 forks source link

java.lang.NullPointerException #2

Closed jeffp1105 closed 5 years ago

jeffp1105 commented 5 years ago

I'm having the same issue as ThePunish3r was on android. I get a java.lang.NullPointerException but can't figure out from what line of code.

I understand you don't have Android, but am willing to try things out on my end if you have suggestions. Attached is a log file with all logging turned on. screen shot 2018-11-20 at 10 22 45 pm

KurtSanders commented 5 years ago

I revised the program logic to verify that Last Rain Date data was being supplied by the Ambient Weather API. Selected Ambient weather stations may not provide this expected data, and therefore if the weather station does not, it is replaced with a value of 'N/A'.

Please update the Ambient SmartApp to latest V1.06 release!

Let me know if this corrects your specific error reported above.

jeffp1105 commented 5 years ago

Hi Kurt,

The java error is now gone and the temperature now appears on the device list. No other errors in live logging. However, the tile still errors out on my android SmartThings Classic app. I'm not a Smartthings guru so not sure where to look for errors in the actual tile rendering. I've attached phone screen shots. Not sure where to head next.

Thanks again, Jeff screenshot_20181121-085101_smartthings screenshot_20181121-085110_smartthings screenshot_20181121-085123_smartthings

KurtSanders commented 5 years ago

I think I will have to work on a separate version compatible with Android o/s which will involve a new Smart App and companion DTH. This single DTH version has a extensive preference section which I think is incompatible with the Android ST client (which is not my fault...)

jeffp1105 commented 5 years ago

Thanks for the update. Completely understand. The current version is great for use with IFTTT because it lets me grab all the miscellaneous parameters from Ambient that are not readily . For me, the tile was a nice-to-have.

Thanks for the hard work on this. Jeff

Jeff Posner 2938 Casalon Circle Superior, CO 80027 Home: 703-929-3736 Work: 202-794-4366

On Wed, Nov 21, 2018 at 9:29 AM Kurt Sanders notifications@github.com wrote:

I think I will have to work on a separate version compatible with Android o/s which will involve a new Smart App and companion DTH. This single DTH version has a extensive preference section which I think is incompatible with the Android ST client (which is not my fault...)

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/KurtSanders/STAmbientWeather/issues/2#issuecomment-440728291, or mute the thread https://github.com/notifications/unsubscribe-auth/AqnUPfHasVr0jGI_3gn7jFagBcfQz8tRks5uxX9egaJpZM4Yscbk .

KurtSanders commented 5 years ago

Dear Jeff,

I have a V2 version of Ambient Weather Reporter V2 for you to test on your Android device. It requires a SmartApp Service Manager and the new V2 Device Handler. I have the updated readme in the BETA branch and would like you to test to see if it works and displays.

It can be installed along side of your V1 tile, so do NOT delete your working V1 device handler until we get this fully tested.

Here is the link to the beta branch and detailed instructions.

https://github.com/KurtSanders/STAmbientWeather/tree/beta https://github.com/KurtSanders/STAmbientWeather/tree/beta

¸¸.•¨´¨) ¸.•´¸.•´¨) ¸.•*¨) (¸.•´ (¸.•` ¤

Kurt Sanders 2485 Ridge Road Xenia, Ohio 45385 +1937-723-0010

On Nov 21, 2018, at 11:58 AM, jeffp1105 notifications@github.com wrote:

Thanks for the update. Completely understand. The current version is great for use with IFTTT because it lets me grab all the miscellaneous parameters from Ambient that are not readily . For me, the tile was a nice-to-have.

Thanks for the hard work on this. Jeff

Jeff Posner 2938 Casalon Circle Superior, CO 80027 Home: 703-929-3736 Work: 202-794-4366

On Wed, Nov 21, 2018 at 9:29 AM Kurt Sanders notifications@github.com wrote:

I think I will have to work on a separate version compatible with Android o/s which will involve a new Smart App and companion DTH. This single DTH version has a extensive preference section which I think is incompatible with the Android ST client (which is not my fault...)

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/KurtSanders/STAmbientWeather/issues/2#issuecomment-440728291, or mute the thread https://github.com/notifications/unsubscribe-auth/AqnUPfHasVr0jGI_3gn7jFagBcfQz8tRks5uxX9egaJpZM4Yscbk .

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/KurtSanders/STAmbientWeather/issues/2#issuecomment-440738351, or mute the thread https://github.com/notifications/unsubscribe-auth/ALkkulbKvo6HTslfzxBf9KK7RfqPlBfhks5uxYY2gaJpZM4Yscbk.