Besen
The Besen integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] connects Home Assistant to Besen EV chargers over Bluetooth Low Energy.
This integration talks directly to the charger through Home Assistant’s Bluetooth stack.
Supported devices
The following device has been verified to work with this integration:
Other Besen chargers using the same ACP# Bluetooth protocol may also work.
Prerequisites
- A Besen charger advertising as
ACP#.... - The charger’s 6-digit PIN.
- A Bluetooth adapter or ESPHome Bluetooth proxy that supports active GATT connections.
ESPHome Bluetooth proxies need active connections enabled. Each connected charger uses one active GATT connection slot on the selected proxy.
Configuration
To add the Besen device to your Home Assistant instance, use this My button:
Manual configuration steps
If the above My button doesn’t work, you can also perform the following steps manually:
-
Browse to your Home Assistant instance.
-
In the bottom right corner, select the
Add Integration button. -
From the list, select Besen.
-
Follow the instructions on screen to complete the setup.
Home Assistant can discover chargers that advertise as ACP#.... If your charger is not discovered automatically, add the integration manually and select it from the list of Besen chargers currently visible over Bluetooth. If no charger is found, follow the discovery troubleshooting steps.
Supported functionality
Switch
The integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] provides a Charge switch to start or stop charging.
The switch state follows the charging state reported by the charger. It stays off while a scheduled start is pending. To cancel a scheduled start, use the Turn off switch action on the Charge switch. Because the switch is already off at that point, its toggle on a dashboard cannot send that command.
Number
The Charging current number sets the maximum current the charger can use. The available range starts at 6 A and ends at the maximum reported by the charger. Home Assistant uses 32 A if the charger does not report a maximum.
Select
The Temperature unit select sets the temperature display on the charger’s screen to Celsius or Fahrenheit. This setting does not change the unit system or temperature sensor display units in Home Assistant.
Sensors
The following sensors are enabled by default:
- Charging power: Current charging power reported by the charger in watts (W).
- Total energy: Lifetime energy reported by the charger in kilowatt-hours (kWh). Use this sensor when adding the charger to the Energy dashboard.
- Session energy: Energy delivered during the current or most recently completed charging session in kilowatt-hours (kWh). This value can reset when a new session starts, so it is not recommended for the Energy dashboard.
- Session start: When the charger started the current or most recently completed charging session.
- Session duration: Elapsed time of the current or most recently completed charging session reported by the charger in seconds (s).
- Internal temperature: Temperature measured inside the charger in degrees Celsius (°C).
- Charging status: High-level charging state reported by the charger.
- Charging message: Additional guidance reported for the current charging state.
The Charging status sensor reports Scheduled (scheduled) while a scheduled start is pending. If your automations, scripts, or templates use canceled for this state, change it to scheduled.
The following sensors are disabled by default:
- Session current limit: Current limit recorded for the charging session in amperes (A). This usually matches the Charging current setting.
- Scheduled start: Start time of a scheduled charging session. For a session that starts immediately, such as one started with the Charge switch, this is the time charging was requested.
- Charging time limit: Time after which the charger ends the charging session in minutes (min). The value is unknown when no limit is set, which includes sessions started with the Charge switch.
The Scheduled start and Charging time limit sensors report values only while a scheduled start is pending or a charging session is running. Otherwise, their state is unknown.
To set a scheduled start or a charging time limit from Home Assistant, use the Start charging action. The sensors also report values set elsewhere, for example in the charger’s mobile app.
The following diagnostic sensors are disabled by default:
- External temperature: External temperature reported by the charger in degrees Celsius (°C).
- Error state: Detailed charger fault state.
- Plug state: Connection and lock state reported for the charging plug.
- Output state: Low-level state of the charger output.
- Current state: Low-level operating state reported by the charger.
- L1 voltage and L1 current: Voltage and current reported for phase L1.
- L2 voltage, L2 current, L3 voltage, and L3 current: Voltage and current reported for phases L2 and L3. These sensors are created only for three-phase chargers.
To use an entity that is disabled by default, enable the entity from the charger device page.
Actions
Use the standard entity actions to control the charger:
-
switch.turn_onstarts charging. -
switch.turn_offstops charging and cancels a scheduled start. -
number.set_valuesets the charging current. -
select.select_optionchanges the temperature unit shown on the charger’s screen.
List of actions
The Besen integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] provides the following actions. Each link below opens a dedicated page with examples, parameters, and a step-by-step UI walkthrough.
-
Start charging (
besen.start_charging) Starts charging at a later time, for a limited time, or both.
For an overview of every action across all integrations, see the actions reference.
Besen automation examples
Charging when electricity is cheapest is a common use of this integration. Here are a few ideas to get you started. To let the charger start and stop by itself, see the examples for the Start charging action.
You don’t need to edit YAML to use these examples. Copy a YAML snippet from this page, open the visual automation editor in Home Assistant, and press Ctrl+V (or Cmd+V on Mac). Home Assistant automatically converts the pasted YAML into the visual editor format, whether it’s a full automation, a single trigger, a condition, or an action.
Automation: start charging when the off-peak tariff starts
Start charging every evening when your off-peak tariff begins.
- Trigger: Time: 23:00
-
Action: Turn on switch
-
Target: Charge switch of the charger (
switch.besen_charge)
-
Target: Charge switch of the charger (
YAML example for starting charging when the off-peak tariff starts
alias: "Start EV charging off peak"
triggers:
- trigger: time
at: "23:00:00"
actions:
- action: switch.turn_on
target:
entity_id: switch.besen_charge
Automation: stop charging before the peak tariff starts
Stop charging every afternoon before your peak tariff begins.
- Trigger: Time: 17:00
-
Action: Turn off switch
-
Target: Charge switch of the charger (
switch.besen_charge)
-
Target: Charge switch of the charger (
YAML example for stopping charging before the peak tariff starts
alias: "Stop EV charging before peak tariff"
triggers:
- trigger: time
at: "17:00:00"
actions:
- action: switch.turn_off
target:
entity_id: switch.besen_charge
Data updates
The charger sends status updates over Bluetooth notifications after login. Home Assistant keeps one active Bluetooth connection open, listens for notifications, and responds to charger heartbeats. If notifications stop, the integration reconnects automatically.
Sensor values update when the charger sends status and charging-session notifications. The temperature unit select updates after a command is sent successfully and when the charger reports the setting. An entity shows an unknown value until the charger reports its corresponding value. All charger entities become unavailable while the Bluetooth connection is unavailable or authentication is incomplete.
This is a local push integration. There is no cloud dependency.
Known limitations
The integration does not support:
- Changing charger settings such as language, LCD brightness, or device name.
- Reporting Bluetooth signal strength as an entity.
- Wi-Fi provisioning.
- Password reset.
- Device reset.
- Charging history download.
- Firmware updates through Home Assistant.
- Safety-certified load balancing.
Troubleshooting
The charger is not discovered
Symptom: The charger is missing from setup
Home Assistant does not discover the charger automatically.
Resolution
To resolve this issue, try the following steps:
- Confirm the charger appears in Settings > Connectivity > Bluetooth > Advertisement monitor as
ACP#.... - Move an ESPHome Bluetooth proxy closer to the charger.
- Make sure the proxy is added to Home Assistant through the ESPHome integration.
- Run an active scan or temporarily place a local Bluetooth adapter near the charger.
No connectable Bluetooth path is available
Symptom: “No connectable Bluetooth path is available”
When setting up or loading the integration, Home Assistant reports that no connectable Bluetooth path is available.
Description
The charger may be visible only through a passive or non-connectable adapter. The charger can keep only one active Bluetooth client connection.
Resolution
To resolve this issue, try the following steps:
- Use an ESPHome Bluetooth proxy with active connections enabled, or a local Bluetooth adapter supported by Home Assistant.
- Stop any app, bridge, container, add-on, or service that may already be connected to the charger.
The charger becomes unavailable
Symptom: The charge switch is unavailable
The charge switch becomes unavailable after the integration was set up.
Resolution
To resolve this issue, try the following steps:
- Check Settings > Connectivity > Bluetooth > Connection monitor.
- Verify the proxy has free active connection slots.
- Stop any old MQTT bridge or companion process that may still hold the charger’s Bluetooth connection.
- Prefer Ethernet ESPHome Bluetooth proxies when possible.
- Avoid placing the proxy next to strong Wi-Fi or USB 3.0 interference sources.
The PIN is rejected
Symptom: The charger rejected the PIN
During setup, Home Assistant reports that the charger rejected the PIN. If the PIN is changed on the charger after setup, Home Assistant detects the rejected PIN and starts a reauthentication flow. The charger’s entities stay unavailable, and the integration stops reconnecting until you enter the current PIN.
Resolution
- During setup, enter the current 6-digit PIN.
- If Home Assistant asks you to reauthenticate, follow the reauthentication notification and enter the current 6-digit PIN. Home Assistant checks the PIN with the charger and reloads the integration without removing your entities or automations.
Removing the integration
This integration follows standard integration removal.
To remove an integration instance from Home Assistant
- Go to Settings > Devices & services and select the integration card.
- Next to the entry you want to remove, select the three dots
menu. Then, select Delete. - Depending on the integration, the entries are listed under one of the following headings:
- Devices
- Hubs
- Services
- Integration entries
- Depending on the integration, the entries are listed under one of the following headings:
- To confirm, select Delete.
- Home Assistant also deletes the devices and entities of the entry.
- If Home Assistant asks you to restart, restart Home Assistant.
- If Home Assistant asks whether to also delete the application credentials, select Remove or Keep.
- If you keep them, Home Assistant uses them automatically when you add the integration again.
- To delete them later, refer to Deleting application credentials.