juanpintom / Souliss_ESP_Examples

Short examples to use Souliss on ESP8266
https://github.com/souliss/souliss
17 stars 20 forks source link

[ADD] Window/Door magnetic contact sensor #29

Closed marksev1 closed 8 years ago

marksev1 commented 8 years ago

Hi Juan,

please also add support for Window/Door magnetic contact sensor for alarm purposes. If its already on the list then close the issue :).

Cheers,

juanpintom commented 8 years ago

This was added before, you can connect an endstop or magnetic field on pins 4 and 5. It have LowDigIn command so the sensor must be UP (3.3v) when it's closed and 0 when it's open ( alarm enabled )

You must enable this on the third combobox on configuration.

Regards

2016-01-03 22:40 GMT+01:00 marksev1 notifications@github.com:

Hi Juan,

please also add support for Window/Door magnetic contact sensor for alarm purposes. If its already on the list then close the issue :).

Cheers,

— Reply to this email directly or view it on GitHub https://github.com/juanpintom/Souliss_ESP_Examples/issues/29.

marksev1 commented 8 years ago

This sensor right http://p.globalsources.com/IMAGES/PDT/B1071244129/Wired-Magnet-Door-Magnetic-Contact-Sensor.jpg? Should I close issue since its already implemented?

juanpintom commented 8 years ago

Yes, you can wire with this sensors, I don't tested but must work well. Maybe I'll add inverted logic to the alarm, but this sensors are NC.

Regards

2016-01-06 12:40 GMT+01:00 marksev1 notifications@github.com:

This sensor right http://p.globalsources.com/IMAGES/PDT/B1071244129/Wired-Magnet-Door-Magnetic-Contact-Sensor.jpg? Should I close issue since its already implemented?

— Reply to this email directly or view it on GitHub https://github.com/juanpintom/Souliss_ESP_Examples/issues/29#issuecomment-169304902 .