You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 21, 2024. It is now read-only.
HomeWizard Lite Proxy API, built for integrating cheap HomeWizard Lite smartplugs into [Home Assistant](https://www.home-assistant.io/) for example, freeing the user from the dreadful HWL Android or iOS app.
The API should be deployed on a local network, because it has no built-in authentication. It is always possible to protect the API with HTTP Basic Auth and make it accessible over the internet, but take note of the insecurities of HTTP Basic Auth.
21
+
22
+
The API could also be deployed in a docker container
23
+
24
+
## Requests
25
+
|Method | URL | Description |
26
+
| -- | -- | -- |
27
+
| GET | /api/test/session | Returns valid session key (Only necessary for testing)*|
28
+
| GET | /api/test/communication | Returns status 200 when API can connect to Google Test API to verify internet connectivity |
29
+
| -- | -- | -- |
30
+
| GET | /api/plug | Returns all registered plugs |
31
+
| GET | /api/act/smartplug/:smartPlugID/plug/:plugID| Returns `true` or `false` for is_active state of a plug specified by plugID |
32
+
| POST | /api/act/smartplug/:smartPlugID/plug/:plugID | Switches plug when request body contains `"action": "on"` or `"action": "off"`. Returns is_active state.
33
+
34
+
## Contribution
35
+
This project was started by an IT-student as a small 2 day project to improve home-automation by enabling Home Assistant to control HomeWizard Lite plugs. Development will continue when I need more features. Contribution is appreciated.
0 commit comments