[RELEASE] HD+ - Android Dashboard

I can support this - it doesn't work today though

1 Like

Hi @jpage4500, I was just logging in to give you some more data. Thanks for the update.
FYI, in case is matters, my phone has reported charging for a couple of days now with a few physical charging/not charging events. My wife's phone was reporting charging for a day or so but this morning, almost 2 hrs after disconnecting from the charger it updated to 'not charging'. So I would have to agree with you that charging info is not straightforward (at least today, anyway).

Thanks for looking into it.

That would be great to change the icon. Thanks again, Joe

version 1.0. 2212 (beta)

  • location tracking: fix charging status (android 6+)
  • only accept push messages when deviceID matches
  • android auto: fix bug when turning off tabs
  • allow changing icon for map tiles
  • fix crash for devices without location services
  • fix crash picking colors

Mostly minor changes in this release

done -- this should work for any of the following device types: Life360, My Location, Owntracks, HD+ Device -- basically the tiles that display a google map

should also be fixed as long as you have Android 6 or greater (which hopefully most have considering this is for location tracking feature so it's not for an old tablet)

4 Likes

Wow, great update @jpage4500 !

I wish all the people i deal with were just as responsive! Kudos

Note... Not in the HE family, everyone here has been great....in my day to day job, they could use some pointers.

1 Like

Really great work. Happy to change the icon away from the map for the location device. Really great update. You really rock, Joe.

The charging flag isn't still working for me. Android 14, Pixel 6. What is really meant with the 'p' variable in the JSON data. I just checked the status charging in the location device via HE and also via HD+ in the details of the location device.

Do I miss something?

@wecoyote5 Were you able to verify the charging status works as expected?

Thanks

Joe and i worked on the location stuff together and the p variable the identifier for charging (powered) in the response data that i use in the driver for charging status.

I dont have the new version installed yet so i don't know about the reporting. I'm not in a position to play with it right now.

Is there a way to exclude the phones from the battery monitor icon? My wife turns her location off when she gets home and her battery is low.. this means the battery monitor on my phone is always red and telling me that there are Hubitat devices low on battery when they are not. The result is that I just ignore it.. And that makes me sad. Did I explain that right?

1 Like

If it reports battery charging, I wonder if it's possible to report what type of charging?

Currently do this with tasker but if it could also state wireless charging etc that would be useful :+1:t2:.

yep, you can long-press the device and it should ask if you want to hide it from the list

1 Like

I read some more about this and yes I can detect wireless charging. Right now we just pass 1 or 0 so we'd have to change that a little.

Also, I never tested this earlier so I'll do that and make sure it's working next time (if it's not)

@jpage4500 unfortunately the charging flag isn't still working at all (location device). Could you please check this again. Please let me know in case I can help with log files.
Thanjs

hi all, I did get a chance to update HD+ this morning and so far after a couple tests the charging flag did change, although it does not appear to be an 'event'. i.e. It doesn't change right away but the next report, eventually, from the phone has been correct. Granted I only briefly tested (2 or 3 times) but it did change,

Side question: @jpage4500, when the phone is 100% and still on the charger do you know what it reports? It's technically 'not charging' anymore but still on a charger.

1 Like

Sounds interesting. Where did you check status? Phone? HE?

May I asked which Android Version you use?

Will try again but yesterday the charging status stated always the status "false".

Update: no luck. Charging status does not change. Battery percentage goes up but the status sticks with "false" :slightly_frowning_face:.

I have a Multi Attribute tile from tile builder that I have the phone info on. I just watch that and the HE logs to see when the reports are coming in. I can also see in the logs when the p value switches.

I'm on the latest security patch (01Oct23) of v13 on a Samsung S21.

And you're on HD+ v2212? That's the first version with the enhanced charging check.

HD+ version 1.0.2212
Pixel 6
Android 14
Security update: October 5, 2023

Did a restart of my phone but no luck.

If I recall correct, @jpage4500 uses a Pixel 7. Maybe it's different from phone to phone.

:frowning:

Let me know if any log files can help.

Update: BTW, the WiFi flag works fine.

Yea, there must be something quirky between manufacturers. I just put my phone back on the charger and it reports correctly. Took some time but it did report, and still is reporting, charging.

Note for @jpage4500, there was one packet that came through while the phone was charging with a p:0. No other distinguishing characteristics with the packet just the p value was 0, once.

Do you charge wireless or by wire? Because you wrote "....I just put my phone back on the charger......"

Wireless only, I don't think I've plugged my phone in for months. I'll dig out a cable and check when I get a moment. Maybe there's a difference.

1 Like

Checked the log files within HD+ and found the "p variable" which states always "0". Also tried wireless charging with same result.