Giter Club home page Giter Club logo

Comments (20)

nilrog avatar nilrog commented on July 18, 2024 2

Afaik this is the car entity in the v2 API. If the cable is disconnected/unplugged from the car it will be in "Idle". If plugged in it will be in any of the other states depending on if the car is charging etc.

from homeassistant-goecharger-mqtt.

nilrog avatar nilrog commented on July 18, 2024 1

You can easily do that with what is available from this integration today. There is no need, imo, to add more sensors. That will only make you dependent on the integration to implement things. When instead you have the power of home assistant to do whatever you want :)

The condition you need to check in an automation, triggered by something else, to see if the car is unplugged is this:

- condition: state
  entity_id: sensor.go_echarger_123456_car
  state: "Idle"

Or, if you want to trigger an automation when the car becomes unplugged you can use this as trigger:

- platform: state
  entity_id: sensor.go_echarger_123456_car
  to: "Idle"

from homeassistant-goecharger-mqtt.

syssi avatar syssi commented on July 18, 2024

I will have a look.

from homeassistant-goecharger-mqtt.

syssi avatar syssi commented on July 18, 2024

It's called "cable unlock mode" (ust) here.

from homeassistant-goecharger-mqtt.

domerich avatar domerich commented on July 18, 2024

cable unlock mode

I dont think so with cable unlock mode I can select how to unlock

_cable_lock_mode** gave me the info if any car is plugged into the wallbox. I would like to have this info

from homeassistant-goecharger-mqtt.

syssi avatar syssi commented on July 18, 2024

Are you sure about the name of the other entity? Do you mean car state may be?

from homeassistant-goecharger-mqtt.

syssi avatar syssi commented on July 18, 2024

A may be you are looking for cable lock status (cus). This entity is disabled per default an can be found and enabled at the hidden section of the device page.

from homeassistant-goecharger-mqtt.

domerich avatar domerich commented on July 18, 2024

No this entity is not there even down there with the hidden ones

from homeassistant-goecharger-mqtt.

syssi avatar syssi commented on July 18, 2024

I've released a new version. The Cable unlock status sensor should be available now if you update to version 0.16.0.

from homeassistant-goecharger-mqtt.

domerich avatar domerich commented on July 18, 2024

sorry this is still not the right entity. I do not want to know if the cable is locked but if a cable is plugged in.

from homeassistant-goecharger-mqtt.

syssi avatar syssi commented on July 18, 2024

I will have a look.

from homeassistant-goecharger-mqtt.

syssi avatar syssi commented on July 18, 2024

Is the car state what you are looking for?

from homeassistant-goecharger-mqtt.

syssi avatar syssi commented on July 18, 2024

I could introduce a binary_sensor which maps the values to a boolean and call the sensor car_detected if this is helpful.

from homeassistant-goecharger-mqtt.

domerich avatar domerich commented on July 18, 2024

maybe you guys could just steal it from the other integration :D I wanted to make such automation to heat up the house more if no cars are plugged in in the garages and their batteries is <90%
If it is not possible I think I must use 2 integrations

alias: PV_Heizung_Anhebung++
description: ""
trigger:
  - platform: time_pattern
    minutes: /1
condition:
  - condition: numeric_state
    entity_id: sensor.battery_soc
    above: 95
  - condition: numeric_state
    entity_id: sensor.pv_house_garage_total
    above: 4
  - condition: numeric_state
    entity_id: sensor.aussentemperatur
    below: 20
  - condition: state
    entity_id: binary_sensor.plugged_in
    state: "off"
  - condition: state
    entity_id: binary_sensor.plugged_in_2
    state: "off"
action:
  - service: climate.set_temperature
    data:
      temperature: 23
    target:
      entity_id:
        - climate.klima_eg_wohnung
        - climate.klima_og_wohnung
        - climate.klima_ug_wohnung
        - climate.klima_dg_wohnung
mode: single

from homeassistant-goecharger-mqtt.

domerich avatar domerich commented on July 18, 2024

yeah I guess that works, I just liked the yellow plug symbol so I could tell that my wife plugged in her car.

from homeassistant-goecharger-mqtt.

woopstar avatar woopstar commented on July 18, 2024

I could introduce a binary_sensor which maps the values to a boolean and call the sensor car_detected if this is helpful.

I think that would be very beneficial. Lots of automations, blueprints etc uses a "boolean state" to check if the EV is connected or not.

I personally currently use this template sensor:

- platform: template
  sensors:
    go_e_ev_connected:
      friendly_name: "Go-E EV Connected"
      unique_id: "go_e_ev_connected"
      value_template: >
        {%- if states("sensor.go_echarger_222819_car") | default('Idle') == "Idle" %}
          False
        {%- else %}
          True
        {% endif %}

from homeassistant-goecharger-mqtt.

syssi avatar syssi commented on July 18, 2024

I've introduced a new binary sensor called car connected. It will speed things up so there is no need for a template sensor.

from homeassistant-goecharger-mqtt.

woopstar avatar woopstar commented on July 18, 2024

@syssi is it also possible to get the car SoC through Go-E ? So you do not need to have a EV integration also for your Audi, Skoda, Tesla or whatever.

from homeassistant-goecharger-mqtt.

syssi avatar syssi commented on July 18, 2024

The short answer is "no". The go-eCharger APIv2 doesn't provide this information probably because the information isn't available via a Type 2 plug. This is the API description of the manufacturer: https://github.com/goecharger/go-eCharger-API-v2/blob/main/apikeys-en.md

from homeassistant-goecharger-mqtt.

woopstar avatar woopstar commented on July 18, 2024

The short answer is "no". The go-eCharger APIv2 doesn't provide this information probably because the information isn't available via a Type 2 plug. This is the API description of the manufacturer: https://github.com/goecharger/go-eCharger-API-v2/blob/main/apikeys-en.md

I see. But available from DC? I see that some charging stations show the SoC on screens, so it must be available in some cases.

from homeassistant-goecharger-mqtt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.