Accessing devices in PTP Bridge CPE network

Welcome
I have a main router that bridges WiFi and a wired network. I had to add a server far away from the main router. So I added a new router in PTP Bridge CPE mode to the existing WiFi. But this is where my mysteries begin. I can connect to the server with my laptop in WiFi mode. However, the server is not able to connect to the WiFi smart home device. If I connect the server to the main router, then I can connect to all the machines.
Where to look for the solution?
Ekrānuzņēmums 2024-08-02 171052.png