ESP32 WiFi Pressure Switch Project

Job ID: 34374448

Budget: £10 – £30 GBP

I have a pressure switch device which is wifi enabled and sends on/off data a connected mobile app.

I have opened the pressure switch enclosure and there is a ESP32 microcontroller at the heart of the device.
The manufacturer of the pressure switch does not have an API and understandably would not release their proprietary code.

I want to be able to write a custom sketch to run on a separate ESP32 to connect and talk to the pressure switch. To be clear, I do NOT was to overwrite any software running on the pressure switch ESP32.
In order to develop this custom sketch, I need to know what data or commands are being sent to and from the pressure switch. But unfortunately, I do not have enough knowledge about ESP32 WiFi myself and this is beyond my personal skills.

How the pressure switch currently operates:
- Pressure switch consists of the pressure plate and a tri-colour LED.
- Switch connects to a mobile app via Wi-Fi SSID and Password (both are known)
- The App displays the pressure switch’s ID name, IP address, MAC address, battery level, etc
- When the pressure switch is activated (tapped) the LED changes colour and it sends data to the app

I have built a simple sketch, via the Arduino IDE ESP32 WiFi examples, to connect to the pressure switch and successfully print the connection status and IP address to the serial monitor.
Scope of this project:

I need a simple ESP32 sketch that connects to the pressure switch/mobile app via WiFi and to outputs to the serial monitor any data that is being sent/received like. From this I can hopefully reverse engineer how to communicate to the pressure switch via my own custom sketch.

The developer will not have physical access the to pressure switch device, but if required am happy to set up screenshare sessions as required to test via IDE or Bluestacks which is running the app connected to the pressure switch.
Related categories: Electronics Electrical Engineering Arduino WiFi