kirei / hass-chargeamps

Home Assistant Component for Chargeamps
Other
25 stars 8 forks source link

Feature Request - add set current limit as a sensor or attribute #16

Closed tubalainen closed 3 years ago

tubalainen commented 3 years ago

Hi!

I use this fantastic component to throttle down the amps of the charger when my dryer is running. It works like a champ! Would it be possible to as a separate sensor or as a sensor attribute add the current active "amps"?

Thanks

jschlyter commented 3 years ago

That should be available already as lx_current from the power sensors (while charging).

tubalainen commented 3 years ago

That should be available already as lx_current from the power sensors (while charging).

Yes, that one I know. I´d like to know the setting prior to the charging starts if possible. For many reasons - my hybrid car (Passat GTE) stops charging and raises an alarm when the ChargeAmps box steps down (changing the current limit). So would like to trigger this based on other sensors and set the current of the charger prior to the car being connected and prior to the car starting to charge.

jschlyter commented 3 years ago

Before the charging starts, the current through the box is zero. Perhaps I'm missing something?

tubalainen commented 3 years ago

Before the charging starts, the current through the box is zero. Perhaps I'm missing something?

Correct - the box does not draw any current when there isnt anything connected. But the parameter/attribute set_max_current - what is the current setting?

Equal to the information that I can see and read on my.charge.space (see picture).

På Svenska - jag önskar att kunna läsa av aktuell strömbegränsning innan laddningen påbörjas. Vad är max_current satt till? image

jschlyter commented 3 years ago

Check the max_current attribute on the switch

tubalainen commented 3 years ago

DOH Thanks! Searched for that among the sensors. My bad.