diff --git a/components/sensor/images/sps30-wiring.png b/components/sensor/images/sps30-wiring.png index e5bc78012f..5935e16464 100644 Binary files a/components/sensor/images/sps30-wiring.png and b/components/sensor/images/sps30-wiring.png differ diff --git a/components/sensor/sps30.rst b/components/sensor/sps30.rst index 18d4148a7c..fe63f08026 100644 --- a/components/sensor/sps30.rst +++ b/components/sensor/sps30.rst @@ -104,19 +104,19 @@ Configuration variables: - **update_interval** (*Optional*, :ref:`config-time`): The interval to check the sensor. Defaults to ``60s``. -Wiring: +Wiring ------- The sensor has a 5 pin JST ZHR type connector, with a 1.5mm pitch. (`Matching connector housing `__, `datasheet `__) -To force the sensor into I²C mode, the SEL pin (Interface Select pin no.5) should be shorted to ground (pin no.4) +To force the sensor into I²C mode, the SEL pin (Interface Select, pin no.4) should be shorted to ground (pin no.5) .. figure:: images/sps30-wiring.png :align: center :width: 50.0% -For better stability, the SDA and SCL lines require suitable pull-up resistors. +For better stability, the SDA and SCL lines require suitable pull-up resistors. Sensirion shows 10 kΩ resistors between VDD (5V, pin no.1) and SDA (pin no.2) and SCL (pin no.3) in the manual. -Automatic Cleaning: +Automatic Cleaning ------------------- The SPS30 sensor has an automatic fan-cleaning which will accelerate the built-in fan to maximum speed for 10 seconds in order to blow out the dust accumulated inside the fan. @@ -126,8 +126,8 @@ Disabling of automatic-cleaning or setting a manual interval is not supported at .. _sps30_start_autoclean_fan_action: -``sps30.start_fan_autoclean`` Action ------------------------------------- +Manual Cleaning +--------------- This :ref:`action ` manually starts fan-cleaning. @@ -137,6 +137,23 @@ This :ref:`action ` manually starts fan-cleaning. then: - sps30.start_fan_autoclean: my_sps30 +To be able to trigger the fan cleaning feature from Home Assistant, add a button as shown below, and trigger it with a (periodic) automation. + +.. code-block:: yaml + + button: + - platform: template + name: "SPS30 fan clean" + on_press: + then: + - sps30.start_fan_autoclean: my_sps30 + + sensor: + - platform: sps30 + id: "my_sps30" + ... + +Sensirion recommends cleaning at least once per week. See Also --------