openhab-examples
Differences
This shows you the differences between two versions of the page.
Next revisionBoth sides next revision | |||
openhab-examples [2015/06/28 19:45] – created GoHoHa | openhab-examples [2015/06/28 19:46] – [A flood detection sensor] GoHoHa | ||
---|---|---|---|
Line 14: | Line 14: | ||
The item definition on OpenHAB (the contacts are mapped in e2p to the third port): | The item definition on OpenHAB (the contacts are mapped in e2p to the third port): | ||
- | '' | + | |
+ | < | ||
The water.map file: | The water.map file: | ||
- | '' | + | < |
OFF=wet | OFF=wet | ||
- | -=??'' | + | -=??</ |
The rule to send a mail if a short between the pins is connected: | The rule to send a mail if a short between the pins is connected: | ||
- | '' | + | < |
rule "water detection" | rule "water detection" | ||
Line 44: | Line 45: | ||
| | ||
- | end'' | + | end</ |
openhab-examples.txt · Last modified: 2015/06/29 00:17 by breaker27