evcc.states package¶
Submodules¶
evcc.states.ev_state module¶
- class evcc.states.ev_state.DcEVState(*args, **kwargs)¶
Bases:
shared.state.V2GState
- abstract process_payload(payload) shared.reaction_message.ReactionToIncomingMessage ¶
Processes the payload and readies the next message.
- Parameters
payload – The data that will be processed.
- Returns
ReactionToIncomingMessage – the reaction the processed data.
- class evcc.states.ev_state.EVState(*args, **kwargs)¶
Bases:
shared.state.V2GState
- abstract process_payload(payload) shared.reaction_message.ReactionToIncomingMessage ¶
Processes the payload and readies the next message.
- Parameters
payload – The data that will be processed.
- Returns
ReactionToIncomingMessage – the reaction the processed data.
evcc.states.wait_for_dc_cable_check_response module¶
- class evcc.states.wait_for_dc_cable_check_response.WaitForDcCableCheckResponse¶
Bases:
evcc.states.ev_state.DcEVState
- process_payload(payload) shared.reaction_message.ReactionToIncomingMessage ¶
Processes the payload and readies the next message.
- Parameters
payload – The data that will be processed.
- Returns
ReactionToIncomingMessage – the reaction the processed data.
evcc.states.wait_for_dc_charge_loop_response module¶
- class evcc.states.wait_for_dc_charge_loop_response.WaitForDcChargeLoopResponse¶
Bases:
evcc.states.ev_state.DcEVState
- build_power_delivery_message()¶
- process_payload(payload) shared.reaction_message.ReactionToIncomingMessage ¶
Processes the payload and readies the next message.
- Parameters
payload – The data that will be processed.
- Returns
ReactionToIncomingMessage – the reaction the processed data.
evcc.states.wait_for_dc_charge_parameter_discovery_response module¶
- class evcc.states.wait_for_dc_charge_parameter_discovery_response.WaitForDcChargeParameterDiscoveryResponse¶
Bases:
evcc.states.ev_state.DcEVState
- process_payload(payload) shared.reaction_message.ReactionToIncomingMessage ¶
Processes the payload and readies the next message.
- Parameters
payload – The data that will be processed.
- Returns
ReactionToIncomingMessage – the reaction the processed data.
evcc.states.wait_for_dc_pre_charge_response module¶
- class evcc.states.wait_for_dc_pre_charge_response.WaitForDcPreChargeResponse¶
Bases:
evcc.states.ev_state.DcEVState
- process_payload(payload) shared.reaction_message.ReactionToIncomingMessage ¶
Processes the payload and readies the next message.
- Parameters
payload – The data that will be processed.
- Returns
ReactionToIncomingMessage – the reaction the processed data.
evcc.states.wait_for_dc_welding_detection_response module¶
- class evcc.states.wait_for_dc_welding_detection_response.WaitForDcWeldingDetectionResponse¶
Bases:
evcc.states.ev_state.DcEVState
- process_payload(payload) shared.reaction_message.ReactionToIncomingMessage ¶
Processes the payload and readies the next message.
- Parameters
payload – The data that will be processed.
- Returns
ReactionToIncomingMessage – the reaction the processed data.
evcc.states.wait_for_power_delivery_response module¶
- class evcc.states.wait_for_power_delivery_response.WaitForPowerDeliveryResponse¶
Bases:
evcc.states.ev_state.EVState
- process_payload(payload) shared.reaction_message.ReactionToIncomingMessage ¶
Processes the payload and readies the next message.
- Parameters
payload – The data that will be processed.
- Returns
ReactionToIncomingMessage – the reaction the processed data.
evcc.states.wait_for_schedule_exchange_response module¶
- class evcc.states.wait_for_schedule_exchange_response.WaitForScheduleExchangeResponse¶
Bases:
evcc.states.ev_state.EVState
- process_payload(payload) shared.reaction_message.ReactionToIncomingMessage ¶
Processes the payload and readies the next message.
- Parameters
payload – The data that will be processed.
- Returns
ReactionToIncomingMessage – the reaction the processed data.
evcc.states.wait_for_service_detail_response module¶
- class evcc.states.wait_for_service_detail_response.WaitForServiceDetailResponse¶
Bases:
evcc.states.ev_state.EVState
- process_payload(payload) shared.reaction_message.ReactionToIncomingMessage ¶
Processes the payload and readies the next message.
- Parameters
payload – The data that will be processed.
- Returns
ReactionToIncomingMessage – the reaction the processed data.
evcc.states.wait_for_service_discovery_response module¶
- class evcc.states.wait_for_service_discovery_response.WaitForServiceDiscoveryResponse¶
Bases:
evcc.states.ev_state.EVState
- process_payload(payload) shared.reaction_message.ReactionToIncomingMessage ¶
Processes the payload and readies the next message.
- Parameters
payload – The data that will be processed.
- Returns
ReactionToIncomingMessage – the reaction the processed data.
evcc.states.wait_for_service_selection_response module¶
- class evcc.states.wait_for_service_selection_response.WaitForServiceSelectionResponse¶
Bases:
evcc.states.ev_state.EVState
- process_payload(payload) shared.reaction_message.ReactionToIncomingMessage ¶
Processes the payload and readies the next message.
- Parameters
payload – The data that will be processed.
- Returns
ReactionToIncomingMessage – the reaction the processed data.
evcc.states.wait_for_session_setup_response module¶
- class evcc.states.wait_for_session_setup_response.WaitForSessionSetupResponse¶
Bases:
evcc.states.ev_state.EVState
- process_payload(payload) shared.reaction_message.ReactionToIncomingMessage ¶
Processes the payload and readies the next message.
- Parameters
payload – The data that will be processed.
- Returns
ReactionToIncomingMessage – the reaction the processed data.
evcc.states.wait_for_session_stop_response module¶
- class evcc.states.wait_for_session_stop_response.WaitForSessionStopResponse¶
Bases:
evcc.states.ev_state.EVState
- process_payload(payload) shared.reaction_message.ReactionToIncomingMessage ¶
Processes the payload and readies the next message.
- Parameters
payload – The data that will be processed.
- Returns
ReactionToIncomingMessage – the reaction the processed data.
evcc.states.wait_for_supported_app_protocol_response module¶
- class evcc.states.wait_for_supported_app_protocol_response.WaitForSupportedAppProtocolResponse¶
Bases:
evcc.states.ev_state.EVState
- process_payload(payload) shared.reaction_message.ReactionToIncomingMessage ¶
Processes the payload and readies the next message.
- Parameters
payload – The data that will be processed.
- Returns
ReactionToIncomingMessage – the reaction the processed data.