Hello everyone. I am looking for some help with a little quest.
I have an old fashioned alarm system with wireless sensors around the house connected to a central unit.
The unit is gsm and sends sms or gives phone calls to set numbers (but drains money from the sim card) and obviously triggers a buzzer/siren when it detects intrusion.
My goal is to connect a wifi device (an rfm69 module attached to what? with MQTT language) physically to the siren wires (protecting the device with an optoisolator or a relay) and detect when it goes on and off.
When the signal is triggered I would like the wifi device (rfm69+MQTT) to send the status (on or off) to my openhab or nodered or even better emoncms gateway (a raspberrypi acting as emonhub) so to receive an email or a push notify even better.
I just need some simple instructions to start with. What components to use to connect the siren wires to the rfm69 and from there how to make it send status to the raspberry pi through MQTT.
Any answer will be very appreciated.
Thanks to everyone.
They have examples for how to connect to Wifi, MQTT and read a digital input. Once you have the unit posting a MQTT message it will be easy set setup node RED (which is built into the latest emonPi emonSD build) to trigger notifications etc:
Yes, that’s another option. Possibly a better option if you are already familiar with Arduino IDE.
You could use the emontx V2 RF guide as an example, just strip our the energy monitoring part, set #define RF69_COMPAT 1 if your using RFM69CW and upload to and Arduino the a RFM69CW connected. An emonTx V2 would actually make a good dev platform since it’s got plenty of free I/O broken out. Alternatilvy you could use a JeeNode which is hardware identical to the emonTx V2 just without the energy monitoring parts.