Complete local control for Ruijie Reyee Gateways, managed switches and PoE switches
No cloud โข No subscriptions โข Direct LAN communication.
Ruijie Reyee (Local) is a fully local Home Assistant integration for Reyee EG-series gateways, NBS managed switches and ES-series PoE switches.
Unlike the official cloud integration, this connects directly to your gateway using the built-in eWeb API over your LAN.
โ No Cloud Account
โ No Internet Required
โ Real-time Monitoring
โ Full Network Control
โ Automatic Discovery
โ Switches & PoE Control
- ๐ฅ Connected device list with friendly names
- ๐ Device Trackers for every client
- ๐ VLAN discovery with named networks
- ๐ Live Ethernet port status
- ๐ถ WAN upload/download throughput
- ๐ Public IP monitoring
- ๐ PPPoE reconnect tracking
- ๐ก Connected APs and switches
- ๐ถ WiFi SSID monitoring
- ๐ VPN client status
- ๐ Active WAN detection
- ๐ Port forwarding list
- ๐ท Device names from the router's saved device list
- ๐ OpenVPN / L2TP / PPTP server status
Control almost everything directly from Home Assistant.
| Feature | Supported |
|---|---|
| ๐ Primary WAN Switching | โ |
| ๐ Forced WAN Failover | โ |
| ๐ถ WiFi SSID Enable/Disable | โ |
| ๐ฆ Flow Control | โ |
| โก WiFi Rate Limiting | โ |
| ๐ก Gateway LEDs | โ |
| ๐ก AP LEDs | โ |
| ๐ซ Block Internet Access | โ |
| ๐ Port Forward Management | โ |
| โก Hardware NAT | โ |
| โ SIP ALG | โ |
| ๐บ IGMP Proxy | โ |
| ๐ WAN Link Detection | โ |
| ๐ถ WiFi Load Balancing | โ |
- ๐ Refresh Router
- ๐ Deep API Probe
Switches live inside your router entry, in their own Switches group:
Settings
โ Devices & Services
โ Ruijie Reyee (Local)
โ + Add switch (on the router entry)
โ pick the switch from the list (or type its IP)
The list shows the switches your router has already found. ES PoE switches need no password (they're managed through the router); for NBS switches leave the password empty to use the router's.
The integration page is split into folding groups:
| Group | What's in it |
|---|---|
| ๐ Router | the gateway and all its controls |
| ๐ Switches | every switch, each one clickable to its own ports / PoE / VLAN page |
| ๐ถ Access Points | the APs the router sees |
| ๐ฑ Connected Devices | every tracked client |
To remove a switch, open the Switches group's โฎ menu โ Reconfigure and tick it. Typing a switch IP into Add Integration also works: it's put into the router's Switches group instead of becoming a separate hub.
Upgrading from v1.24 or older? Switches you added as their own hub are moved into the router's Switches group automatically on the first restart, keeping the same entity IDs. Nothing to delete or re-add.
Switches are read directly when they answer, otherwise through the router (the same way the Reyee web interface manages them).
| Per port | |
|---|---|
| ๐ Link up/down (speed, VLANs, traffic, errors, connected devices) | โ |
| โป Port enable / disable | โ |
| ๐ท VLAN (access VLAN / trunk native VLAN) | โ |
| ๐ Description | โ |
| ๐ก Port isolation | โ |
| ๐ RX / TX rate, link speed, CRC errors | โ |
| Switch-wide | |
|---|---|
| ๐ Loop Detection | โ |
| ๐ณ Spanning Tree | โ |
| ๐ LLDP | โ |
| ๐ก DHCP Snooping | โ |
| ๐บ IGMP Snooping | โ |
| โ Voice VLAN | โ |
| ๐ VLAN list, create / delete VLANs | โ |
| โ Loop detected, CRC errors, ports up, uplink port | โ |
| ๐ Reboot | โ |
ES switches have no web login of their own. They are managed through the router, so they can be added even though a direct login to them fails.
| Per port | |
|---|---|
| ๐ Link up/down (speed, VLAN, traffic, errors, loop, connected devices) | โ |
| โก PoE on / off | โ |
| ๐ PoE power-cycle (reboot a camera or AP) | โ |
| ๐ PoE power (W), voltage, current, fault | โ |
| ๐ท VLAN and VLAN mode (access / trunk) | โ |
| ๐ RX / TX rate | โ |
| Switch-wide | |
|---|---|
| ๐ PoE Power Used / Budget / Remaining (W) | โ |
| โฌ Uplink port detection | โ |
| ๐ VLAN list (creates a VLAN on the switch when needed) | โ |
| โ Loop detected | โ |
| ๐ Reboot | โ |
- The uplink port of a switch can't be disabled and its VLAN can't be changed โ doing so would cut the switch off from the router.
- Every change uses the exact request the Reyee web interface sends. If a device rejects a change you get an error and nothing changes.
Add APs the same way, with + Add AP on the router entry. Tick the APs from the list the router has found; no password is needed (they're read through the router). Each AP's device page in the Access Points group then gets:
| Sensor | |
|---|---|
| ๐ฅ Clients (total, plus per 2.4G / 5G), with the client list as an attribute | โ |
| ๐ก Channel per radio (frequency and bandwidth as attributes) | โ |
| ๐ Channel Busy % per radio | โ |
| ๐ถ Weakest Client Signal (dBm, and which client) | โ |
| โฌโฌ Data Sent / Data Received | โ |
| ๐ Uplink Speed, TX Power, Noise Floor, Firmware (diagnostic) | โ |
To remove an AP, open the Access Points group's โฎ menu โ Reconfigure. Tested on RAP2200(E).
- โ EG105G-V3 (ReyeeOS 2.360.x)
- โ RG-EW3000GX
- โ NBS3100-24GT4SFP-V2 (ReyeeOS 2.380)
- โ RG-ES220GS-P / RG-ES205GC-P (ESW_1.0)
- โ RG-ES210GS-P / RG-ES208GC / RG-ES206GS-P
| Model | Type | Status |
|---|---|---|
| EG105G-V3 | Gateway | โ Tested |
| RG-EW3000GX | Gateway | โ Tested |
| NBS3100-24GT4SFP-V2 | Managed switch | โ Tested |
| RG-ES220GS-P | PoE switch (16+4) | โ Tested |
| RG-ES205GC-P | PoE switch (4+1) | โ Tested |
| RG-ES210GS-P | PoE switch (8+2 SFP) | โ Supported |
| RG-ES208GC | Switch (8, no PoE) | โ Supported |
| RG-ES206GS-P | PoE switch (4+2) | โ Supported |
| RAP2200(E) | Access point | โ Tested |
| Other ReyeeOS devices |
Compatible with most EG-series gateways running ReyeeOS 2.x
The integration automatically discovers:
- VLANs
- WAN Interfaces
- Ethernet Ports
- Access Points
- Switches
- Clients
No model-specific configuration required.
- Open HACS
- Integrations
- โฎ โ Custom Repositories
- Add
https://github.com/marsh4200/ruijie_reyee
Category:
Integration
Restart Home Assistant.
Then:
Settings
โ Devices & Services
โ Add Integration
โ Ruijie Reyee (Local)
Enter:
- Gateway IP
- Username
- Password
Then add your switches with + Add switch on the router entry (see Switches).
Copy
custom_components/reyee_local/
into
config/custom_components/
Restart Home Assistant.
| Service | Purpose |
|---|---|
set_primary_wan |
Switch Primary WAN |
set_forced_switch |
Enable/Disable Failover |
set_ssid |
Enable or Disable SSIDs |
set_rate_limit |
Wireless Speed Limits |
block_device |
Block Internet Access |
unblock_device |
Remove Internet Block |
add_port_forward |
Create Port Forward |
remove_port_forward |
Delete Port Forward |
deep_probe |
Advanced API Diagnostics |
set_port_description |
Switch โ set port description |
set_port_vlan |
Switch โ set port VLAN (access / trunk / hybrid) |
set_port_isolation |
Switch โ port isolation on/off |
set_port_rate_limit |
Switch โ port bandwidth limit (kbps) |
create_vlan |
Switch โ create a VLAN |
delete_vlan |
Switch โ delete a VLAN |
Polling interval is configurable between
10โ300 seconds
from the Integration Configure menu.
The integration communicates directly with the gateway's built-in eWeb API.
/cgi-bin/luci/api/
- Router and NBS switches:
/api/cmd(managed switches are reached through the router withremoteIp) - ES PoE switches:
/api/switchโdoSwitchApi, relayed by the router
Authentication uses the same encrypted login process as the official web interface.
Configuration changes are written locally and automatically verified after the gateway applies them.
No telemetry.
No cloud.
No external services.
- EG105G-V3 has no built-in WiFi. Wireless information is collected from the integrated AP Controller.
- Some APs may display their serial number if topology information is incomplete.
- Device status depends on the gateway's topology refresh interval.
- The gateway device is prefixed with its IP address so it stays at the top of Home Assistant's device list.
- Switch entries need the router entry loaded, because switches are reached through it.
- RX/TX rate units on switches are reported as kbit/s.
Unlike cloud-based solutions, this integration provides:
- ๐ 100% Local
- โก Faster Updates
- ๐ Better Privacy
- ๐ Works Without Internet
- ๐ Native Home Assistant Entities
- ๐ง Nearly Every Router Feature Exposed
Released under the MIT License.
This project is not affiliated with or endorsed by Ruijie Networks.
"Ruijie" and "Reyee" are trademarks of Ruijie Networks Co., Ltd.
