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

Firebase stream problem #286

Closed
numpapickmaker opened this issue Oct 7, 2017 · 1 comment
Closed

Firebase stream problem #286

numpapickmaker opened this issue Oct 7, 2017 · 1 comment

Comments

@numpapickmaker
Copy link

numpapickmaker commented Oct 7, 2017

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<<<

@proppy
Copy link
Contributor

proppy commented Oct 27, 2017

This should be fixed with #260, please give in another try

@proppy proppy closed this as completed Oct 27, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants