by olivbe » Tue Mar 23, 2021 5:23 pm
Hi Idris,
Thank you for your feedback.
I did enter the correct FIREBASE_HOST and FIREBASE_AUTH.
Below is copy and paste of Serial Monitor window content.
10:07:13.673 ->
10:07:13.673 -> Initialize IMU sensor... done
10:07:13.706 -> Accelerometer sample rate = 104.00 Hz
10:07:13.739 -> Connecting to WiFi.... IP: 192.168.1.39
10:07:17.824 ->
10:07:17.824 -> IMU present
10:07:20.016 -> ...the path choice seems to be not working
10:07:23.905 -> {"X":0.008057,"Y":-0.017456,"Z":0.999878}
10:07:25.867 -> Error: not found, 404 Not Found
10:07:25.900 -> Olala
10:07:25.933 ->
10:07:27.861 -> IMU present
10:07:29.788 -> ...the path choice seems to be not working
10:07:33.743 -> {"X":0.007813,"Y":-0.016235,"Z":1.007446}
10:07:35.703 -> Error: not found, 404 Not Found
10:07:35.736 -> Olala
Note that extra lines are present like
...the path choice seems to be not working and
Olala
since I added as an attempt to debug the program some Serial.println lines like :
// Send data to Firebase with specific path
if (Firebase.setFloat(firebaseData, path + "/1-setFloat/X", x)) {
Serial.println(firebaseData.dataPath() + " = " + x);
}
else {
Serial.println("...the path choice seems to be not working");
}
Thanks again, regards