Retrofit Wireless Alarm System

Good idea.

and a power supply, for example an unused usb charger. And an usb cable to program/flash it.

A piece of wire or better: jumper cables and a breadboard for testing:

Make sure you also get the female to female and female to male ones:

thanks again,

last silly question of the day… the cabel you posted are “one or the other”… right? why the [] has also a little circuit?

feel so dump in this field! sorry

Not really: you need jumper cables with a female end to connect it to the nodemcu. So buying different kinds would make send. Then you are able to connect it to the nodemcu, your alarm central and the breadboard if you need testing.

That is a power supply. If you intend to use a plain ESP chip (not the nodemcu version) you will need to connect 3.3V power to it.
The nodemcu runs on 5V, so you can power it with an usb charger.



I got it (I hope so :slight_smile: ) now time ti study :stuck_out_tongue:

first of all, I need to apologize because I might have doubled posted in the followings:

SO, lets summaries everything here:

As newbie, I’m absolutely “incompetent” in HW (my background is more SW/Solutions) and I would like to validate with this amazing community my shopping list:

  • RPi3 B+ (including Power cable and Case) -> is it better to go for a “fancier” case with fans ?

  • microSD for RPi OS -> which size would you recommend ?

  • noceMCU 1 -> ** does it required a power cable/adapter ? **

Now the fun part :slight_smile: : what else do you think I need? my thoughts says:

  • Jumper Cables (Male/Male, Male/Female, Female/Female)

  • BreadBoard for testing… (any recommendation?)

  • BreadBoard Power Supply… (I have seem lots with a rca jack plug… I probably prefer a USB one :P)

  • Volt-meter… (what specs should it have?)

  • welder (which one) ?

does it make sense to get a “starter kit” something like this:

Many thanks all,


If you live in a very hot climate zone: yes. Otherwise not really needed.

See above or

Not for the nodemcu. it is powered via usb power supply.

A simple one if it is really needed at all. Depends on a good or bad manual for your alarm central.

Around 50W, temperature controlled would be nice.

Depends on your budget. Sometimes there is useless stuff in there.

@sihui, @rossko57, @rlkoshak, @Thedannymullen

Thanks Everyone!

Finalized my shopping list:

I have passed for now multimeter (I have an old one which it should still do the job) and the solder/welder (for test the breadboard should be good enough :slight_smile:

Sorry again to be so annoying :stuck_out_tongue: Am I missing Anything?

Thanks again!

1 Like

In my experience, no project requires just one shopping trip. You will discover other stuff you need as you go.

1 Like

Thant is actually fair :blush:

order in progress :slight_smile:

and while I am waiting for the stuff to be delivered I am doing researches…

I have found few wiring diagrams on how to use the I/O in my central alarm system… anyone would be able to suggest how to use them for my oH project?

The only example that make sense to me is EXAMPLE # 3, in order to “read” the system and detect if ti is ON or OFF… in this case I would connect somehow Output Reley 2 to the NodeMCU and the system woudl know the status of the alarm…

Anyone can help me understand what are the EXAMPLE #1 and #2 for?

Thank you so much to everyone :slight_smile:

Doing more research… I have found an additional wiring map (not very useful, but I want to post it here)…

The problem is that the alarm system does not have anymore any support, therefore is impossible (for me) , to get any documentation…

I like this idea… how can I start? can I hook-up an adruino-like device and see what happen?? (not trying to make it simple… just trying to understand from a newbie point of view :wink:

alternative, can I capture the “remote” signal and duplicate it? I would just need to turn the alarm on/off…

Thanks all :slight_smile:

The idea was to find something that talked to the S310 e.g. a PC application provided by the manufacturer, that would use the PC’s COM port. Then you could eavesdrop on the conversation (by running a serial data monitor on the comms line), and so work out how to have your own OpenHAB setup communicate with it instead.

Alarm system makers generally jealously guard access to applications like that, and try to limit availability to genuine installers. Looking for such an application for an obsolete system may or may not improve your chances of finding it.

That assumes the manufacturer has used a more or less standard serial interface, and this “wired interface” is intended for that purpose.

It might instead be intended for a remote keypad and/or an expansion module for (say) extra wired zones. Again if you had some working example to eavesdrop on, it may be possible to work out the data exchange protocols so that it can be emulated.

If you cannot get hold of something (application, remote keypad) that is already set up to communicate with the S310 - your chances of hacking it are practically nil. It’s a security system, it’s not supposed to be easy :frowning:

My first step woul be to find out just what this wired interface is for - a diagnostic/configuring port for an installers PC, a remote keypad, an expansion module? Is it an RS232 serial port, an RS485 port, or something completely non-standard?

Perhaps there are examples in the documents you have, or perhaps it suggests accessory modules you could look for further info about.

Alarm Terminology: The “self protection” they talk about is tamper protection, against the burglar simply cutting a wire to thwart the alarm.
In your case you can just link terminals one and two so that the S310 thinks all is well, this is the anti-tamper input. In the photo, a link is shown already in place.

Wiring to relay terminals 2 & 3 will give you an OPEN/CLOSED signal you can use with a digital input to OpenHAB. From Relay 1 , you can get an “alarm enabled” signal. From Relay 2, you can get an “alarm ringing” signal.

The examples #1 and #2 are supposed to help you use the relay to wire to an external bellbox, with tamper protection, the usual use for these facilities.

This is so clear now! thanks heaps! I get what I need to do now! At least in theory… getting the nodemcu delivered today… therefore I am going to have fun :stuck_out_tongue_winking_eye:

anyone has any suggestion on which GPIO to use?

Many thanks!

no, unfortunately I do not have any PC application… I have sent a request to Hager, which I do not know if they would have an answer… I will update on this…

from my research it seems that the connectors are for an external wired keypad… somethign like thins:

but I am still trying to get more info from the support team…

not sure, researching and will update here…

in summary I am tryign to get some info from the producer/support team… lets see what I can do… :stuck_out_tongue:

Thanks a lot!

I got delivered my nodeMCU and I am trying to flash the Firmware… I have found tons of different way, but none is clear to me…

  • Sonoff-Tasmota GitHub refer to a “strange way to put the ESP” in Flash mode… my card has a “flash” button… don’t I just need to push that button???

  • I have also found anodeMCu flasher app

The problem is that I am not sure how to trust “randomly downloaded SW”…

is there any "official way to flash the nodeMCU?

and once I have flashed the card with Tasmota, which IDE will I sue? is there any sample for a simple application?

Thanks all!


The whole point of Tasmota and ESP Easy and the like is you don’t have to write any code. Everything is configured through a web interface. If you want to write code yourself, then you can use the Arduino IDE and you don’t need to flash anything on the NodeMCU. Your developed code IS the firmware for microcontroller.

Thank you @rlkoshak . Which way would you recommend to flash the nodeMCU?

I like this idea… anyone has any youtube video of the "final Result? ( have googled but not much…)

Although you did not ask me I tell you how I did flash my nodemcu to ESPEasy:

It looks like it is not developed any further, so you may need to find another flash software. You can even flash new firmware with the Arduino IDE.
But keep in mind because the ESP8266 is so widely used you will find thousands of ways to flash it.
Just pick one and try, if you are not satisfied pick another one and try again.

Which one? Tasmota, ESPEasy or Arduino IDE? It really depends on which sensors you want to connect to your nodemcu. You can find all that on the web pages of the respective firmware versions:

Also, please keep in mind, you are not anymore in a “plug and play” world, you are now in a world where you need to tinker, flash, test, reflash and that maybe serveral times until it works like intended.

Thanks for the advice, I am just “scared” to download something on my PC which is more of a virus than a “firmare flashare” :stuck_out_tongue:

I have seen few options online with Arduino IDE which I think they will work well :slight_smile: I will report back here my experience form an absolutely newbie…

I like the idea of Tasmota/ESPEasy, because it should be “less code development”… but again, as you said, it might not work for my case…

once flashed the nodeMCU (planning to do it with ESPEasy), I would have to “set what I want/need” to happen…

Lets say that now I have understood how the relay connectors in my alarm system work (alarm system status (on/off) and intrusion detection), how would you connect to the GPIOs?

I have ignore the “self protection” for now because I will not use it (for now)…

any ideas? Thanks heaps