persuader72 / silla-prism-integration

custom components for home assistant
GNU General Public License v3.0
4 stars 0 forks source link

Silla Prism Solar custom integration

Silla Prism Solar

This repository contains a custom integration to integrate a Silla Prism EVSE inside HomeAssistant

Installation

Prerequisites: A working MQTT server.

1) Configure the Prism EVSE to work with your MQTT server has shown in manual. 2) Configure and enable the MQTT integration for HomeAssistant 3) Install the custom integration from this repository Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

Usage

  1. Add integration Silla Prism using the dashboard Open your Home Assistant instance and start setting up a new integration of a specific brand.

  2. Keep note of base path for all Prism topics

    Prism manual

  3. When asked for connection settings set the the base path for all Prism topics. For now it is important to leave a / at the end of the topics as shown in the following picture) Configure Silla Prism

Entities

Entity ID Type Description Unit
silla_prism_online BinarySensor Sensor to find if Prism is connected or not
silla_prism_current_state Sensor Current state of Prism "idle", "waiting", "charging", "pause"
silla_prism_power_grid_voltage Sensor Measured voltage from grid V
silla_prism_output_power Sensor Power provided to the charging port W
silla_prism_output_current Sensor Current provided to the charging port mA
silla_prism_output_car_current Sensor Current driven by the car A
silla_prism_current_set_by_user Sensor Current limit set by user A
silla_prism_session_time Sensor Duration of the current session s
silla_prism_session_output_energy Sensor Energy provided to the charging port during the current session Wh
silla_prism_total_output_energy Sensor Total energy Wh
?/1/error (TODO) Error code
silla_prism_current_port_mode Sensor Current port mode solar,normal,paused
silla_prism_input_grid_power Sensor Input power from grid W
silla_prism_set_max_current Number Set the user current limit A
silla_prism_set_current_limit Number Set the current limit A
silla_prism_set_mode Select Set current port mode solar,normal,paused
silla_prism_touch_sigle BinarySensor Goes on for 1 second after a single touch gesture On,Off
silla_prism_touch_double BinarySensor Goes on for 1 second after a double touch gesture On,Off
silla_prism_touch_long BinarySensor Goes on for 1 second after a long touch gesture On,Off

Computed Entities

Computed entities are not directly measured from Prism but are derived from other measurements.

Entity ID Type Description Unit
silla_prism_input_grid_energy Sensor Total energy taken from grid Wh

Charger Card Integragtion

Charger

It's possible to configure the EV Charger Card using the configuration example provided in this repository

Touch button and Automations

This are some example automations for the touch button events

Start charge after single touch event if Prism is in pause state

alias: Avvia ricarica dopo pressione pulsante
description: Avvia ricarica dopo pressione pulsante
trigger:
  - platform: state
    entity_id:
      - binary_sensor.silla_prism_touch_sigle
    from: "off"
    to: "on"
condition:
  - condition: state
    entity_id: sensor.silla_prism_current_state
    state: pause
action:
  - service: select.set_option
    data:
      entity_id: select.silla_prism_set_mode
      option: normal
mode: single

Stop charge after single touch event if Prism is in charging state

alias: Interrompi ricarica dopo pressione pulsante
description: Interrompi ricarica dopo pressione pulsante
trigger:
  - platform: state
    entity_id:
      - binary_sensor.silla_prism_touch_sigle
    from: "off"
    to: "on"
condition:
  - condition: state
    entity_id: sensor.silla_prism_current_state
    state: charging
action:
  - service: select.set_option
    data:
      entity_id: select.silla_prism_set_mode
      option: paused
mode: single