Brightness vs Illuminance - API Labeling

Curious about the metric naming for the Rest/Socket API:

GET /observations/station/{station_id}

"brightness": 7000,

GET /observations/device/{device_id} (And Socket API)

9 - Illuminance (lux)

It’s the same metric. Just curious about the difference in naming convention. Since one is a label and the other is an array, I’m going to error on the side of merging the name in my variable to the label (brightness) since I’m matching. I am just asking for confirmation of my observation as I tend to merge different API requests for historical purposes and replay.

Thanks!

1 Like