Marv2190 / venus.dbus-MqttToGridMeter

A service for Venus OS, reading smart meter data from a Fronius system and making the values available on dbus.
MIT License
22 stars 9 forks source link

eventbased or periodical data transfer #1

Open kaeferfreund opened 2 years ago

kaeferfreund commented 2 years ago

The Python script cyclically reads data from a MQTT Broker and publishes information on the dbus, using the service name com.victronenergy.grid. This makes the Venus OS work as if you had a physical Victron Grid Meter installed.

Is that the case? It seems as if this is event driven? Just had a quick look and thought I'd ask the creator really quick

kaeferfreund commented 2 years ago

Today I got some time to check everything and the mqtt part is event driven, the dbus part is loop driven (cyclic).

By reducing the dbus invervall to 100ms I could significantly improve the power control of my multiplus 2 with a ET340 SmartMeter. Very nice!