mobizt / Firebase-ESP-Client

[DEPRECATED]🔥Firebase Arduino Client Library for ESP8266, ESP32 and RP2040 Pico. The complete, fast, secured and reliable Firebase Arduino client library that supports RTDB, Cloud Firestore, Firebase and Google Cloud Storage, Cloud Messaging and Cloud Functions for Firebase.
MIT License
471 stars 101 forks source link

Is there any Ethernet Connectivity? #248

Closed GauravMall closed 2 years ago

GauravMall commented 2 years ago

I'm trying to create a device with an Arduino and ENC28J60 module. Is there a way to get the ethernet connection and use it for the firebase library instead of the wifi? If the code is simple, please post it, as I have no idea how to do it plus I'm pretty new to ethernet shields on Arduino. If it can't be done, please recommend me another solution. Is it even possible?

mobizt commented 2 years ago

Please look at examples. https://github.com/mobizt/Firebase-ESP-Client/tree/main/examples/RTDB/BasicEthernet

mobizt commented 2 years ago

The library is only for ESP8266 and ESP32 devices. https://github.com/mobizt/Firebase-ESP-Client#unsupported-at-command-and-mobile-modem-bridge

GauravMall commented 2 years ago

Thank you for your response. So to confirm I can't really do anything if I have just my Arduino Nano and an ENC28J60 module connected to it? I must have the listed devices above?

mobizt commented 2 years ago

AVR is not suitable to use in this field of application (database) due to too little memory and flash space.

AVR is for signal and sensor applications only.

GauravMall commented 2 years ago

Basically, I want to read some data from a sensor and send it to Firebase through the ethernet. How can I do it? (Sorry, If I'm being stubborn, I'm new to this so I don't really understand some things well)

Sulomus commented 2 years ago

Basically, I want to read some data from a sensor and send it to Firebase through the ethernet. How can I do it? (Sorry, If I'm being stubborn, I'm new to this so I don't really understand some things well)

You just can't do it with your Arduino setup right now.

Buy ESP32 and connect it to Arduino via serial (if you really need Arduino) and use ESP32 as a IoT device which will connect to Firebase using this library :)

GauravMall commented 2 years ago

Thank you for your response! Okay, will try it out.