kakopappa / sinric

Amazon Alexa Smart home skill / Google Home Action for ESP8266 / ESP32 / Arduino
https://sinric.com
285 stars 166 forks source link

battery full turn off charger #419

Closed harymk closed 3 years ago

harymk commented 4 years ago

kakopappa how to set when battery fully charged turn of charger power android any idea

kakopappa commented 4 years ago

sorry about the late response.

  1. Create a BroadcastReceiver and listen to Intent.ACTION_BATTERY_CHANGED https://developer.android.com/training/monitoring-device-state/battery-monitoring

  2. Send the turn off command to ESP module. https://github.com/kakopappa/sinric/wiki

harymk commented 4 years ago

I don't understand

kakopappa commented 4 years ago

I think you can use IFTTT for this

On Fri, 29 May 2020 at 11:09 PM harymk notifications@github.com wrote:

I don't understand

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/kakopappa/sinric/issues/419#issuecomment-636056226, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZAZZWEHJ25QSRAGQB3EMLRT7M2BANCNFSM4NEIHHGA .

harymk commented 4 years ago

I checked ifttt there is no option for battery Fully charged