Interface TeslaPowerwall2Core
-
- All Superinterfaces:
OpenemsComponent
- All Known Implementing Classes:
TeslaPowerwall2CoreImpl
public interface TeslaPowerwall2Core extends OpenemsComponent
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
TeslaPowerwall2Core.ChannelId
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
_setSlaveCommunicationFailed(boolean value)
Internal method to set the 'nextValue' onTeslaPowerwall2Core.ChannelId.SLAVE_COMMUNICATION_FAILED
Channel.java.util.Optional<TeslaPowerwall2Battery>
getBattery()
Gets theTeslaPowerwall2Battery
.default Value<java.lang.Boolean>
getSlaveCommunicationFailed()
Gets the Slave Communication Failed State.default StateChannel
getSlaveCommunicationFailedChannel()
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 Detail
-
setBattery
void setBattery(TeslaPowerwall2Battery battery)
-
getBattery
java.util.Optional<TeslaPowerwall2Battery> getBattery()
Gets theTeslaPowerwall2Battery
.- Returns:
- the
TeslaPowerwall2Battery
-
getSlaveCommunicationFailedChannel
default StateChannel getSlaveCommunicationFailedChannel()
Gets the Channel forTeslaPowerwall2Core.ChannelId.SLAVE_COMMUNICATION_FAILED
.- Returns:
- the Channel
-
getSlaveCommunicationFailed
default Value<java.lang.Boolean> 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
-
-