somlioy / amina_s

Zigbee2MQTT external converter for Amina S EV Charger
8 stars 1 forks source link

Question of how to use and configure this device in Z2M #17

Open VVVVVVVip opened 4 days ago

VVVVVVVip commented 4 days ago

I am lacking some experience with zigbee devices and z2m, and I hope I can get some tips from some of the others few Amina users here :-)

My charger is connected to 3-phase, but when charging power is only reporting for 1-phase, like 2300W instead of 6900W when charging with 3x10Amps. Is it by design and can I change this in Z2M -> Device Setting(Specific) -> Power Calibration?

Is it possible to manually poll the reports Total Active Energy and Last Session Energy? I have tried to read the cluster in the z2m device Dev.console, but the answer is always zero. Strange was during installation i did several tries with interviewing the device until it find right router devices, and in one inteview it suddenly reported a value i Watt for Total Active Energy that seemed reasonable after have been used for two charging sessions, but it was lost after a while. (and never changed before that)

somlioy commented 3 days ago

It was indeed a mistake that the power attribute is only 1-phase. I have merged a new version from the dev-branch where this is rectified with 3 new attributes (total of 4) for power; Total Active Power, Power Phase A, B and C. (The new version require Z2M v. >= 1.40.1)

As for Total Active Energy and Last session Energy, there is indeed something funny going on as it sometimes reports 0. I have noticed this aswell. As they are also not reportable thus require manual polling, the best is to do an integration of the Total Active Power attribute outside of Z2M. In home assistant you can do this with a integrator/riemann-sum.