diff --git a/source/_integrations/rexense.markdown b/source/_integrations/rexense.markdown new file mode 100644 index 000000000000..7a8c70405f47 --- /dev/null +++ b/source/_integrations/rexense.markdown @@ -0,0 +1,75 @@ +--- +title: Rexense +description: "Integrate Rexense IoT Mesh devices" +ha_category: + - Sensor + - Switch +ha_release: 2025.04 +ha_codeowners: + - '@rexense' +ha_iot_class: local_push +ha_domain: rexense +featured: false +ha_config_flow: true +ha_zeroconf: true +ha_platforms: + - sensor +ha_integration_type: device +--- + +Integrate [Rexense IoT Mesh devices](https://www.rexense.com) into Home Assistant. + +## Overview + +The Rexense integration enables Home Assistant to automatically discover and manage Rexense IoT Mesh devices, providing automated device discovery, and real-time sensor data. + +## Installation instructions + +1. **Enable default integrations and Zeroconf** + + In your `configuration.yaml`, add: + + ```yaml + default_config: + zeroconf: + ``` + +2. **Restart Home Assistant** + +3. **Add Rexense integration** + + - Go to **Settings → Devices & Services** + - Click **Add integration** + - Search for **Rexense** and select it + - Follow the prompts to auto-discover devices or enter **Host** and **Port** manually + +Once configured, Home Assistant will fetch `/rex/GetBasicInfo` over HTTP then upgrade to a WebSocket at `/rpc` for live updates. + +## Configuration options + +{% include integrations/config_flow.md %} + +## WebSocket push updates + +After initial HTTP setup, the integration upgrades the connection to WebSocket for live updates. Sensor values and switch states are pushed in real time, and Home Assistant entities update immediately. + +## Entities + +### Sensors + +For `REX-3PHASEMETER-01` models, the following sensors are created: + +- **Phase A/B/C:** Current, Voltage, Active Power, Apparent Power, Power Factor +- **Totals:** Total Active Power, Total Apparent Power, Cumulative Energy Imported/Exported +- **Temperature** + +Each sensor has: + +- **Unique ID:** `_` +- **Device & state class** for correct presentation +- **Automatic name** generated from device model and sensor type + +## Removal instructions + +{% include integrations/remove_device_service.md %} +