https://github.com/refoss/refoss_rpc
R11, R21, P11s, EM06p,EM16p support HomeAssistant
https://github.com/refoss/refoss_rpc
em06p em16p p11s r11 r21
Last synced: about 1 month ago
JSON representation
R11, R21, P11s, EM06p,EM16p support HomeAssistant
- Host: GitHub
- URL: https://github.com/refoss/refoss_rpc
- Owner: Refoss
- License: mit
- Created: 2025-02-18T09:49:19.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2026-04-20T03:13:46.000Z (about 1 month ago)
- Last Synced: 2026-04-20T05:21:01.004Z (about 1 month ago)
- Topics: em06p, em16p, p11s, r11, r21
- Language: Python
- Homepage:
- Size: 45.9 KB
- Stars: 13
- Watchers: 2
- Forks: 3
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/hacs/integration)
# refoss_rpc
- Home Assistant version: 2025.2.5 or above.
- Integrate Refoss devices that support `RPC` protocol into Home Assistant.
## Installation & configuration
You can install this component in two ways: via HACS or manually.
HACS is a nice community-maintained components manager, which allows you to install git-hub hosted components in a few clicks.
If you have already HACS installed on your HomeAssistant, it's better to go with that.
On the other hand, if you don't have HACS installed or if you don't plan to install it, then you can use manual installation.
### Option A: Installing via HACS
If you have HACS, well, it's piece of cake!
Just search for "Refoss" (Full name is Refoss RPC) in the default repository of HACS and it'll show up.
Click on Install. When the installation completes, **you must restart homeassistant** in order to make it work.
As soon as HomeAssistant is restarted, you can proceed with __component setup__.
### Option B: Classic installation (custom_component)
1. Download the latest zip release archive from [here](https://github.com/Refoss/refoss_rpc/releases/latest)
1. Unzip/copy the refoss_rpc directory within the `custom_components` directory of your homeassistant installation.
The `custom_components` directory resides within your homeassistant configuration directory.
Usually, the configuration directory is within your home (`~/.homeassistant/`).
In other words, the configuration directory of homeassistant is where the config.yaml file is located.
After a correct installation, your configuration directory should look like the following.
```
└── ...
└── configuration.yaml
└── secrects.yaml
└── custom_components
└── refoss_rpc
└── __init__.py
└── entity.py
└── switch.py
└── ...
```
**Note**: if the custom_components directory does not exist, you need to create it.
After copy-pasting the refoss_rpc directory into the custom_components folder, you need to restart HomeAssistant.
As soon as HomeAssistant is restarted, you can proceed with __component setup__.
## Configuration
- In the HA UI go to "Configuration" -> "Integrations", click "+", search for "Refoss RPC", and select the "Refoss RPC" integration from the list.
Or click here: [](https://my.home-assistant.io/redirect/config_flow_start?domain=refoss_rpc)
## Supported device models
| Model | Version |
|-------------------------------------|--------------------|
| `Refoss Smart Wi-Fi Switch, R11` | `all` |
| `Refoss Smart Wi-Fi Plug, P11S` | `all` |
| `Refoss Smart Wi-Fi Switch, R21` | `all` |
| `Refoss Smart Energy Monito, EM06P` | `all` |
| `Refoss Smart Energy Monito, EM16P` | `all` |