nefit-easy-http-server icon indicating copy to clipboard operation
nefit-easy-http-server copied to clipboard

Change temperature steps from 0.5 to 0.1 degrees

Open pascalbianca opened this issue 5 years ago • 5 comments

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?

pascalbianca avatar Mar 01 '20 07:03 pascalbianca

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 }

robertklep avatar Mar 01 '20 07:03 robertklep

whats the name of the file what i must change?

pascalbianca avatar Mar 01 '20 08:03 pascalbianca

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

robertklep avatar Mar 01 '20 08:03 robertklep

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

pascalbianca avatar Mar 01 '20 08:03 pascalbianca

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.

robertklep avatar Mar 01 '20 08:03 robertklep