pimatic / pimatic-homeduino

Pimatic plugin for using 433mhz devices and sensors with a connected Arduino with homeduino sketch
https://pimatic.org/
GNU General Public License v2.0
37 stars 29 forks source link

Using a Reed Contact as HomeduinoContact Sensor #83

Closed mwittig closed 7 years ago

mwittig commented 7 years ago

Use 1K resistor. Instead of D2 use the next available digital input pin, e.g. D5

reed

{
  "id": "homeduino-contact-sensor",
  "name": "ContactSensor",
  "class": "HomeduinoContactSensor",
  "pin": 5,
  "interval": 10000,
  "inverted": true
}

Bzgl "inverted" bin ich mir nicht 100% sicher. Gffs auf false stellen.