Skip to content

Support for Barometric sensor #21

@flatsiedatsie

Description

@flatsiedatsie

Air pressure is used by barometers. Tracking it is useful for local weather prediction. It is measured in mbar, and oscillates around a value of 1013. (900-1100).

https://en.wikipedia.org/wiki/Atmospheric_pressure

in MySensors this is initiated as follows:

MyMessage pressureMsg(BARO_CHILD_ID, V_PRESSURE);
MyMessage forecastMsg(BARO_CHILD_ID, V_FORECAST);

So a child can receive two values:

  • pressure in mbar
  • a code value that indicates upcoming weather.

The codes are:
#define STABLE 0 // "Stable Weather Pattern"
#define SUNNY 1 // "Slowly rising Good Weather", "Clear/Sunny "
#define CLOUDY 2 // "Slowly falling L-Pressure ", "Cloudy/Rain "
#define UNSTABLE 3 // "Quickly rising H-Press", "Not Stable"
#define THUNDERSTORM 4 // "Quickly falling L-Press", "Thunderstorm"
#define UNKNOWN 5 // "Unknown (More Time needed)

Supporting just the pressure would already be great. A lot of controllers can calculate the weather prediction from that themselves.

Another solution to the "human readable" issue would be the support of text sensors. There is an issue about that already.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions