undefined

How to Connect SDS011 Sensor

Here is a step-by-step guide on how to connect your sensor to the Robonomics Sensors Network And Home Assistant. Our sensors utilize the Robonomics firmware, which is an enhanced version of the sensor.community firmware. It includes additional sensors and has a modified data sending mechanism.


All devices from Robonomics can be purchased on the official website.

Setup

  1. Plug in the sensor into the socket to power it.

  2. The board will create a Wi-Fi network named RobonomicsSensor-xxxxxxxxx. Connect to it from your phone or computer: you will see the authorization window (if not, open the browser and go to 192.168.4.1).

  3. Select your Wi-Fi network from the list (or write it yourself if it’s not on the list) and fill in the password field.


    INFO
    The sensor can only be connected to a 2.4GHz Wi-Fi network.

sds-sensor-wifi
4. Write the coordinates of the place, where the sensor will be installed. You can obtain them from any maps or obtain it from the address using [this link.](https://www.latlong.net/convert-address-to-lat-long.html)


WARNING
The sensor coordinates will then be displayed on a publicly available map. If you do not want to show your private information, write close, but not exact coordinates.

  1. Click on Save configuration and restart. The board will reboot and connect to the specified Wi-Fi network.
  2. Open Robonomics sensors map and find your place where you installed the sensor. In a couple of minutes you will be able to see your sensor with data on map.
sds-sensor-map

Home Assistant

There are two installation options available:

Option 1: HACS

The easiest way to add a Local Luftdaten Sensor is through HACS. Here you can find a brief explanation on how to set up HACS.

Once HACS is installed, navigate to HACS -> Integrations and search for the Local Luftdaten Sensor integration. Click on the download button and restart Home Assistant once the integration is downloaded.

sds-hacs

Option 2: Manual Installation

Under the homeassistant user, clone the project repository:

  git clone https://github.com/lichtteil/local_luftdaten.git

If you already have any custom integrations, copy the custom_components/local_luftdaten/ to your custom_components directory, For example:

cd local_luftdaten
mv custom_components/local_luftdaten ~/.homeassistant/custom_components/

If you don’t have any custom integrations, copy the whole custom_components directory to your Home Assistant configuration directory. For example:

 cd local_luftdaten
 mv custom_components/ ~/.homeassistant/

Configuration

Create a new sensor entry in your configuration.yaml and adjust the host name or the IP address. To find the local IP address of your sensor, you can use Fing mobile app or nmap CLI tool. Name can be any.

ParameterTypeNecessityDescription
hoststringrequiredIP address of the sensor
scan_intervalnumberdefault: 180Frequency (in seconds) between updates
namestringrequiredName of the sensor
monitored_conditionslistrequiredList of the monitored sensors
sensor:
  - platform: local_luftdaten
    host: 192.168.0.100
    scan_interval: 150
    name: Air quality sensor
    monitored_conditions:
      - SDS_P1
      - SDS_P2
      - HTU21D_temperature
      - HTU21D_humidity
      - signal

A list of all supported sensors can be found in the repository.

Restart your Home Assistant.
After that, you can add a sensor to your dashboard. The name of the entity will be the name you added to configuration.yaml.

sds-configuration-car

Couldn't complete

Thanks,
we'll keep in touch!

It was hard

Thanks,
we'll keep in touch!

It was ok

Thanks,
we'll keep in touch!

It was easy

Thanks,
we'll keep in touch!
Main contributors: @tubleronchik
Make a contribution

Robonomics wiki is open source. See something that's wrong or unclear? Submit a pull request.

? Ask your question