Bloomsky Weather Station

Thanks. I added that to the code. The new app still says it can’t connect to the device. Maybe it takes a while to show up properly?

go to edit the device in the IDE and click update. then force close the new app and re-open it. you can also try editing the color of the device in the new app. that’s triggered a refresh for me, too.

Thanks. That worked. It’s just not showing all the other readings like UV and humidity. Not that I actually ever use them.

Yeah, it just gets the things you would see on a moisture sensor. Better then nothing and at least let’s you use those attributes in the custom automation creator in the new app.

1 Like

Without checking, it should show lux, unless that’s lost in the new app modifications.

it lost that in the new app because the VID doesn’t support LUX. it’s not really “lost”, just not displayed.

1 Like

Okay, I use it in Action Tiles and as trigger for exterior lights.

For the last couple of weeks, I’ve been getting 0 battery levels from the BS API, even though the official BS app reports the battery is fine (has a charge) … anyone else seeing this?

2 Likes

I’ve been having the same issue.

1 Like

@swamplynx … Check your DeviceHander to see if codes that calculate voltage of battery, look like below

    def pct = (miliVolts - minVolts) / (maxVolts - minVolts)
        result = Math.min(100, (int) pct * 100)

If yes, change it like below. This fix for mine. Or just put the close bracket for pct * 100

def pct = ((miliVolts - minVolts) / (maxVolts - minVolts) * 100)
        result = Math.min(100, (int) pct)
5 Likes

Awesome. Thanks for the fix. @tslagle13 maybe you can apply the fix to the github repo when you get a chance.

Same issue, I have been getting a 0% error for about a week. I tried this fix but get the following error upon saving…

org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
script_dth_metadata_0db5aa6c_0f56_45e6_bdf8_26ff598a1aef: 513: expecting '}', found ')' @ line 513, column 75.
/ (maxVolts - minVolts) * 100)
^

@mikecoscia … It looks like you did not have correct open and close parenthesis. Please double check it

1 Like

Fixed, thanks!

Hey guys, I just tried installing the bloomsky app, and when I setup the app it doesnt create the device. this is the error im getting

Error: groovy.lang.MissingMethodException: No signature of method: java.util.ArrayList.collectAll() is applicable for argument types: (script_app_b82d826c9176fe7ac5fac2af94cce9e55a383bde535c754fb3049abcedb5a8a1$_getBloomskyIds_closure3$_closure10) values: [script_app_b82d826c9176fe7ac5fac2af94cce9e55a383bde535c754fb3049abcedb5a8a1$_getBloomskyIds_closure3$_closure10@47bb7ee1]
Possible solutions: collect(), collect(), collect(groovy.lang.Closure), collect(groovy.lang.Closure), collectMany(groovy.lang.Closure), collect(java.util.Collection, groovy.lang.Closure)

1 Like

I want to know how to fix the same error

Does anyone have the answer to our issue? I’m still running into the same error code. It appears the Child App wont create

I’m also getting the same error as the two posts above me. Please help. I bought the bloomsky specifically because it connected to smartthings, but the DTH and smartapp don’t seem to be working anymore.

The error is:
debug Error: groovy.lang.MissingMethodException: No signature of method: java.util.ArrayList.collectAll() is applicable for argument types: (script_app_b82d826c9176fe7ac5fac2af94cce9e55a383bde535c754fb3049abcedb5a8a1$_getBloomskyIds_closure3$_closure10) values: [script_app_b82d826c9176fe7ac5fac2af94cce9e55a383bde535c754fb3049abcedb5a8a1$_getBloomskyIds_closure3$_closure10@421062a8]
Possible solutions: collect(), collect(), collect(groovy.lang.Closure), collect(groovy.lang.Closure), collectMany(groovy.lang.Closure), collect(java.util.Collection, groovy.lang.Closure)

Does anyone have a fix? Does the DEV have a fix?

Just bought the bloomsky and I have the same error. :frowning:

Everyone who is getting the error when trying to connect for the first time………. with the help of smartthings member dchau11, I was able to fix the code and now it works fine.

Log into your IDE
Go to “my smartapps”
Click on the “bloomsky (connect)” app
Scroll down to line 100
Change: collectAll{it.DeviceID} to collect{it.DeviceID}
Save, publish
Load BloomSky smartapp in smartthings, enjoy.

Just have to remove the All on the collect command.

8 Likes