Open AlexZ1402 opened 10 months ago
Hello, if you can read the values via swagger, then you should be able to see which parameter points are provides as writable
in /v2/devices/{deviceId}/points
. Only these parameters are translated into adjustable entities:
here as an example set the temperature to 23°C and the temperature is also set in the nibe heat pump without any problems
Curl
curl -X 'PATCH' \ 'https://api.myuplink.com/v2/devices/xxxxxxxxxxxxxxxxxx/points' \ -H 'accept: text/plain' \ -H 'Authorization: Bearer xxxxxxxxxxxxxxxxx -d '{ "47398": "23" }'
Server response Code Details 200 Response body Download { "status": 200, "payload": { "47398": "modified" } }
I think Nibe has a problem with the API, I have just connected to Google Home and the control is exactly the same, only these 2 can I control like in the Home Assistant and Alexa only has these 2 control options
I think Nibe has a problem with the API
Agree, when I requested the device points using myUpLilnk Swagger (https://api.myuplink.com/swagger/index.html), the writeable device points are the same as in the HASS UI. For example the fan mode is read-only. I have Nibe F370.
But in myUplink Web UI, I can control the fan speed. When checking the network requests in the developer view, I can see that the fan speed is not requested with the documented API
Invoke-WebRequest -UseBasicParsing -Uri "https://internalapi.myuplink.com/v2/devices/emmy-r-191911-20240319-06605623192008-d8-47-8f-53-a0-30/points/47260" `
-Method "PUT" `
-ContentType "application/json" `
-Body "{`"value`":`"2`",`"unit`":`"`"}"
I could find any support service for the API, anyone seen?
Control is a service call. Only for boost true false. Should work with turning on the switch manually also. Mine is called:
switch.[redacted]_increased_ventilation
Control is a service call. Only for boost true false. Should work with turning on the switch manually also. Mine is called:
switch.[redacted]_increased_ventilation
That was helping me, too
Hello, I have a problem that only 2 adjustable values appear for me premium account is available I can read values via Swagger
how can I solve the problem? anyone an idea?
Greetings Alex