I'm a programming noob and left most of the base code as it is.
I know I have some output issues from my variables but never knew the base code was this much of a parenthesis mess.
Fixed my not %100 comment about local server (meant that ESP32 is being used as one)
https://www.arduino.cc/en/Reference/WiFiClientConnect ; connect() returns true or false
All functions work properly except the one introduced for freeboard; I can send SMS, I can connect to wifi, I can send data as HTML but not to connect to freeboard.
And it prints "connection failed" with short "c" from dweetdata()