sayanee / basil

capacitive soil moisture sensing
10 stars 0 forks source link

integrate latest 2 weeks data in Firebase #19

Closed sayanee closed 8 years ago

sayanee commented 8 years ago

Firebase is not storing data on fresh re-deploy of code

sayanee commented 8 years ago

Technical implementation:

  1. query by startAt and endAt in Firebase: api docs
  2. edit rules in Firebase:

    ...
    "basil": {
       "data": {
         ".indexOn": "published_at"
       }
    }