robertklep / nefit-easy-http-server

HTTP server to access Nefit/Bosch XMPP backend over HTTP
MIT License
38 stars 15 forks source link

Change temperature steps from 0.5 to 0.1 degrees #42

Open pascalbianca opened 4 years ago

pascalbianca commented 4 years ago

Hello,

Question. I got it to work, but i want the steps up/down instead of 0.5 degrees to 0.1 degrees. What file must be changes to do this?

robertklep commented 4 years ago

There isn't any code in the HTTP server that enforces a particular step size.

There's an endpoint /ecus/rrc/temperaturestep that can possibly be used to set the step size, but I never used it myself.

You could try setting it using a PUT request to /ecus/rrc/temperaturestep of the Easy HTTP server with a payload of { "value" : 0.1 }

pascalbianca commented 4 years ago

whats the name of the file what i must change?

robertklep commented 4 years ago

There is no file you must/can change, it's a dynamic setting.

pascalbianca commented 4 years ago

i'm sorry but i don't understand exactly what you mean :(

robertklep commented 4 years ago

The step size isn't configured in a file, it is configured in the Nefit device itself.

To change it, you need to make an HTTP request to the Easy server (the one that this project provides) as explained in my previous comment.