fhem / LuftdatenInfo

provides data from Luftdaten.info
GNU General Public License v2.0
0 stars 1 forks source link

LuftdatenInfo

LuftdatenInfo is the FHEM module to read particulate matter, temperature and humidity values from the self-assembly particulate matter sensors from Luftdaten.info.
The values can be queried directly from the server or locally. There is an alternative Firmware to support more sensors locally.

Prerequisites

The Perl module "JSON" is required.
Using Debian (based) systems, the module can be installed using
apt-get install libjson-perl.

Define

Query of Luftdaten.info:
define <name> LuftdatenInfo remote <SENSORID1> [<SENSORID2> ..]
Local query:
define <name> LuftdatenInfo local <IP>
Redirecting readings:
define <name> LuftdatenInfo slave <master-name> <sensor1 sensor2 ...>

To query the data from the server, all affected SensorIDs must be specified. The IDs of the SDS01 are on the right side of the page maps.Luftdaten.info. The DHT22 SensorID normally corresponds to the SDS011 SensorID + 1.
While parsing the data, the location values from all sensors will be compared and a message will be written into the logfile if they differ.

For a local query of the data, the IP address or hostname must be specified.

If several similar sensors are operated locally, the double values (e.g. temperature) can be redirected to a slave device.

Set

Get

Readings

Attribute