stop charging with wireless controlled outlet + automation app (1)

English version below


Hallo,

heute rede ich untypischerweise mal über ein Projekt, bei welchem ich noch nicht über die Recherchephase hinaus bin und mich auch ein bisschen ratlos fühle. Gut, es geht hier diesmal um Hardware statt Software, da lädt man nicht einfach herunter und probiert aus, sondern man muss Geld in die Hand nehmen und kaufen.

Ich möchte eine fernsteuerbare Steckdose. Und zwar nicht irgendeine, sondern am besten mit Bluetooth, mindestens aber ohne Cloud-Pflicht. Da wird's schon etwas schwieriger. Mein Onkel hat mir ja geraten, bei AliExpress zu bestellen, aber da blicke ich nicht so ganz durch, wie ich dann z.B. den tatsächlich verbauten Chip herausfinde.

Hintergrund ist, dass ich es hasse, dass moderne Mobiltelefone zwar vom Akku-Controller her die Möglichkeit hätten, das Laden bei 80% abzubrechen (was die Langlebigkeit deutlich erhöht; siehe https://batteryuniversity.com/article/bu-808-how-to-prolong-lithium-based-batteries ), die neuen Pixel-Phones sogar ein Feature namens "Adaptive Charging" mitbringen, welches unter bestimmten Umständen, wie 96h Dauerladen oder Gaming diese Limitierung einschalten. Aber es gibt meiner Meinung nach eben keinen guten Grund, das nicht auch an den Endanwender zu exposen, außer eben aus Profitgier, weil die Akkus immer schwieriger zu tauschen werden!

Die Lösung, die mir neulich gekommen ist, würde bedeuten, dass ich eine Bluetooth-steuerbare Steckdose mit mir herumtrage. Und mein Handy schickt dann bei Akku>=80% den Befehl zum Ausschalten. So weit, so gut. Da wird dann auch klar, warum WiFi von Nachteil ist: Das Ganze soll natürlich auch in einer fremden Umgebung funktionieren, in der ich nicht ins WLAN kann oder will. Und immer Hotspot aufmachen ist naheliegenderweise auch doof.


Ich habe mehrere Vergleichsportale durchgeklickt; die dort gelisteten Bluetooth-Steckdosen sind sehr wenige, und dann auch immer mit proprietären Apps. Die beiden Open Source Firmware Projekte (Tasmota und ESPurna) habe ich nach unterstützten Modellen durchsucht, vergeblich. (Ist auch wirklich nicht so einfach, da in der "unterstützte Geräte"-Liste der beiden Projekte die Stecker nicht als bluetoothfähig gekennzeichnet sind).

Ein Outlet, über welches ich immer wieder stolpere, ist der LEDVANCE Smart+ Plug. Es gibt noch ein paar Andere, aber aufgrund der spärlichen Open Source-Lage bin ich ernsthaft am überlegen, so eine App zu reverse engineeren bzw. die Bluetooth-Pakete mitzuschneiden, so als etwas tieferes Bastelprojekt. Frei nach dem sehr interessanten Artikel https://www.torsten-traenkner.de/wissen/smarthome/heizung.php.

Jetzt meine Frage an Euch:

  • Fällt Euch dazu was ein?
  • Habt ihr Erfahrung mit Smart Home Hacking oder sogar speziell mit Bluetooth-Funkdosen?
  • Oder eine Anregung, wie sich die gewünschte Charging Control anders umsetzen lässt?

Vielen Dank und einen schönen Abend noch


English version


Hello,

today I'm untypically talking about a project, where I'm not yet beyond the research phase and also feel a bit helpless. Well, this time it's about hardware instead of software, so you don't just download and try it out, you have to spend money and buy it.

I want a remote-controlled socket. And not just any, but preferably with Bluetooth, but at least without a cloud requirement. That's where it gets a bit more difficult. My uncle advised me to order from AliExpress, but I can't quite figure out how to find out which chip is actually installed.

Background is that I hate that modern cell phones would have the possibility from the battery controller to stop charging at 80% (which significantly increases the longevity; see https://batteryuniversity.com/article/bu-808-how-to-prolong-lithium-based-batteries ), the new Pixel phones even bring a feature called "Adaptive Charging", which under certain circumstances, such as 96h continuous charging or gaming turn on this limitation. But in my opinion there is no good reason not to expose this to the end user, except for profit, because the batteries are getting harder and harder to replace!

The solution I came up with the other day would mean that I carry a Bluetooth-controllable power socket around with me. And my phone then sends the command to turn off at battery>=80%. So far, so good. Then it becomes clear why WiFi is a disadvantage: The whole thing should of course also work in a foreign environment where I can't or don't want to access the WLAN. And always opening a hotspot is obviously stupid, too.


I clicked through several comparison portals; the Bluetooth sockets listed there are very few, and then also always with proprietary apps. I searched the two open source firmware projects (Tasmota and ESPurna) for supported models, in vain. (It's also really not that easy, since in the "supported devices" list of both projects, the plugs are not marked as bluetooth enabled).

One outlet I keep stumbling across is the LEDVANCE Smart+ Plug. There are a few others, but due to the sparse open source situation, I'm seriously considering reverse engineering such an app, or rather cutting along the bluetooth packets, so as a slightly deeper tinkering project. Loosely based on the very interesting article https://www.torsten-traenkner.de/wissen/smarthome/heizung.php.

Now my question to you:

  • Can you think of anything?
  • Do you have experience with smart home hacking or even specifically with Bluetooth wireless sockets?
  • Or any suggestions on how to implement the desired charging control in a different way?

Thank you and have a nice evening

H2
H3
H4
3 columns
2 columns
1 column
Join the conversation now