openhab-examples
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
openhab-examples [2015/06/28 19:46] – [A flood detection sensor] GoHoHa | openhab-examples [2015/06/28 19:56] – [A flood detection sensor] GoHoHa | ||
---|---|---|---|
Line 7: | Line 7: | ||
====== Item definitions ====== | ====== Item definitions ====== | ||
+ | An EnvSensor with Temperature + Humidity message: | ||
+ | < | ||
+ | Number Humi1 " | ||
+ | |||
+ | A battery status message: | ||
+ | < | ||
+ | |||
+ | Two switches connected to a GPIO pins and mapped to DigitalInputPin 0 and 1 in e2p : | ||
+ | < | ||
+ | Switch Switch1 " | ||
Line 13: | Line 23: | ||
Based on the EnvSensor the short between a GPIO-PIN and GND or a special switch can be used as a water detection sensor. | Based on the EnvSensor the short between a GPIO-PIN and GND or a special switch can be used as a water detection sensor. | ||
- | The item definition on OpenHAB (the contacts are mapped | + | The item definition on OpenHAB (the contacts are mapped to the third DigitalInputPin in e2p): |
- | < | + | < |
The water.map file: | The water.map file: |
openhab-examples.txt · Last modified: 2015/06/29 00:17 by breaker27