I'm not sure the bool values being passed for the optional raw parameter in monsoon_data() are processed correctly. This gets processed by TypeScript but the data returned for passing either True or False does not appear to be different.
The comment for that param reads:
Default is False. If True the data will run through our delta calculation to return totals for all sensors during the monsoon period. When used raw adds datetime to return.
This comment can probably be written better but what I think is supposed to happen is:
True: the delta calculation between each sensor's readings is returned
False: the raw data is returned ex. the total amount of water currently being stored is reported at each report interval
I'm not sure the bool values being passed for the optional
rawparameter in monsoon_data() are processed correctly. This gets processed by TypeScript but the data returned for passing either True or False does not appear to be different.The comment for that param reads:
Default is False. If True the data will run through our delta calculation to return totals for all sensors during the monsoon period. When used raw adds datetime to return.This comment can probably be written better but what I think is supposed to happen is:
True: the delta calculation between each sensor's readings is returnedFalse: the raw data is returned ex. the total amount of water currently being stored is reported at each report interval