Skip to content

Commit fbc4504

Browse files
committed
feat: Add PSUControl eWeLink plugin
1 parent ff9cb9b commit fbc4504

2 files changed

Lines changed: 88 additions & 0 deletions

File tree

_plugins/psucontrol_ewelink.md

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
---
2+
layout: plugin
3+
4+
id: psucontrol_ewelink
5+
title: PSU Control - eWeLink
6+
description: Control your 3D printer's power supply using eWeLink smart switches (Sonoff, etc.) through the PSU Control plugin.
7+
authors:
8+
- Christos Miniotis
9+
license: MIT
10+
11+
date: 2026-01-07
12+
13+
homepage: https://github.com/chrismin13/OctoPrint-PSUControl-eWeLink
14+
source: https://github.com/chrismin13/OctoPrint-PSUControl-eWeLink
15+
archive: https://github.com/chrismin13/OctoPrint-PSUControl-eWeLink/archive/main.zip
16+
17+
# Privacy policy for cloud service usage
18+
privacypolicy: https://github.com/chrismin13/OctoPrint-PSUControl-eWeLink/blob/main/PRIVACY.md
19+
20+
tags:
21+
- psu
22+
- psu control
23+
- power
24+
- switch
25+
- sonoff
26+
- ewelink
27+
- smart home
28+
- automation
29+
- psucontrol subplugin
30+
31+
compatibility:
32+
octoprint:
33+
- 1.3.10
34+
35+
os:
36+
- posix
37+
- windows
38+
39+
python: ">=3.7,<4"
40+
41+
attributes:
42+
- cloud
43+
44+
screenshots:
45+
- url: /assets/img/plugins/psucontrol_ewelink/settings_screenshot.png
46+
alt: Settings Interface
47+
caption: Plugin settings allowing device selection and credential configuration
48+
49+
featuredimage: /assets/img/plugins/psucontrol_ewelink/settings_screenshot.png
50+
---
51+
52+
Integrate [eWeLink](https://ewelink.cc/) smart switches (Sonoff, etc.) with [OctoPrint-PSUControl](https://github.com/kantlivelong/OctoPrint-PSUControl) to turn your 3D printer on and off remotely.
53+
54+
## Features
55+
56+
- **Cloud Integration**: Control any eWeLink-compatible device (Sonoff Basic, S26, etc.)
57+
- **Device Discovery**: Test connection and browse devices directly in OctoPrint settings
58+
- **State Sensing**: Real-time feedback on switch state
59+
- **Secure Credentials**: Passwords are encrypted locally using XOR obfuscation
60+
61+
## Requirements
62+
63+
- OctoPrint 1.3.10 or higher
64+
- [OctoPrint-PSUControl](https://github.com/kantlivelong/OctoPrint-PSUControl) plugin installed
65+
- eWeLink account and compatible smart switch
66+
- Active internet connection
67+
68+
## External Services
69+
70+
This plugin connects to the **eWeLink Cloud API** to control your smart devices. An active internet connection is required for all functionality. Your eWeLink credentials are transmitted securely over HTTPS to eWeLink's servers.
71+
72+
The plugin does **not** collect or transmit any data to third parties other than eWeLink.
73+
74+
## Setup
75+
76+
1. Install via Plugin Manager
77+
2. Navigate to **Settings****PSU Control - eWeLink**
78+
3. Enter your eWeLink email and password
79+
4. Click **Test Connection / Get Devices**
80+
5. Select your device from the dropdown
81+
6. Save settings
82+
7. Go to **PSU Control** settings and select this plugin for switching/sensing
83+
84+
## Troubleshooting
85+
86+
- **Authentication Failed**: Double-check your eWeLink email and password
87+
- **Device Not Found**: Ensure the device is "Online" in the eWeLink app
88+
- **Connection Issues**: Check your internet connection; the eWeLink cloud must be reachable
137 KB
Loading

0 commit comments

Comments
 (0)