https://github.com/brahmlower/fluffy-sniffle
A web interface for changing the power state of a TPLink HS105 smart plug
https://github.com/brahmlower/fluffy-sniffle
Last synced: 12 months ago
JSON representation
A web interface for changing the power state of a TPLink HS105 smart plug
- Host: GitHub
- URL: https://github.com/brahmlower/fluffy-sniffle
- Owner: brahmlower
- Created: 2017-04-26T09:13:29.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-26T09:42:25.000Z (over 9 years ago)
- Last Synced: 2025-06-28T01:05:18.091Z (about 1 year ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fluffy-sniffle
A web interface for changing the power state of a TPLink HS105 smart plug
## Background and inpiration
This project is inspired by people who have made their christmas lights controllable via web interfaces, and viewable via webcam. Connecting a web interface to the API for the smart plug is effectively the same. Since this all just reinvents the wheel, this is meant to be more of a learning project than anything else. Learning/experience goals are as follows:
- More react experience (use [component state](https://facebook.github.io/react/docs/state-and-lifecycle.html))
- Build experience with [declarative programming](https://www.youtube.com/watch?v=yGh0bjzj4IQ)
- Better unit test development (properly mock objects!)
## Getting started
It's all pretty simple at the moment:
```
virtualenv venv
source venv/bin/activate
pip install Flask pyHS100
python app.py
```