fabian-lauer / dbus-shelly-3em-smartmeter

Integrate Shelly 3EM smart meter into Victron Energies Venus OS
125 stars 55 forks source link

Option: Invert value of Shelly 3EM #70

Open launacorp opened 3 months ago

launacorp commented 3 months ago

Due to structural conditions, I had to mount the sensors of the Shellys in the opposite direction.

It is not possible to invert the values of the sensors.

Kotty666 commented 3 months ago

@launacorp did you configure the 3em as PVinverter?

launacorp commented 3 months ago

No. It is configured as grid. But for me it is obolete now. I managed to change some big wire routing an now the sensors are mounted the correct direction.

But for others it might be helpful to invert the readings

Kotty666 commented 3 months ago

@launacorp why should the Readings be inverted if there is a correct way to configure the script/driver?

launacorp commented 3 months ago

I don't understand. Have i been missed something?

I won't measure at a PV inverter i want to measure my grid point coming into the building. So is it wrong to set to grid?

Where is the option in a config file to invert readings if the sensors of a 3EM are mounted in the opposite direction?

If set to PV-Inverter will VemusOS register it as Grid too? Will it count the (example) -1A as getting 1A from the grid because as a PV Inverter it could act so i think. But what will it Show in VRM?

Kotty666 commented 3 months ago

oh okay did not understand that you need a software solution for wrong installed clamps. So there is no solution at the moment It could be easily implemented but i don't know how often this is needed. @fabian-lauer you should decide if it should be implemented

launacorp commented 3 months ago

So this were my thougts on my initial post. The clamps where mounted the "wrong" way.