@Protoncek
Great, soon I’ll check the alarm panel with the tecnoalarm technician and see what we have available.
Thank you so much for the extensive information and your tips, Pavel!
Just a last question ( general one), do you think that a raspberry pi with gpio pins would suit my case as well and work similarly to the mcp23017+home setup that you described yesterday?
Thank you again
I don’t see why not, if you can program gpio as input or output (i don’t know pi, since i dodn’t work with it yet on HA). Just watch for voltage levels: pi has 3.3v, while tecnoalarm has 12v. Maybe it would be a good idea to connect relays to tecnoalrm outputs (and to pi ones also), so that yóu’re safe.
Oh, nice, I’m reading on raspberry pis and relays.
Thank you so much once again for all your tips!
Hello everybody. I’m from Italy too, so if you want to debate in Italy please write me.
I’ve a tecnoalarm p4-20 in the home that I just bought. I would like to integrate in home assistant with konnected (in parallel) but I need to know how can I know the status of the alarm ON/OFF on home asssitant. I read something about output function but didn’t understand. I’ve the master code if could help. Thank you.
TP4-20 is pretty old and somewhat limted panel. First, if you don’t have installer code you won’t do anything. Master code is not capable of programming anything.
Yes, you can program outputs to show status of programs, but right now i don’t recall if 4-20 has 4 or only 2 outputs.
But, if you are not familiar with programming i suggest that you call a proffessional…
I’ve the code that installer use but anyway i can ask directly to a professional installer.
But about konnected i need to know if the output could be a solution for parallel installation.
Thank you.
Yes, output can be programmed to indicate if certain program is on or off. Then you can connect a relay on those outputs, and, say, use esp module, programmed as input (or shelly input… etc…) to show state in HA.
I checked manual: TP4-20 has two outputs and 4 programs - so if you use all 4 programs then you’ll have to decide which two you wish to monitor in HA. However, there might me a solution if you have zones extender (speed 4 or speed 8) - depending on which model of extender you have they might also have two outputs, so if you have wires you might be using those, too.
Hello everyone, I also have a Tecnoalarm system (I will check tomorrow the exact number) where I can activate/deactivate the alarm with the mobile app (which is horrible btw).
As far as I can see there are 4 ports open
PORT STATE SERVICE
10001/tcp open scp-config
10002/tcp open documentum
10003/tcp open documentum_s
10004/tcp open emcrmirccd
MAC Address: xx:xx:xx:xx:xx:xx (Tecnoalarm S.r.l.)
10001 is the port forwarded.
I read here mentioned the “tecno-out” protocol, which seems to be “closed source”.
Was anyone able to reverse engineer what is being sent from the mobile app?
Ideally I would like to understand what is being sent to this port to turn on/off the alarm.
Thank you
I guess that even if someone would “decode” it it would be pretty much useless. I bet it’s encoded communication - at least it’s logical that it should be. If anyone would be able to decode “talking” between app and panel then such system would be very vulnerabile and thus pretty much useless, since anyone with decent knowledge would be able to turn of alarm.
Thus said, i have somewhat mixed emotions here… on one side it would be nice to have Tecnoalarm integration in HA, on the other side it would be just one more thing to consider and guard against attacks and intrusions… if someone hacks your HA it’s also in your house in that case…
And, i agree that app is terrible. New one (Evolution) is somewhat better (but not much), but sadly available only for some panels, not all. Also, old app can communicate directly with panel (via your ddns if you have it), while newer app is mandatory driven via tecnoalarm cloud, and this is prone to “not-functioning” if tecnoalarm could is down…
I suspect that should be the case as well.
I quickly tried to run MITM proxy to intercept the traffic but I couldn’t see any traffic from the Tecnoalarm app.
Okay I was able to intercept the traffic but I can only see a bunch of hex which is probably encrypted not sure where to start trying to decrypt this
I have a TP8-64 panel that was installed in 2008 and I’m looking to replace it with a new panel (TP8-88 maybe?) mainly because we want to be able to control the panel via an app instead of a series of phone keys that we never manage to remember.
It would be a very nice plus if it could somehow be integrated with HA, at least to see whether it is armed or not and it would be a bonus if there was a way to turn it on also via HA. From the explanations above from Pavel, I understand that this should be doable with ESP if the installer programs the outputs and inputs accordingly.
I saw in the brochure of the TP8-88 panel that it also works with Alexa. On the page of the Tecnoalarm Alexa skill , it is mentioned that “You can ask Alexa to activate the alarm or ask the status of a control panel”. Could this then mean that it will show up in HA via the Alexa integration, without the need for an ESP module?
Home Assistant can control Tecnoalarm using Alexa Tecnoalarm skill.
An Echo device is needed.
-
In the Tecnoalarm app connect the alarm to Alexa (I’m using myTecnoalarm app)
-
Open Alexa app on the phone, install Tecnoalarm skill and test it. Before next step be sure you can control your alam with Alexa
-
Install Alexa Media player integration in HA
https://www.home-assistant.io/integrations/alexa/ -
Send the command via script:
alias: Disable alarm
sequence:
- service: media_player.play_media
data:
media_content_id: Disable alarm with code XXXX
media_content_type: custom
target:
entity_id:
- media_player.eco
mode: single
The “media_content_id” can be different, anyway is the one that is working with Alexa
The code XXXX is not your alarm code, it’s given in the Alexa app.
Alexa gives you a confirmation via Echo every time you run the script.
Unfortunately the voice feedback cannot be turned off.
Is that safe? I don’t know, but you are exposing your alarm to Alexa and to HA.
Many thanks for the info.
For security reasons, it’s not great that the alarm can be disabled via Alexa.
Ideally, it should be limited to turning on and asking for the status.
First post on the forum, please be gentle
Introduction
I have a TecnoAlarm system (TP20-440) and I use the “myTecnoAlarm TCS” app (the grey one that looks like it’s from the 70s), necessary for connecting through Alexa.
I want to expand on what @yashijoe briefly wrote.
Objective
Integrate my wired alarm system with Apple Home.
Requirements
- TecnoAlarm system compatible with Alexa
- An Alexa device (Echo) or a smartphone with the “Alexa” app installed
- HACS (free HA Community Store) in your HA setup
Configuration
-
Install the TecnoAlarm skill on your Alexa device.
It will ask you to log in (same as the app) and to set a 4-digit code (only needed to disable the alarm) -
Through the myTecnoalarm TCS app, enable integration with Alexa.
Enable programs for “at home”, “away”, and “night” modes. -
Install the free Alexa Media Player integration via
HACS > Integrations
panel.
Follow the guide in the wiki for configuration.
(only the first two points “Enable Two Factor Authentication for your Amazon account” and “Built-in 2FA App” are needed) -
Add the Alexa Media Player integration from
Settings > Devices and Services
in HA.
Log in with your Amazon account. -
Add scripts to enable and disable the alarm
# file: scripts.yaml
alarm_enable_home:
alias: Enable alarm | at home
sequence:
- service: media_player.play_media
data:
media_content_id: Enable <device-name>
media_content_type: custom
target:
entity_id: media_player.this_device
icon: mdi:alarm-light
mode: single
alarm_enable_away:
alias: Enable alarm | away
sequence:
- service: media_player.play_media
data:
media_content_id: Change <device-name> to mode away
media_content_type: custom
target:
entity_id: media_player.this_device
icon: mdi:alarm-light
mode: single
alarm_disable:
alias: Disable alarm
sequence:
- service: media_player.play_media
data:
media_content_id: Disable <device-name> with code XXXX
media_content_type: custom
target:
entity_id: media_player.this_device
icon: mdi:alarm-light-off
mode: single
<device-name>
: Use the device name found in the Tecnoalarm/Alexa App (mine was “Alarm Villa Praga” as in myTecnoalarm TCS app)- You can use two commands to enable the alarm:
enable
which selects the default mode (home) andchange
with the mode (home, away and night).
WARNING! Test the commands in the Alexa app first!
target.entity_id
: represents the device to issue the command on. You can usemedia_player.this_device
which is automatically configured by the integration or another Alexa device on which you will always have audio feedback on the commands.
-
[optional] Install
Alarmo
fromHACS > Integrations
for an easy configuration of an alarm interface for HA.
(of course, it can also be configured manually). -
Configure automations to communicate the scripts with Alarmo.
# file: automations.yaml
- id: enable_alarmo_home
alias: Enable alarm (home)
trigger:
- platform: state
entity_id:
- alarm_control_panel.alarmo
from: disarmed
to: armed_home
action:
- service: script.alarm_enable_home
mode: single
- id: enable_alarmo_away
[...] # same as above, but
from: arming
to: armed_away
action:
- service: script.alarm_enable_away
mode: single
- id: change_alarmo_to_home
alias: Change alarm to home
trigger:
- platform: state
entity_id:
- alarm_control_panel.alarmo
from: armed_away
to: armed_home
action:
- service: script.alarm_disable
- service: script.alarm_enable_home
mode: single
- id: change_alarmo_to_away
[...] # same as above, but
from: armed_home
to: armed_away
- service: script.alarm_disable
- service: script.alarm_enable_away
- id: disable_alarmo
alias: Disabilita allarme [alarmo]
trigger:
- platform: state
entity_id:
- alarm_control_panel.alarmo
to: disarmed
action:
- service: script.alarm_disable
mode: single
- the
from
state depends on how Alarmo is configured (can bearming
ordisarmed
). Default settings has an arming time of 1 minute when change the alarm to away and no time of activation for home mode. - when changing from a mode to another (without disable the alarm first) you need to manually disable the alarm first, because the Skill doesn’t support changing mode when active
- [optional] Use
HomeKit Bridge
to integrate the alarm in Apple Home.
Conclusion
I hope this has been helpful in some way, as I’ve been struggling for a month trying to integrate this alarm and make it smart. Of course, the question remains “is it safe to expose the alarm to these devices?” I leave the answer to different situations.
Hi Mattia,
Last year I was able to decrypt calls from my tecnoalarm app and replicate something using postman.
I’m totally new in home assistant but I think it’s possible to build an integration, Unfortunately I have very few time for this project but I’d like to recover it.
Setting up a Git with all you find can leave some precious information for someone familiar on HA plugin
Well… I have to find a little bit of time to recover all information I had discovered
Anyhow my panel should be TP42 (or TP10-42, is it the same?)