Replies: 3 comments 1 reply
-
|
Okay, I am answering my own ticket. I've just found the solution: This reads the active rate: This writes the active rate: |
Beta Was this translation helpful? Give feedback.
-
|
Hello @wiesener can you help me perhaps with the hole script / command? I've got an MIC 2000 T_LX with a dynamic contract. And when the price is to negative i want to temperary limit the pv-active rate. Thank you in advance |
Beta Was this translation helpful? Give feedback.
-
|
hi mvdh02, sorry was busy. So here are some script snippets. I hooked a self-made battery directly to the PV input, which works perfectly. Now I am writing some automation with rpi and some relais and python vodoo to charge and discharge the battery appropriately. You will definitely have to generate a API key via the growatt app. And then all traffic will flow via the chinese growatt server. Hence, some delay will be in. But should be okay for slow changing stuff. If you want it fast and direct, you will need to flash the wireless stick as described in some projects. But so far I've tried without. I have a shelly 3PM which measures the house consumption. Since I have a bigger roof PV and a small balcony PV for playing around I need to track if the bug PV is still sufficient and only discharge the battery if house pulls some power from the net. But I guess for you purpose it would be good to start with some basic python stuff. I would suggest chatgpt and some tutorial. But, here is my simple script. You need to replace the xxx with your API keys (keep it secret) and the device code or serial number. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I would like to change the active rate via command. I've could read the parameter via
data = api.min_settings("xxxxxxxxx")And there I can see the parameter
'activeRate' = xx. But if I try to set it viaapi.min_write_parameter(device_sn, parameter_id, parameter_values)But this gives an error. How do I get this information to set this parameter.
Beta Was this translation helpful? Give feedback.
All reactions