Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Firebase stream problem #286

Closed
Closed
@numpapickmaker

Description

@numpapickmaker

I used Firebase.stream("....") when the program run into Firebase.available() line I got some problem .
and when i comment => //Firebase.stream("....") I got the same problem

#include <FirebaseArduino.h>
#include <ESP8266WiFi.h>

// Config Firebase
#define FIREBASE_HOST "ledonoff-27ac4.firebaseio.com"
#define FIREBASE_AUTH "XXXXXXXXXXXXXXXXXXXXXXXXXXXXX"

// Config connect WiFi
#define WIFI_SSID "XXX"
#define WIFI_PASSWORD "XXX"


void setup() {
  Serial.begin(9600);
  // connect to wifi.
  WiFi.begin(WIFI_SSID, WIFI_PASSWORD);
  Serial.print("connecting");
  while (WiFi.status() != WL_CONNECTED) {
    Serial.print(".");
    delay(500);
  }
  Serial.println();
  Serial.print("connected: ");
  Serial.println(WiFi.localIP());
  
  Firebase.begin(FIREBASE_HOST, FIREBASE_AUTH);
  Firebase.stream("/Node1/LED");  
}


void loop() {
  
  if (Firebase.failed()) {
    Serial.println("streaming error");
    Serial.println(Firebase.error());
  }
  
  if(Firebase.success()) {
    if (Firebase.available()) {
     //nothing 
    } 
  }  
}

Error @ serial port :(

Exception (28):
epc1=0x40206e16 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000

ctx: cont
sp: 3fff1020 end: 3fff1200 offset: 01a0

stack>>>
3fff11c0: 00000000 00000000 00000000 40206e16
3fff11d0: 00000000 00000000 feefeffe 402022a0
3fff11e0: feefeffe 00000000 3fff01c8 40206c04
3fff11f0: feefeffe feefeffe 3fff01e0 40100718
<<<stack<<<

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions