I tested the program today; I have a silly question: do I have to exit from the Bentel program to see the info? I’m asking because I entered the Bentel program mode to remove the cover
I tried to switch the RX/TX but I see all the time this message:
[18:12:52][V][mdns:086]: Services:
[18:12:52][V][mdns:088]: - _esphomelib, _tcp, 6053
[18:12:52][V][mdns:090]: TXT: version = 2022.1.1
[18:12:52][V][mdns:090]: TXT: mac = 083af2ac0948
[18:12:52][V][mdns:090]: TXT: platform = ESP32
[18:12:52][V][mdns:090]: TXT: board = esp32dev
[18:12:53][V][component:199]: Component <unknown> took a long time for an operation (0.11 s).
[18:12:53][V][component:200]: Components should block for at most 20-30ms.
[18:12:53][V][component:199]: Component <unknown> took a long time for an operation (0.11 s).
[18:12:53][V][component:200]: Components should block for at most 20-30ms.
[18:12:54][V][component:199]: Component <unknown> took a long time for an operation (0.11 s).
[18:12:54][V][component:200]: Components should block for at most 20-30ms.
[18:12:54][V][component:199]: Component <unknown> took a long time for an operation (0.11 s).
[18:12:54][V][component:200]: Components should block for at most 20-30ms.
[18:12:55][V][component:199]: Component <unknown> took a long time for an operation (0.11 s).
Hello, yes, I’ve to add it in FAQ
The central doesn’t reply to serial request if it’s in programming mode.
You can disable cover tamper by setting the jumper next to the lid sensor (check the manual).
If with “232” you mean MAX3232, connection should be straight, TX-TX / RX-RX.
In any case, as recommended in the FAQ, at worst reverse the two pins.
As I said before I have never tried it with ESP32, that’s why I would have advised you to make a connection test right away before losing time with the configuration
Hi,
It works
I’m able to read the status of zones and area, now I must study a little bit to “reverse” the configuration; because the “nice” guy that configured the system didn’t give me good details. He also used 4 extenders, so the config isn’t clear
for now, I mapped all of them, when I understand the association between the different zone and the physical objects, I will clean up the unused zones/areas
I am trying to have your integration to work with a KYO320 alarm (not 32G).
I managed to flash my NodeMCU with the espkyogate_configuration.yaml properly configured and I get the integration up and running in HA.
I connected the NodeMCU to the alarm control unit with a MAX232 adapter, and the configuration is:
NodeMCU TX → MAX232 TX
NodeMCU RX → MAX232 RX
As I was unfortunately expecting, my KYO320 unit cannot apparently be controlled by this integration.
I would be happy to try and modify your code to have it working with the KYO320, but I have no idea where to start. Do you have any suggestions?
I only have the installation manual for the KYO320, but no accesso to the “Bentel Security Suite” software…
Hello @mrcsrplln
Yes, I know that KYO320 has a slightly different protocol to KYO32.
Since it is not documented (thanks Bentel) I have to do some reverse engineering.
In the meantime you can try to enable serial logs.
@lorenzo-deluca , how did you manage to place all the components (esp, RS232 and 12V to USB)?
The only convenient location I can see is in the left-down corner between the box edge and the battery
I’m thinking to place the RS232 next to the ESP and the 12VtoUSB on the side
Hi, I have a standard plastic box for my kyo and I connected the DC/DC converter to the aux power connectors of the kyo board (13.8 V), so that in case of mains problems, the esp8266 is powered by the alarm battery (you need to have your AP/modem connected to a UPC). The esp8266 (wemos d1 mini) and the max3232 board are inside a small plastic box. Since the box is too small to arrange the two PCBs at the bottom i used the spacer of the box to screw the max3232 to the bottom (M2.5 screws), and used some plastic spacers and M2 screws to mount the wemod d1 mini to the cover, so than when the box is closed the two PCBs are partially overlapped. This is my list of materials:
UPDATE:
If not clear, the DC/DC converter is inside the plastic box of my alarm, positioned next to the power supply, but outside the small box of the esp8266 + max3232 which is positioned on the opposite side.
today I was able to finally manage to set up the HW to place the ESP inside the box
There is something weird about the logs, because I started to receive this message, any ideas?
[16:37::23][V][api.connection:808]: Hello from client: 'Home Assistant 2022.2.9 (::FFFF:C0A8:10A)'
[16:37:23][D][api.connection:826]: Home Assistant 2022.2.9 (::FFFF:C0A8:10A): Connected successfully
[16:37:23][V][component:199]: Component <unknown> took a long time for an operation (0.11 s).
[16:37:23][V][component:200]: Components should block for at most 20-30ms.
[16:37:24][V][component:199]: Component <unknown> took a long time for an operation (0.11 s).
[16:37:24][V][component:200]: Components should block for at most 20-30ms.
[16:37:24][V][api.connection:892]: Cannot send message because of TCP buffer space
[16:37:24][V][api.connection:892]: Cannot send message because of TCP buffer space
[16:37:24][V][api.connection:892]: Cannot send message because of TCP buffer space
[16:37:24][V][api.connection:892]: Cannot send message because of TCP buffer space
[16:37:24][V][api.connection:892]: Cannot send message because of TCP buffer space
[16:37:24][V][api.connection:892]: Cannot send message because of TCP buffer space
[16:37:24][V][api.connection:892]: Cannot send message because of TCP buffer space
This is very interesting project. I have amc alarm with x824 board. It is Italian alarm system like Bentel. I connected alarm and all sensors, expansions, uniqa and outdoor siren myself. It is wired alarm system similar to this one. I have sim and lan board on alarm so I can control it over sms, phone call or over app. I have a small vontes router connected to lan port and I can control it with amc android app as it is connected to amc cloud.
I cant integrate this alarm system into home assistant.
My alarm board does have com to usb port and this port is intended for alarm setup over comp. Alarm can also be configured remotely but you have to use cloud and cloud communication is encrypted.
What you did was basically connected esp board on it and you can control your alarm system over esp board.
I know you dont have amc alarm but can this firmware be used on similar alarm systems or this is written to be used exclusively on Bentel board?
Hi, unfortunately this implementation is brand and model specific. I made a quick check and it seems that several AMS models implement the SIA DC-09 open protocol (maybe you have to enable it on the alarm). SIA protocol is supported by this integration in home assistant:
Yes, this alarm support SIA DC 09 protocol. I tried to set it up when I started with home assistant, but no luck.
There is a amc forum but people there are, how to say this politely, acting strange. Oke, I will try again to set things using SIA protocol. But if I dont succeed, I will ask for help or guidance on this thread.
For ip address i used home assistant ip and for port I set 1010 and uploaded config in alarm panel. in home assistant sia integration i used the same port and I used my admin account translated in hex but alarm is disconnected and devices are unavailable.
I dont have any errors in logs for sia integration.