Chat freely about anything...

User avatar
By anom3
#55415 So I have a fairly featured fill OpenHAB setup running and would now like to move my existing alarm PIR sensors into the fold.

They already kind of are, via my alarms web api. But there is quite a delay (1-5secs) and sometimes the api does not broadcast motion events.

So I think its time to properly wire them up via esp8266.

I have basically 2 choices:

A) Wire up the alarm box downstairs where each of the PIR sensors gets its 12V and relay terminals with an esp8266.

B) Wire up each PIR. There is 12V available at each PIR.

Here is my hardware:

Alarm mobo : Risco Lightsys2. I also have a couple of zone expanders because from what I recall the main board only allows for 8 sensors. I did not do the initial install and have never installed a home alarm.

http://www.acralarms.co.za/assets/light ... anual1.pdf - Page 21

The PIR sensors are - http://www.napad.pl/data/katalog/produk ... od-500.jpg

Frankly I would prefer to retrofit each PIR (there are 9 total) with a small esp8266 board and use the analog pin on the led that lights up when there is motion. 12V is available right there, so just drop it down to 3.3 and were off to the races.

My only issue is I am not sure if the alarm's power supply will like 9 esp8266 boards drawing current. Am I correct in assuming that at 12V (eg: before the voltage regulator) the peak an esp8266 that's connected to a Wifi station will draw will be about 50-100ma? Would adding a capacitor to the 12v rail @ the esp8266 help at all with these bumps in amperage?

I am hoping on just attaching the analog pin to the led that turns on when motion is detected. I am fairly certain the voltage will be below 3.3. Is this the correct way of going at this?

I REALLY would like to avoid touching the alarm box. Quite a mess in there, as well as the fact that the alarm board measures the resistance of each sensors input (I could be wrong... Maybe someone with alarm experience can chime in). I am not sure if having an esp8266 read the status of those pins would have any effect on the alarm it self or not. I believe the data wires connecting to the PIRs is shared between some of the devices and there is some talk of resistors in the risco manual.

I know this is not 100% esp8266 specific, but I figured this may be a good place to get some pointers.

How would you proceed?