Nordic-Thingy52-Thingyjs icon indicating copy to clipboard operation
Nordic-Thingy52-Thingyjs copied to clipboard

Discuss whether to change format of response object from features containing more than one reading

Open williamtfalch opened this issue 6 years ago • 0 comments

E.g. with the gas feature, the current setup makes it difficult to write generic code for all notifying sensors.

We could also change all other return objects to include { featureName: { value, unit } } and iterate over the keys to extract individual features in cases where more than one feature is represented?

williamtfalch avatar May 16 '18 12:05 williamtfalch