type parameter in Energy API /getmeasure is not up to date
Dear Netatmo,
in the Energy API spec, the `type` parameter in /getmeasure endpoint says the allowed values are
Type of data to be returned {boileron, boileroff, sum_boiler_on, sum_boiler}
however, when I tried retrieving data for my smart valve (NRV), I was receiving empty `data` responses for all the above `type` filters.
Later I found out in an example posted in this help page, that there is actually an accepted `type` value `temperature` that retrieves the temperature data. Are there more filters available? I am also looking to obtain the heating level (0-100%) and the 'target temperature'.
note: I am assuming `temperature` returns actual room temperature, not the target.
Kind Regards,
Honza
Comments
2 comments
Hi Honza,
Thanks for the feedback. I think there is missing the "temperature" data type in the documentation
Concerning NRV you don't have any other available type for the /getmeasure endpoint
If you perform a /homestatus call, you'll get :
Hi Honza, Leslie,
after answering me what the heck it's going on here, and assuming that there are apis that also netatmo do not use for itself, something in my mind flashes.
so i made the a call to /getmeasure apis throwing some therms i get from other calls and i reach this result:
/getmeasure type can be also asked with this:
- heathing_power_request
- humidity
- temperature
- sp_temperature
- max_temp
- min_temp
obviously you have to insert in device_id the smarther or thermostat id, and in module_id the valve id.
Please Leslie, suggest netatmo devs to update the public documentation about apis.
I cannot think to all the apis endpoints that exist we cannot use because of lack of documentation..
Thanks a lot
Bogdan
Please sign in to leave a comment.