mobizt / Firebase-ESP8266

[DEPRECATED] 🔥 Firebase RTDB Arduino Library for ESP8266 and RP2040 Pico. The complete, fast, secured and reliable Firebase Arduino client library that supports CRUD (create, read, update, delete) and Stream operations.
MIT License
411 stars 111 forks source link

Configuring IP Address doesn't allow Firebase to begin properly #231

Closed NiteAx closed 3 years ago

NiteAx commented 3 years ago

Hi, i'm having an issue where configuring a specific IP when starting Wifi causes firebase to never start.

      WiFi.mode(WIFI_STA);
      IPAddress local_ip(192, 168, 0, 100);
      IPAddress gateway(192, 168, 0, 1);
      IPAddress subnet(255, 255, 255, 0);
      //WiFi.config(local_ip, gateway, subnet);
      WiFi.begin(ssid, pass);

Firebase Client starts fine as long as the line of code is commented out in the snippet above. Otherwise, it just stops here: Firebase Client error

Is there a way around this?

mobizt commented 3 years ago

This is not a library issue. Make sure your router provide the ip in range 192.168.0.x This question should ask on community forum e.g. stackoverflow or esp8266.com.