Smart charger (Sonoff wi-fi smart switch)

Everything about esp8266 and more.

Moderator: leecollings

Post Reply
choze55
Posts: 1
Joined: Thursday 12 October 2017 22:06
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Smart charger (Sonoff wi-fi smart switch)

Post by choze55 »

Hi there,

im totally new to this thing, so sorry in advance if my idea was already mentioned here.
Many people charge their phone during night which cause overcharging and shorten battery life. And that was my case. I bought Galaxy S7 year ago, charging it every night and ended up with damaged battery. My idea is about making todays smartphone chargers smart. I was thinking of using Sonoff smart wi-fi switch + MQTT. For example: in the evening you connect charger to your smartphone and let it charge your phone up to 90%. Then Sonoff powers off the charger to prevent it from overcharging. Early in the morning (lets say at the specific time or maybe an hour before preset alarm) charger comes on to fully charge the battery.
Hope you get that idea. :D
My question is, if it is possible to do that using Sonoff+Domoticz+smartphone.

Sorry if I placed it into wrong thread and thanks for your replies.
SweetPants

Re: Smart charger (Sonoff wi-fi smart switch)

Post by SweetPants »

Problem is, how do you know when your phone is charged to 90%?
CaesarPL
Posts: 104
Joined: Tuesday 08 November 2016 14:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Poland
Contact:

Re: Smart charger (Sonoff wi-fi smart switch)

Post by CaesarPL »

You can do it approximately. I do it for example in case of Roomba. I hate when the charger 'crackles' during charging. So first of all I run it only nightly for 8 hours. Whatever socket linked to Domoticz will do. No matter if it's 433MHz or e.g. Xiaomi.
HW:Raspberry PiB+,Pi3,PiB,RFLink,FA20RF,DCS-930L,DCS-935L,Clarus switches,RF Temp sensors,Owl Micro+,Mi Flora,Kerui,Yeelight,Xiaomi,Broadlink RMM3,Alexa
SF:Jessie,Dmtcz 3.8153,Logitech Media srv,PiCorePlayers,Dashticz,Max2Play,InfluxDB,Grafana,HABridge
miroslavpetrov
Posts: 33
Joined: Wednesday 03 February 2016 13:35
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Smart charger (Sonoff wi-fi smart switch)

Post by miroslavpetrov »

Please, read this article https://www.digitaltrends.com/mobile/ex ... s-battery/. The LiPo charging controller chip is smart enough. When the battery of the smartphone reaches a voltage of about 4.20V the charging controller stops charging the battery.
Automation Hardware:
Domoticz on Raspberry Pi 3 with HomeBridge.
Zigbee2MQTT + Xiaomi sensors
Fibaro HomeCenter 2 + Fibaro Dimmer2 & Double Switch2 + Aeon Multisensor 6 + Remotec ZXT-120
Eastron SDM230
Duci
Posts: 14
Joined: Friday 27 November 2015 10:15
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Smart charger (Sonoff wi-fi smart switch)

Post by Duci »

I was actually thinking about doing something like this with a Sonoff. Not because of overcharging (I think that is no issue any more) but because of the really faint but -at night- easily audible sound that the chargers make when not charging any more.

My thought for a solution is to use a Sonoff with ESPeasy, and have my phone send out a command to Domoticz via Tasker when the phone is full. When it empties during the night I can also switch it on again right before I need to wake up.
r3wt3d
Posts: 7
Joined: Friday 10 November 2017 4:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Smart charger (Sonoff wi-fi smart switch)

Post by r3wt3d »

Check General board for SonOff controlling without FW reflashing.
If you can get battery info(maybe iFTTT supports?) then you can do what you want I think.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest