We have upgraded the community system as part of the upgrade a password reset is required for all users before login in.

Pushing sensor data to Firebase from Omega

  • In this project we collect the sensor data from digital sensors such as DHT11/22, infrared flame detection sensor and push it to Firebase : Real time database and update these values from time to time (user defined time intervals). Additional sensors can also be added accordingly.

    We require onion omega 2+ with it's expansion dock and some connecting wires(male to female type). We use the python interface to the Firebase's REST API by Ozgur and here is a walkthrough to all the methods provided by the API.

    The installation is done using pip. The usage of pip on onion omega 2+ is given in omega's documentation and here's the link.

    It should look something similar to this if successfully installed on omega.
    pip install requests
    pip install python-firebase
    0_1525774768017_picture2.png The omega will automatically download and install all the required packages.

    For interfacing and using DHT11/22 with the omega 2+ we use the dht-sensor program developed by onion and here is it's installation guide.

    I have used python 2.7 and written a generalised program which can be pulled from this git repository. The program consists of these lines of code to authenticate the firebase user.0_1525776948329_picture3.png You can find your database secret as mentioned in here. Fill in your gmail account which you used for logging into Firebase in the next field. Next fill in the project URL given in your Firebase database.

    When you run the program and everything works fine, it should look something similar to this in your terminal.0_1525777427823_picture4.png
    These values are accordingly updated(simultaneously) in your firebase database.0_1525777745274_picture5.png The values will be updated everytime the omega pushes in new values in the respective nodes.

  • Nice IoT/Smart Home application and library, I like it!

    Small heads up on the formatting: The first link has a () appended which results in a 404. Also you might want to use double-newlines before and after a picture so that they don't go through the text.

  • I am glad that you liked it and sorry for the mashed up text and pictures, for the walkthrough of the methods provided by the REST API go through the README file of this git repo : https://github.com/ozgur/python-firebase.git

Looks like your connection to Community was lost, please wait while we try to reconnect.