question

peternielsen avatar image

External energy meter and grid set point

Hi,

I am not sure i understand, if i set the grid set point to 50W then i set the Energy Meter to external what happens then ? If i set the grid set point using dBus or MQTT then i need to make the phase calculation myself as described in the ESS manual ? Is that what ESS does when it has energy meter itself, it sets the grid setpoint dynamically based on the loads on the phases that it's told or am i misunderstanding ?


/peter

MQTT
1 comment
2 |3000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

@mvader (Victron Energy) do you have an idea ?

Essentially what i want to do is this, i have an energy meter from the utility company (Kamstrup Omnipower) which has a small module i bought which has Modbus TCP, i can read the values from it, can i push these values to the Victron system somehow so i don't need a energy meter which would measure exact same thing ?

1613143628403.png

1613143657796.png

https://doc.smart-me.com/cloud/modbus-tcp

1613143628403.png (214.2 KiB)
1613143657796.png (504.5 KiB)
1 Answer
mvader (Victron Energy) avatar image
mvader (Victron Energy) answered ·

Hi Peter, well... maybe. Looks that this meter allows to be queried for its values, right?

In which case you're best of by making a python script that does that and then publishes this data within Venus OS on the GX Device.

The suggestion you made, by having something writing the values to the GX device using ModbusTCP won't work; at least not simply: there are no modbusregisters to which you could write that data.


If you go the python script route, take a look at the dbus-modbus-client python code. You'll find it on your GX Device (its not on github at the moment).


3 comments
2 |3000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

ps. that script already has code to read (other) energy meters over modbus, both a modbus rs485 one and an ethernet one.

mvader (Victron Energy) avatar image mvader (Victron Energy) ♦♦ mvader (Victron Energy) ♦♦ ·

and another update, the code is now hosted publicly as well for your perusal. See here: https://github.com/victronenergy/dbus-modbus-client

peternielsen avatar image peternielsen mvader (Victron Energy) ♦♦ ·

Great stuff @mvader (Victron Energy), i will have a look at it and maybe i'll come back with more questions, thx a lot.