Closed ggamehdtv closed 6 years ago
Which endpoint are you using?
The bridge endpoint
What's the full URL that you are trying to retrieve? :)
Curl -XPOST http://127.0.0.1:3001/bridge/dhwCircuits/dhwA/hotWaterSystem -d ‘{“value”:”on”}’
When I perform a GET
(to retrieve the current value), I get this for my Nefit:
$ curl http://127.0.0.1:3000/bridge/dhwCircuits/dhwA/hotWaterSystem
{
"id":"/dhwCircuits/dhwA/hotWaterSystem",
"type":"floatValue",
"recordable":0,
"writeable":0,
"value":1,
"unitOfMeasure":"",
"minValue":0,
"maxValue":4
}
Which suggests that you can't write a new value to it (because writable
is 0).
Even if it were writable, it expects a numerical value, so the request would have to be something like this:
curl -XPOST http://127.0.0.1:3001/bridge/dhwCircuits/dhwA/hotWaterSystem -d '{"value":3}'
(I have no idea what those values mean)
EDIT
I just realized that the easy
command line tool has an option to switch on/off the hot water supply by writing {"value":"on"}
(or off
) to these endpoints:
/dhwCircuits/dhwA/dhwOperationClockMode
/dhwCircuits/dhwA/dhwOperationManualMode
Try those.
Hello,
I am having an issue with nefit easy http server. When I try to enable or disable warm water it won't change in the nefit easy app. Instead of changing it gives an error in the console of the raspberry:
Hope someone know a fix to solve this because warm water on using http server is someting i'd like to use.
Best regards Justinn