Adding ADE7953 irq_pin (#848)
This commit is contained in:
parent
ff31428e69
commit
2f4b3d1df1
|
@ -27,6 +27,7 @@ required to be set up in your configuration for this sensor to work.
|
|||
# Example configuration entry
|
||||
sensor:
|
||||
- platform: ade7953
|
||||
irq_pin: GPIO16
|
||||
voltage:
|
||||
name: ADE7953 Voltage
|
||||
current_a:
|
||||
|
@ -43,6 +44,7 @@ Configuration variables:
|
|||
------------------------
|
||||
|
||||
- **address** (*Optional*, int): Manually specify the I²C address of the sensor. Defaults to ``0x38``.
|
||||
- **irq_pin** (*Optional*, :ref:`config-pin`): The pin connected to the ADE7935 IRQ line (if connected)
|
||||
- **voltage** (*Optional*): Use the voltage value of the sensor in volt. All options from
|
||||
:ref:`Sensor <config-sensor>`.
|
||||
- **current_a** (*Optional*): Use the current value of the A channel in amperes. All options from
|
||||
|
@ -61,12 +63,13 @@ Use with Shelly 2.5
|
|||
The Shelly 2.5 device contains this sensor for power monitoring. An example config for the Shelly 2.5
|
||||
is given below.
|
||||
|
||||
There are two oddities with the Shelly 2.5:
|
||||
There are three oddities with the Shelly 2.5:
|
||||
|
||||
- First, the A and B channels are mixed up - the chip's A channel is label B on the outside and
|
||||
vice versa. Probably to make the PCB easier to manufacture.
|
||||
- Secondly, due to the first point the active_power values are inverted. This is fixed by
|
||||
using a multiply filter as seen in the config below.
|
||||
- Lastly, the ADE7953 IRQ line is connected to the GPIO16. The irq_pin MUST be set to GPIO16 to prevent device overheat (>70ºC idling).
|
||||
|
||||
Additionally, the device has an ::doc:`NTC temperature sensor <ntc>`.
|
||||
|
||||
|
@ -78,6 +81,7 @@ Additionally, the device has an ::doc:`NTC temperature sensor <ntc>`.
|
|||
|
||||
sensor:
|
||||
- platform: ade7953
|
||||
irq_pin: GPIO16
|
||||
voltage:
|
||||
name: Shelly Voltage
|
||||
current_a:
|
||||
|
|
Loading…
Reference in New Issue