blob: 62d88408c9c7f4ad76c845ca0929ff44713e6a34 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# TPLink Monitor
A web based monitoring dashboard displaying energy usage data and statistics for TP-Link HS110 smart plugs.
Written in Node.js + Express.
<p align="center">
<img alt="Screenshot" src="https://james-barnett.net/files/tplink-monitor/screenshots/em-res.png">
</p>
# Features
- Automatically scans for TP-Link smart plug devices on your local network on server start.
- Realtime current, voltage, power readings.
- Recent power usage trend chart.
- Plug on/off state and uptime.
- Daily & montly energy usage totals and averages.
- Historical daily and monthly energy usage charts.
# Installation
Prepacked releases comming soon.
For now:
```sh
$ git clone https://github.com/jamesbarnett91/tplink-monitor && cd tplink-monitor
$ npm install
$ npm start
```
# TODOs
- [x] Show historical data
- [ ] Switch to websockets
- [ ] Rescan for devices on the fly
- [ ] Build dists
- [ ] Docker image
- [ ] Support switching between multiple plugs
|