Esp to Domoticz, connection errors
Posted: 16 Feb 2021, 16:42
Hello.
I am writing because I need help.
I'm starting my adventure with ESP and as an amateur I have a problem that I can't solve.
On the Wemos D1 mini pro I did a temperature monitoring (boiler room).
I used 12 pieces of DS18b20 connected to 2 different GPIOs.
Reading is OK (every 600 seconds). The problem is with sending them to Domoticz (http).
I use mobile internet.
Sometimes half a day I do not have readings in Domoticz, then it works, but only part of it.
Esp has firmware: ESPEasy_ESP82xx_mega-20201016
The logs contain the following entry: c001 connection failed.
I added an additional domoticz server (different hardware and address) to rule out a problem on the server side. It did nothing. Same symptom and same errors.
Today I put a PC there and installed the domoticz server (windows 7). I have set up a third server in Esp to send data. Connected to the same WFI network (local area network).
If esp only sends data to domoticz on PC, everything is fine.
If it sends to the server on the PC (local wifi) and to the destination via the Internet then both domoticz have incomplete data (e.g. 5 out of 12 sensors have been sent). Of course, there are many connection errors in ESP logs.
I have tried setting the reading with a 5 second time shift (600,605,610 ....) in the hope that it will have time to send one reading before trying the next one.
I also tried with the "SendToHTTP wait for ack" option enabled - it did not work
How can I fix the problem?
I think it should be set in the controllers parameters somehow
but unfortunately I can't, and I've tried so many different variants that I don't remember what the defaults are.
I will be grateful for your response.
I am writing because I need help.
I'm starting my adventure with ESP and as an amateur I have a problem that I can't solve.
On the Wemos D1 mini pro I did a temperature monitoring (boiler room).
I used 12 pieces of DS18b20 connected to 2 different GPIOs.
Reading is OK (every 600 seconds). The problem is with sending them to Domoticz (http).
I use mobile internet.
Sometimes half a day I do not have readings in Domoticz, then it works, but only part of it.
Esp has firmware: ESPEasy_ESP82xx_mega-20201016
The logs contain the following entry: c001 connection failed.
I added an additional domoticz server (different hardware and address) to rule out a problem on the server side. It did nothing. Same symptom and same errors.
Today I put a PC there and installed the domoticz server (windows 7). I have set up a third server in Esp to send data. Connected to the same WFI network (local area network).
If esp only sends data to domoticz on PC, everything is fine.
If it sends to the server on the PC (local wifi) and to the destination via the Internet then both domoticz have incomplete data (e.g. 5 out of 12 sensors have been sent). Of course, there are many connection errors in ESP logs.
I have tried setting the reading with a 5 second time shift (600,605,610 ....) in the hope that it will have time to send one reading before trying the next one.
I also tried with the "SendToHTTP wait for ack" option enabled - it did not work
How can I fix the problem?
I think it should be set in the controllers parameters somehow
but unfortunately I can't, and I've tried so many different variants that I don't remember what the defaults are.
I will be grateful for your response.