<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/home-assistant-and-a-9-smart-plug-solved-the-biggest-issue-with-my-recycled-laptop-server-mvvssvmma" -->

---
title: Home Assistant and a $9 smart plug solved the biggest...
description: A hobbyist repurposed an old Acer Predator Helios 300 laptop into a Proxmox home server node, but faced battery wear issues since the battery couldn't be...
canonical: https://daily.dev/posts/home-assistant-and-a-9-smart-plug-solved-the-biggest-issue-with-my-recycled-laptop-server-mvvssvmma
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Home Assistant and a $9 smart plug solved the biggest issue with my recycled laptop server | daily.dev
og:description: A hobbyist repurposed an old Acer Predator Helios 300 laptop into a Proxmox home server node, but faced battery wear issues since the battery couldn't be...
og:url: https://daily.dev/posts/home-assistant-and-a-9-smart-plug-solved-the-biggest-issue-with-my-recycled-laptop-server-mvvssvmma
og:image: https://api.daily.dev/og/posts/mVVsSVmMA.png
og:image:alt: Home Assistant and a $9 smart plug solved the biggest issue with my recycled laptop server
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Home Assistant and a $9 smart plug solved the biggest issue with my recycled laptop server

**[XDA Developers](https://daily.dev/sources/xda-developers)** · 4 min read · 0 upvotes · 0 comments

## Summary

A hobbyist repurposed an old Acer Predator Helios 300 laptop into a Proxmox home server node, but faced battery wear issues since the battery couldn't be removed. The fix: Glances exports battery metrics to Home Assistant, which controls a $9 Tapo smart plug wired to the laptop's charger, turning power off at 80% battery and back on below 30% to reduce wear. The node also runs llama.cpp with small local models on its GTX 1060.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.xda-developers.com/home-assistant-and-a-smart-plug-solved-a-big-problem-with-my-laptop-server>

## Questions this post answers

### How can I stop my laptop's non-removable battery from degrading when it's used as an always-on home server?

Use a smart plug wired to the laptop's AC adapter, controlled by Home Assistant automations based on battery percentage. Glances exports battery statistics to Home Assistant via its built-in integration, letting you set trigger-action rules: turn the plug off once the battery reaches 80% and turn it back on when it drops below 30%, keeping the battery cycling in a safer range instead of staying constantly charged.

_daily.dev surfaces home lab automation approaches like this for anyone repurposing old hardware as a server._

### What monitoring tool exports battery statistics for use with Home Assistant automations?

Glances, a system monitoring tool distinct from the similarly named Glance, exports detailed metrics including battery readings to a locally hosted web page. Home Assistant has a built-in Glances integration, so those sensor readings can be pulled directly into automation rules without extra scripting or middleware.

_developers wiring system metrics into home automation setups can track tools like Glances on daily.dev._

## Similar posts on daily.dev

- [I turned a nearly 10-year-old laptop into the most useful machine in my home lab](https://daily.dev/posts/i-turned-a-nearly-10-year-old-laptop-into-the-most-useful-machine-in-my-home-lab-hwyooru4f) · XDA Developers · 1 upvotes · 0 comments
- [I almost threw away my old laptop and now It’s my most reliable home assistant server](https://daily.dev/posts/i-almost-threw-away-my-old-laptop-and-now-it-s-my-most-reliable-home-assistant-server-jztkouk6d) · XDA Developers · 2 upvotes · 0 comments
- [Old laptops make better Home Assistant servers than any smart home hub, and they cost nothing to deploy](https://daily.dev/posts/old-laptops-make-better-home-assistant-servers-than-any-smart-home-hub-and-they-cost-nothing-to-dep-v04du5711) · XDA Developers · 2 upvotes · 0 comments
- [I run a Microsoft 365 killer suite off my laptop, and it's good enough to replace my cloud subscriptions](https://daily.dev/posts/i-run-a-microsoft-365-killer-suite-off-my-laptop-and-it-s-good-enough-to-replace-my-cloud-subscript-ikbnwdbvm) · XDA Developers · 0 upvotes · 0 comments
- [My Coding Agents: Off My Laptop and Onto a Remote Server](https://daily.dev/posts/my-coding-agents-off-my-laptop-and-onto-a-remote-server-zxlgjxw5k) · Atomic Spin · 1 upvotes · 0 comments

---

Tags: [#automation](https://daily.dev/tags/automation), [#self-hosting](https://daily.dev/tags/self-hosting), [#homelab](https://daily.dev/tags/homelab), [#proxmox](https://daily.dev/tags/proxmox)

[View this post on daily.dev](https://daily.dev/posts/home-assistant-and-a-9-smart-plug-solved-the-biggest-issue-with-my-recycled-laptop-server-mvvssvmma)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Home Assistant and a $9 smart plug solved the biggest issue with my recycled laptop server","url":"https://daily.dev/posts/home-assistant-and-a-9-smart-plug-solved-the-biggest-issue-with-my-recycled-laptop-server-mvvssvmma","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/home-assistant-and-a-9-smart-plug-solved-the-biggest-issue-with-my-recycled-laptop-server-mvvssvmma"},"datePublished":"2026-08-26T18:32:17.814Z","dateModified":"2026-09-13T20:59:58.689Z","description":"A hobbyist repurposed an old Acer Predator Helios 300 laptop into a Proxmox home server node, but faced battery wear issues since the battery couldn't be...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/c7dd3327686427e41a640111b1d2ef98?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/c7dd3327686427e41a640111b1d2ef98?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"XDA Developers","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"XDA Developers","logo":"https://media.daily.dev/image/upload/s--kCg6yyAP--/f_auto,q_auto/v1774964407/logos/xda-developers?_a=BAMAMiWQ0","url":"https://daily.dev/sources/xda-developers"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/home-assistant-and-a-9-smart-plug-solved-the-biggest-issue-with-my-recycled-laptop-server-mvvssvmma","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"automation,self-hosting,homelab,proxmox","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"XDA Developers","item":"https://daily.dev/sources/xda-developers"},{"@type":"ListItem","position":3,"name":"Home Assistant and a $9 smart plug solved the biggest issue with my recycled laptop server"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/home-assistant-and-a-9-smart-plug-solved-the-biggest-issue-with-my-recycled-laptop-server-mvvssvmma#faq","mainEntity":[{"@type":"Question","name":"How can I stop my laptop's non-removable battery from degrading when it's used as an always-on home server?","acceptedAnswer":{"@type":"Answer","text":"Use a smart plug wired to the laptop's AC adapter, controlled by Home Assistant automations based on battery percentage. Glances exports battery statistics to Home Assistant via its built-in integration, letting you set trigger-action rules: turn the plug off once the battery reaches 80% and turn it back on when it drops below 30%, keeping the battery cycling in a safer range instead of staying constantly charged. daily.dev surfaces home lab automation approaches like this for anyone repurposing old hardware as a server."}},{"@type":"Question","name":"What monitoring tool exports battery statistics for use with Home Assistant automations?","acceptedAnswer":{"@type":"Answer","text":"Glances, a system monitoring tool distinct from the similarly named Glance, exports detailed metrics including battery readings to a locally hosted web page. Home Assistant has a built-in Glances integration, so those sensor readings can be pulled directly into automation rules without extra scripting or middleware. developers wiring system metrics into home automation setups can track tools like Glances on daily.dev."}}]}
```

