addConsumptionOffset API Command Question #544
ChutneyMary
started this conversation in
General
Replies: 1 comment
-
It's very simple. It's treated as another source of consumption/generation data that always returns a fixed amount when checked. TWCManager sums all the consumption/generation available in the system, though most people only have a single source that returns non-zero values. If you're in a Track Green Energy policy, there is some logic that doesn't immediately stop charging (just drops down to the TWC's minimum amperage) to see if power becomes available again. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm making some modifications to my automation system and wanted to clarify the behaviour of the addConsumptionOffset API.
I can choose to feed just negative values for 'excess' energy into addConsumptionOffset, or I can have a continuous supply of positive to negative values for the household energy state.
I wanted to clarify whether the addConsumptionOffset has a 'PID' (Proportional, Integral, Derivative) type control or is it much simpler.
ie. two scenarios -
Beta Was this translation helpful? Give feedback.
All reactions