Notification from another LAN

I have an ESP in another LAN (the office) with which I communicate using “http binding”
from OH to ESP I have no problems using:

 {http = "> [ON: POST: http: // xx / LIGHT]", autoupdate = "true"}

but to receive on/off notification , how can I do? knowing that OH is behind a VPN?
thank you

Have you thought about using MQTT for this?
If you are able to route HTTP traffic from one lan into another, MQTT should work as well IMHO.
And using PubSubclient on the ESP is also pretty straightforward

1 Like

I use it inside the LAN for another service, I’m testing it
thank you