Skip to content
Discussion options

You must be logged in to vote

as the WebUI uses the API, it can be done. however, you need to create a request, that imitates the webui "save" button

e.g.

curl -u "user:password" http://ip/api/powerlimiter/config -d 'data={"enabled":"true","lower_power_limit":"10","inverter_id":"ID 00","inverter_channel_id":"CH 0","target_power_consumption":"-20","target_power_consumption_hysteresis":"10"}'

note, that the parameters are not complete. you must add all parameters, you want to set. the 6 paremeters i wrote are the bare minimum. if one is missing, the response will be "Values are missing!".

all parameters can be found here
https://github.com/helgeerbe/OpenDTU-OnBattery/blob/4ee49a6ecb90a800e57db7554a88b53cb0bf55af/src/W…

Replies: 1 comment 12 replies

Comment options

You must be logged in to vote
12 replies
@stanpete78
Comment options

@schlimmchen
Comment options

@schlimmchen
Comment options

@stanpete78
Comment options

@schlimmchen
Comment options

Answer selected by ele-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants