question

peternielsen avatar image
peternielsen asked

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

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

peternielsen avatar image peternielsen commented ·

@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

0 Likes 0 ·
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

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) avatar image mvader (Victron Energy) ♦♦ commented ·

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

0 Likes 0 ·
mvader (Victron Energy) avatar image mvader (Victron Energy) ♦♦ mvader (Victron Energy) ♦♦ commented ·

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

1 Like 1 ·
Show more comments

Related Resources