Depending on how you’ve set up your local network, router etc, the request might not reach your local server. Using DDNS your traffic would probably take a loop to the “outside” just to be stopped by your router.
Thanks for your help!!
The solution was to use the local configuration and 8080 port, as simple as that… I was blind trying to use DDNS details…
My only concern is the time it takes to update the Vpin of the other project… it takes less than 2 seconds, but as I’m running local server, those 2 seconds are a lot for me!
I’ll do more tests but the good point is that now I turn on a lamp when the door is open and turn it off when the door is closed… simple but useful!
Bad idea… now everytime I turn on the light with the original project it goes off after a few seconds due to the fact the door is closed!!!
I need to think something different… bridge should be the best option…