CSE7766 Power Sensor¶
cse7766 sensor platform allows you to use your CSE7766 voltage/current and power sensors
(datasheet) sensors with
ESPHome. This sensor is commonly found in Sonoff POW R2. CSE7759B is similar to CSE7766
and works with this integration.
As the communication with the CSE7766 done using UART, you need
to have an UART bus in your configuration with the
rx_pin connected to the CSE7766.
Additionally, you need to set the baud rate to 4800.
# Example configuration entry # Disable logging over USB logger: baud_rate: 0 uart: rx_pin: RX baud_rate: 4800 sensor: - platform: cse7766 current: name: "Sonoff Pow R2 Current" voltage: name: "Sonoff Pow R2 Voltage" power: name: "Sonoff Pow R2 Power"
The configuration above should work for Sonoff POWs (R2).
current (Optional): Use the current value of the sensor in amperes. All options from Sensor.
power (Optional): Use the (active) power value of the sensor in watts. All options from Sensor.
voltage (Optional): Use the voltage value of the sensor in V (RMS). All options from Sensor.
update_interval (Optional, Time): The interval to check the sensor. Defaults to