@OldSurferDude well, the ESP8266 is limited to 4 TCP clients in arduino IDE. This can't be really increased. I did som experiments and you can set it up to 15, but after the 5th client on my web server, I got a freeze.
Maybe you got something wrong. #define MY_GATEWAY_MAX_CLIENTS 2 defines how many controllers (eg Home Assistant) can connect to the gateway, not how many sensors/MySensors devices.
And yes, you can have multiple TCP gateways in HomeAssistant. I got an NRF24, an RFM95 long range and a RFM95 short range gateway (all based on ESP32) on the same Home Assistant.
Regards, Edi
@vlad I am having the same issue. Where did you change keepalive timeout to a long time?
Essentially, what file did you edit, what parameter and to how long?
@JahFyahh - I still haven't managed to et round to it. I've been really busy since this project and its still hectic here. I'm sure i read a few reviews somewhere, here or google. Not sure.
Thanks again, learned a lot... I decide to give a try there, I also had a look on some components' datasheet and seems to be what I need... Let's see, if end up getting the boards I'll publish a review here later.
The final version of the boards contains few notable improvements
Removed the PCB under the ESP8266 antenna. The previous design had PCB + Ground Plane, which resulted in VERY low reception. It worked just few meters away from the router.
Removed the Temperature Probe - On the one hand - it does not really measure real temperature, on the other hand it populates the Single Analog port, and makes it unavailable for other usages
Added place for an optional LDR (in case the Analog port is not used - one could add an LDR for added value)
The connection between GPIO 16 and RST (Deep Sleep) is not bridged via a 0603 0ohm resistor (jumper). Depending on application it may be enabled or not
Added a Power 5V line. That is - controlled via a SOT232 mosfet and one GPIO. This way you can connect power hungry modules and then turn them on or off. There are small mosfets rated ~ 2-3 amps for couple of cents.
The big 12mhz crystal for the CH340G was replaced by a small patch ceramic oscillator to save space
Added an additional mounting hole
Added additional test pads for the unused GPIOs
Added one Diode in series with the power to the WS2812B LED. It turned out, when powered directly via a USB Battery bank, the voltage can be 5.30-5.40v. And apparently WS2812B, does not light if VIN is > 5.15V. So putting a generic small Diode would drop 0.3-0.4V
Here is how the latest design looks like