Arduino UNO HC-05 Issues

Hello, As part of our home automation project, we've decided to utilize an Raspberry Pi 4 and Arduino Uno. We also decided to use an HC-05 Bluetooth module to connect these two devices. The issue currently we are facing is that while the Arduino is connected to the Raspberry pi, and is able to connect to other devices, such as android phone and laptop, These devices can't send any data over. If you have any expertise on this, please comment.

It has been years since I have used Bluetooth, but here are some comments.
The HC-05 supports the "classic" Bluetooth serial port protocol. Newer versions of Bluetooth support a higher level interface. They are both called Bluetooth but have about the same relationship as the planet Mars and the candy bar (apologies to international readers unfamiliar with US candies).

To further confuse things some newer BT modules also support the "classic" serial interface. Android and laptops can talk to the HC-05, but require code on the device to treat them as serial ports. On a PC it is fairly easy as they will connect as serial ports and can be treated as any other serial port. I suspect this in the interface you are using on the PI.

Remember the HC-05 is a 3.3V device and needs a level shifter on the receive pin if you are using it with a 5V Arduino. A simple voltage divider on the Arduino transmit pin worked fine for me.

If this is true, it clearly isn't a Bluetooth problem, it's a data transfer problem.

It may also be down to a loose definition of "connect", and not actually true at all. I suggest you start over, and be more specific, by proving data transfer just with the phone.

You might find the following background notes useful.

You may also get value later from here

and also here

No comment on Raspberry Pi, other than that I wonder why you need it, but I understand it speaks much the same language and similar data transmission principles apply. Also show code and wiring - for Arduino.