Page 1 of 1

[Solved] Domoticz HTTP with ESP connected through 4G

Posted: 14 Apr 2021, 14:13
by manubis_sanchez
Hello everyone,

My ESP is connected in Wifi with a smartphone sharing 4G connection and I want to send values to my domoticz server on the web.
It doesn't work, I got "HTTP C001 connection failed" in the logs.
I have a working setup in my local network.
Domoticz is running on a RPI3.

It's just a step I want to validate before use a VPN between the smartphone and Domoticz to secure the thing ;)

Thanks for your help.

Re: Domoticz HTTP with ESP connected through 4G

Posted: 14 Apr 2021, 14:48
by Ath
Have you increased the Client Timeout interval for the Domoticz HTTP Controller to something (much) higher then 100 msec? As that is way too low for a 4G connection, should me more in the (tens of) seconds area, I think.

Re: Domoticz HTTP with ESP connected through 4G

Posted: 14 Apr 2021, 15:02
by manubis_sanchez
It was that ! I passed the value to 2000 ;)
I tried so many thing about authentication, port redirection, users, I thought about firewall...
Thank you very much, I learned something :)