Replies: 2 comments 1 reply
-
In web_server.h there is a small explaination of the options possible, e.g. /events. event: state How do I access this info by using a http request? |
Beta Was this translation helpful? Give feedback.
-
Any update? I would like to see also additional options under climate such as humidity etc. |
Beta Was this translation helpful? Give feedback.
-
Hi all,
I'm using Loxone for monitoring and controlling devices at home.
Without using Loxberry and such, I use REST API to directly collect the status of several features of my AC. A lot of info about the AC is handy, but I mostly miss the power consumption.
When accessing /Climate/ the webserver sends this .json text:
{"id":"climate-xxxxx","mode":"OFF","max_temp":"30","min_temp":"18","step":1,"fan_mode":"MEDIUM","swing_mode":"OFF","current_temperature":"22","target_temperature":"23","state":"23"}
I looked at Web_server.h in the web_server folder and see that all objects are called linked to Climate (referred to climate component):
/// Dump the climate details
std::string climate_json(climate::Climate *obj, JsonDetail start_config);
In the folder with the climate components I see that in climate.h and climate_traits additional features such as power usage, outdoor temperature and defrost status is lacking.
Can anyone help me to add these features to these files? Or is there already a solution for this?
Much thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions