[UPDATED] - Average All (Temperature, Humidity, Illuminance, Ambient Pressure & Motion)

New Parent: 1.0.2
New Child V1.5.2

Revised auto update checking and added a manual update check button.

All my apps 'phone home' once a week (Friday 9.00am) to check if there are any updates available and let you know if there are.

I have revised that way that this happens and also added a 'Check For Update' button in the app so you can manually check anytime.

Unfortunately, the way the code is done, it now means after updating to these versions you will need to open each app (including the parent) and click 'Done' to reset the update button.

This is what it looks like before hitting done:

null

And after hitting done and reopening, it should look like this...

update

As always, please let me know if there are any issues.

Thanks guys.

Andy

Continuing the discussion from Hub Update 1.1.5:

Marginally related: I see that this includes a fix for the apparent bug in Zone Motion Manager releated to aggregate motion sensors, which I wasn't sure if was a bug or me just not knowing how to use it. The Cobra app with "average motion" is a bit easier to use for this purpose in any case, in my opinion, but glad to know I wasn't just crazy. :slight_smile:

1 Like

Guys
It seems that since the latest update this app does not function as it should
Iā€™m sorry, Iā€™m away from my PC at the moment but will have a look as soon as I return.

@bravenel
Sabotage!!! :slight_smile:

Andy

1 Like

Oh Andy, we would never stoop so low, even for you!

3 Likes

Guys,
After the latest hotfix, it seems if you open each child and save them again then things start working again.

(At least mine did)

Andy

This app has now also been added to 'Cobra Apps'

Andy

Hi Andy.
Just looking at my logs today, looking for something else, and spotted this in your average all app.
This is for lux measurement. The app is working like a dream but just thought I would let you know.
Thanks again for your great apps.

For once, that is a nice clear error message.

What version of the 'average all device' driver are you using?

Andy

Average All.
V1. 1.0.
Average All Child.
V1.5.3.
I have enabled pushover notification for updates and pressed the check for update button. No updates available.
Cheers
Bob

Latest driver is 1.3.0
Latest app is 1.5.3

Itā€™s the driver that is the problem :slight_smile:

Andy

Hi Andy.
I misread your question above.
The driver I'm using is the latest. V1.3.0.

Iā€™ll check the driver code.
It may be I didnā€™t add that bit to the lux section.

Andy

Hi Andy.
Have you had a chance to look at this yet?
Thanks.
Bob.

Bob
I haven't
Completely forgot!
I'll have a quick look now.

Andy

1 Like

Version: 1.3.1 just uploaded with (hopefully) the if applied
Have a try and let me know how you get on.

Andy

Oh dear. It's big apology time.
I updated and was still seeing the same error.
Strangely I was only seeing it on only one of my Virtual Lux Sensors and not the other.
Further investigation showed that I was using you old original driver. :blush:
Updated and now its OK.
Sorry about that but I was convinced I'd changed it.
Once again. Sorry......... :face_with_head_bandage:

No probs.. the code needed cleaning up anyway :slight_smile:

So long as it works for you now.

Andy

Updated driver to V1.3.2

Fixed issue with temp unit selection & LastDevice

Andy

1 Like

Hey @Cobra I got this updated but I'm still seeing this in my logs for the device:

2018-11-15 11:22:47.627 am errorgroovy.lang.MissingMethodException: No signature of method: dev15423023220091490990862.lastDeviceHumidity() is applicable for argument types: (org.codehaus.groovy.runtime.GStringImpl) values: [Environment Sensor EX - Office] Possible solutions: lastDeviceHumid(java.lang.Object) (lastDeviceHumidity)

Device in question is one of @iharyadi's sensor boards. Average temp and humidity still appear to be working.

There is a typo on line 124 of the driver
def lastDeviceHumid(dev2)

Should be

def lastDeviceHumidity(dev2)

JUST that entry, further entries are ok

Iā€™ll post an updated ver tomorrow

Andy

1 Like