# salt.beacons.sensehat module

## Monitor temperature, humidity and pressure using the SenseHat of a Raspberry Pi

New in version 2017.7.0.

maintainer:

  Benedikt Werner <1benediktwerner@gmail.com>

maturity:

  new

depends:

  sense_hat Python module

salt.beacons.sensehat.beacon(config)

  Monitor the temperature, humidity and pressure using the SenseHat sensors.

  You can either specify a threshold for each value and only emit a beacon if it is exceeded or define a range and emit a beacon when the value is out of range.

  Units: * humidity: percent * temperature: degrees Celsius * temperature_from_pressure: degrees Celsius * pressure: Millibars

      beacons:
        sensehat:
          - sensors:
              humidity: 70%
              temperature: [20, 40]
              temperature_from_pressure: 40
              pressure: 1500

salt.beacons.sensehat.validate(config)

  Validate the beacon configuration