-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Welcome to the home-assistant-smappee-charging-profiles wiki!
home-assistant-smappee-charging-profiles Smappee Charging Profiles Integration This Home Assistant integration allows you to manage charging profiles for Smappee charging stations.
Installation via HACS Open HACS in your Home Assistant. Go to Custom repositories in the HACS settings. Add this repository: https://github.com/scruysberghs/home-assistant-smappee-charging-profiles. Install the integration.
Configuration Configuration is done when adding the integration trough the UI You have to enter smappee api credentials :
api key secret username (not the email adress) password (same a in web portal or app) For now the integration will only give you a service call to set the charging speed. Other functionality can easily be addedd to make this as full featured as the smappee app. Still too bad sensor values can not be read from the api in realtime (only 5 min averages).
I might add a ui element to set charging speed and select charging mode later. For now you can do that manually using a input_number helper and an automation. Something like :
input_number:
smappee_charging_speed:
name: Charging Speed
min: 0
max: 32
step: 1
unit_of_measurement: "A"
icon: mdi:flash
An input select helper (trough yaml or ui Settings/Devices/Helpers )
Automation to change charging when slider is moved
automation:
- alias: Set Charging Speed via Slider
trigger:
platform: state
entity_id: input_number.smappee_charging_speed
action:
service: smappee_charging_profiles.set_charging_mode
data:
serial: "YOUR_SERIAL_NUMBER" # Replace with your charging station serial
mode: "NORMAL" # You can adjust the mode based on your integration's needs
limit: "{{ states('input_number.smappee_charging_speed') | int }}"
Automation to change charging mode when the input selector is changed
alias: smappee set charging mode
description: ""
mode: single
triggers:
- entity_id:
- input_select.smappee_charging_mode
trigger: state
conditions: []
actions:
- action: smappee_charging_profiles.set_charging_mode
data:
serial: "YOUR_SERIAL_NUMBER" # Replace with your charging station serial
mode: "{{ states('input_select.smappee_charging_mode') }}"
Also, you need your serial number for the charger to make the service calls, wasn't able to find this in the api but you can find it in the Smappee app.
The lovelace card to to show these helpers in the ui:
type: entities
entities:
- entity: input_select.smappee_charging_mode
name: Laadmode
- entity: input_number.smappee_charging_speed
name: Laadvermogen