Search code examples
node.jsnest-api

Differences between Nest website and Firebase API


My program is using the Firebase API and successfully getting data and changes back.

If you compare the data returned from the Firebase API and the nest website (Rest API) it looks like the Firebase data is rounded to the nearest integer (temps) or the nearest 5% for humidity.

Is this expected behavior? Why would the REST API have more exact numbers when Firebase is the preferred access method? How can I get the most exact data from Firebase.

Firebase data
Data from Firebase API

Rest API data enter image description here


Solution

  • You are using the unofficial API for the calls that are updating your spreadsheet. The unofficial API has no support of guaranteed accuracy.

    As a side note use of the unofficial api is also very insecure. Never put your user credentials into anywhere other than a Nest owned domain.