Assuming you have the HA app installed you can just use the sensor found under Settings, Companion App, Manage Sensors, Battery Sensors, Charger type.
I'm not sure how quickly it updates but give it a try.
Assuming you have the HA app installed you can just use the sensor found under Settings, Companion App, Manage Sensors, Battery Sensors, Charger type.
I'm not sure how quickly it updates but give it a try.
I would personally rather plug the charger into some power meter and detect when your phone is charging that way. You could also experiment with detecting the charging via Tasker.
excellent, do you know if tasker pics up specific wireless chargeres? I love what you're saying about HA, but one of the use cases I'm interested in is turning off my VPN when I set my phone in my cars wireless charger (one of the hardest spots for me to to de-google at the moment).
Where is the NFC sensor in the phone compared to the charger ring ? with any luck you can physically position the tag off the charging stand but still have it pickup. If not put it next to the charger, tap and use tasker or whatever to detect charging within a certain time, combined with the tag detection and send to HA. Tap again after charging to turn off.
It wouldn’t melt, but it would probably die if it’s between the charger and the phone. However, in the first few seconds, the changer and the phone communicate to figure out if they’re compatible, so maybe this process might prevent it from frying, but it’ll also prevent you from charging, most likely.
all 13 comments