Author Topic: Feature Request - Change to battery level indicator  (Read 307 times)

Offline JohnGiddings

  • Newbie
  • *
  • Posts: 17
  • Karma: +1/-0
Feature Request - Change to battery level indicator
« on: November 04, 2018, 03:54:39 am »
Hi

I know this isn't what the app was designed for, however I am using the iPhone locator to track battery levels on my Apple Devices.

When a device is fully charged, it is announced on Sonos and a push notification is sent to the other devices.

This is a good way of being advised when an Apple Watch, iPhone or iPad is fully charged so it can be unplugged from the wall, to save energy.

The same happens when a battery goes below 20% to remind us to charge a device.

The iPhone locator displays the battery level of the device, but only when the position of a device on that apple account changes, therefore it mostly shows 0%. Is it possible to always show the battery level? If the device isn?t detected, could the previous battery level would be displayed instead of 0%.

Thanks

John

Offline Don Phillips

  • Hero Member
  • *****
  • Posts: 1442
  • Karma: +39/-36
Re: Feature Request - Change to battery level indicator
« Reply #1 on: November 12, 2018, 07:02:52 pm »
Using PLEG, I have harvested the battery level from the plug-in. Have you thought of using PLEG or Reactor to trigger the notifications you are looking for?
Vera 3, 1.7.1030, CT101, Everspring motion sensor, GE/Jasco switch, Leviton outlet, AeonLabs sensor, NuTone garage door, Blue Iris, Sricam SP011, iPhone locator, APCUPSD, VeraMate, VeraAlerts, PLEG, House Modes, Countdown Timer, DVR, Virtual/Multi Switch, Weatherunderground, LB60Z-1 bulb, Hue, Alexa

Offline rafale77

  • Community Beta
  • Hero Member
  • ******
  • Posts: 1665
  • Karma: +89/-27
  • HA ≠ IoT as a blue sky is cloudless.
Re: Feature Request - Change to battery level indicator
« Reply #2 on: November 13, 2018, 04:45:30 am »
I am not observing this at all. PLEG won?t help. It is irrelevant. It is about icloud updating the battery level and mine gets updated at every location update regardless of whether the location changed so I am not sure what the OP is talking about. I have a TTS submitted when my battery level is low using a variable watch on the battery level.
openLuup (99 devices, 143 scenes, 21 apps) master to VeraPlus (141 zwave nodes, 8 Zigbee nodes, 220 devices,  20 scenes , 2 apps) + Home-Assistant (Integrations). Bridged to Siri and Alexa. Homewave. VeraPlus ExtRooted and modified to run without mios servers.

Offline JohnGiddings

  • Newbie
  • *
  • Posts: 17
  • Karma: +1/-0
Re: Feature Request - Change to battery level indicator
« Reply #3 on: November 17, 2018, 03:26:38 am »
For me, the battery indicator nearly always shows 0% unless a device has significant movement.

Is anyone else getting this?

see screenshot

Offline amg0

  • Moderator
  • Master Member
  • *****
  • Posts: 3164
  • Karma: +209/-8
Re: Feature Request - Change to battery level indicator
« Reply #4 on: November 17, 2018, 03:49:28 am »
For me, the battery indicator nearly always shows 0% unless a device has significant movement.

Is anyone else getting this?

see screenshot

Battery level should not be 0 unless there is pb with iCloud communication or some other problems hidden. maybe enable DEBUG mode on iPhoneLocator, reload luup, capture the log for a while and send them to me so I have a look

Offline JohnGiddings

  • Newbie
  • *
  • Posts: 17
  • Karma: +1/-0
Re: Feature Request - Change to battery level indicator
« Reply #5 on: November 18, 2018, 07:19:14 am »
Thanks amg0

Private message sent