Interface TeslaPowerwall2Core
- All Superinterfaces:
OpenemsComponent
- All Known Implementing Classes:
TeslaPowerwall2CoreImpl
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
_setSlaveCommunicationFailed
(boolean value) Internal method to set the 'nextValue' onTeslaPowerwall2Core.ChannelId.SLAVE_COMMUNICATION_FAILED
Channel.Gets theTeslaPowerwall2Battery
.Gets the Slave Communication Failed State.default StateChannel
Gets the Channel forTeslaPowerwall2Core.ChannelId.SLAVE_COMMUNICATION_FAILED
.void
setBattery
(TeslaPowerwall2Battery battery) Methods inherited from interface io.openems.edge.common.component.OpenemsComponent
_channel, _getChannelAs, alias, channel, channel, channels, debugLog, getComponentContext, getState, getStateChannel, hasFaults, id, isEnabled, serviceFactoryPid, servicePid
-
Method Details
-
setBattery
-
getBattery
Optional<TeslaPowerwall2Battery> getBattery()Gets theTeslaPowerwall2Battery
.- Returns:
- the
TeslaPowerwall2Battery
-
getSlaveCommunicationFailedChannel
Gets the Channel forTeslaPowerwall2Core.ChannelId.SLAVE_COMMUNICATION_FAILED
.- Returns:
- the Channel
-
getSlaveCommunicationFailed
Gets the Slave Communication Failed State. SeeTeslaPowerwall2Core.ChannelId.SLAVE_COMMUNICATION_FAILED
.- Returns:
- the Channel
Value
-
_setSlaveCommunicationFailed
default void _setSlaveCommunicationFailed(boolean value) Internal method to set the 'nextValue' onTeslaPowerwall2Core.ChannelId.SLAVE_COMMUNICATION_FAILED
Channel.- Parameters:
value
- the next value
-