ESP32 serial to to TCP/IP adapter as a wifi bridge between PARADOX and PAI.
I made this adapter for easier integration between my PARADOX SP7000 alarm panel and PAI. (Paradox Alarm Interface) - a wonderful peace of software. I run PAI as add-on in my Home Assistant instalation, but there as many other ways how to run it.
I ordered a custom pcb from JLCPCB. Here is a link to my project.
Connecting to Paradox panel:
Serial on Panel esp32serial2tcpip ┌───────┐ │ Rx ┌╵ ===================== > TX │ Tx │ ===================== > RX │ GND │ ===================== > GND │ AUX+ └╷ ===================== > 12V └───────┘
I use Tasmota. You can use my compiled version or compile your own - serial to TCP is not included in standard pre-compiled builds.
Tasmota rule You need to create rule so serial to TCP/IP is started every time tasmota boots. Go to tasmota console and issue this command:
rule1 ON System#Boot do TCPStart 23 endon ON System#Boot do TCPBaudRate 9600 endon
Don't forget to enable rule by issuing the following command in console:
The following settings needs to be set in your PAI configuration file.
# Connection Type CONNECTION_TYPE: IP # Serial or IP # IP Connection Details IP_CONNECTION_HOST: '192.168.1.10' # Address of the ESP32 IP_CONNECTION_PORT: 23 # Port of the ESP32 IP_CONNECTION_PASSWORD: 'paradox' # IP Module password. "paradox" is factory default. IP_CONNECTION_BARE: true # Used this for base Serial over TCP tunnels
You can follow the instructions edit and load the following . Once done and available on your network you can connect it to your wifi and test it/locate the IP.
|6||GPIO HEADER||H1||SMD-2X6P2.00||1||220-2SMT-2*6PH=4.3MM Gold-plated black|