Based solely on experience with alarms of this period (i.e. guessing) - the “wired commands interface” is probably a serial RS232 port, which would allow an external system to interrogate and control the alarm. Really useful!
But sadly, unless you can get the manufacturer’s specification for the data protocol used, not much chance of exploiting that. As a security system, that is likely been made deliberately difficult.
One approach might be to find out if there is a PC application around that will talk to the alarm. You could then monitor the data traffic and figure out essential commands and data. Very tedious!
I would guess again, that the RJ45 socket is another way to the same serial port, perhaps an RS485 version. It’s not likely to be a LAN port, that would usually be an add-on option.
I don’t think you’ll be able to remotely set or unset this alarm system without this knowledge. However - if you have the installer’s manual it might describe how to control the alarm from a keyswitch instead of keypad. Such a keyswitch could be simulated by a relay under OpenHAB control.
As sihui says, there are many ways to connect two binary sensors for alarm on/off and alarm normal/ringing indication (and possible relay for alarm enable/disable). You might want to decide how your home system might develop in the future, to help choose a suitable technology here - zwave, KNX, WiFi ESP, blah.
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.
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 : what else do you think I need? my thoughts says:
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
Sorry again to be so annoying Am I missing Anything?
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?
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
alternative, can I capture the “remote” signal and duplicate it? I would just need to turn the alarm on/off…
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
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
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…
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.
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.