LPC failsafe write fails #114
-
Hi, When writting the failsafe duration or limit as an EG I get the error on the CS side: update failed, likely not allowed to write I cant figure out why this happens - any idea? I am using WriteFailsafeConsumptionActivePowerLimit and WriteFailsafeDurationMinimum BTW errors are sent to the debug log.... maybe its worth adding an error log type as well? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Did you initialize the CS data storage using the available public methods? These kind of errors are send on debug on purpose for now. I would need an actual log and code example to say what is happening. The above mentioned is the most likely cause. Also the version of the libraries are relevant. |
Beta Was this translation helpful? Give feedback.
-
Its with the latest version Init storage how? Sounds like this is probably it... Setting the consumption limit works if that helps |
Beta Was this translation helpful? Give feedback.
-
I assume latest version is the latest release. There the default is to not allow write. You can either use the latest commit on the dev branch, which changed the default, or you can call In general you should initialize all data structures in a controllable system to your desired default values. The stack can't know these. And always do this before |
Beta Was this translation helpful? Give feedback.
Please try the dev branch. In my test it works there