kmpelectronics / ProDinoESP32

1 stars 1 forks source link

Blynk with static ip doesnt work #3

Open meinsm opened 1 year ago

meinsm commented 1 year ago

Hi, i have a ProDinoESP32. My code is like: `

include "Ethernet/EthernetClient.h"

include <../Blynk/src/Adapters/BlynkEthernet.h>

static EthernetClient _blynkEthernetClient; static BlynkArduinoClient _blynkTransport(_blynkEthernetClient); BlynkEthernet Blynk(_blynkTransport);

include

IPAddress ip(192, 168, 1, 197); IPAddress gateway(192, 168, 1, 1); IPAddress dnsserver(192, 168, 1, 1); IPAddress subnet(255, 255, 255, 0);

void setup() { KMPProDinoESP32.begin(ProDino_ESP32_Ethernet); Ethernet.begin(mac, ip, dnsserver, gateway, subnet); server.begin(); } `

If i delete all the blynk-related code the esp32 is working with static ip and in LAN. But with blynk and static ip nothing will work. If i use dhcp, everything is working.

What do i miss?

Thank you in advance.