fortrezz / smartthings

22 stars 80 forks source link

java.lang.NullPointerException: Cannot invoke method multiply() on null object @line 169 (configure) #2

Open jwilleke opened 6 years ago

jwilleke commented 6 years ago

Receiving this error when selecting configure from Android Smartthings Mobile App: java.lang.NullPointerException: Cannot invoke method multiply() on null object @line 169 (configure)

dantheman2865 commented 6 years ago

Hi @jwilleke, which file is giving you the problem? Is it a device type handler or a smartapp?

jwilleke commented 6 years ago

Thanks for the response.

I have installed the https://github.com/fortrezz/smartthings/tree/master/mimolite device driver.

Added it to the device at: https://graph.api.smartthings.com/device/list

Then when I use the Android Smartthings Mobile App and select the device and select the configure Icon, it does nothing.

In the https://graph.api.smartthings.com/ide/logs, I see the java.lang.NullPointerException: Cannot invoke method multiply() on null object @line 169 (configure)

-jim

kodebearkc commented 5 years ago

DanTheMan2865, Would it be possible to add a Yearly Goal and or tracking to the SmartApp? We have Daily, Weekly and 4 weeks but it would be ideal for me if we had a Yearly consumption goal. Or even a 6 month Consumption Goal. The main reason i bought and installed the FortrezZ water meter was to track my usage against some water filters and Softener Cartridges i have in place. And I need to track my water use against their expected life span. Lets say that's 40,000 Gal of water. If i only have as far out as 4 weeks that makes that comparison hard. If i had the ability to track a year's worth then it would be much easier.

Would it be possible to add a 6 month and or yearly tracking to this SmartApp?