Closed morphZ closed 2 years ago
Update: I just got one step further along the way (had the ACin not properly switched on). Now I can see grid values like those:
Problem is: these values are somehow calculated from the PV inverter by the venus OS and showing wrong values (higher than the actual meter's values). These grid values are even shown and calculated, when I remove the dbus-fronius-smartmeter service.
Any ideas?
Hello, it is the same for me. I have forked one of the forks of this dbus projects (Link). I see the values in the menus but not as grid and also no AC loads. Are you any step further @morphZ ?
I found the problem!! 🎉
I have invested quite a bit of time reading through the venus OS sources and found out, that the servicename for the dbus service needs to include at least com.victronenergy.grid.
(mind the .
in the end) to be included as a grid value.
So setting the servicename in my case to com.victronenergy.grid.ha1
fixed the issue. You can see it in here in my code. It should also work for the original code of @RalfZim.
Additional infos:
PS, I created PR #18 for your repo, @RalfZim
Seems to work, Thank you!
But should't it be listed here?
Same for me: Under Energy meters the list is still empty. Any ideas whats wrong?
@pos-ei-don @Dan1elGe
I read somewhere in the victron forums, that only the modbus driven meters show up in this list. But I can't remember where exactly. Anyway: it shouldnt't be a huge difference, as you can access all the data at the top level of the menu, and it is not required for the ESS system work.
I run my ESS now quite stably and satisfyingly with the driver (actually with a modified version of dbus-smappee, but it's working quite similar).
Thank you for All your comments. So it is a configuration error at my side. I want to configure self usage and Charge PV to the battery, I have 2 energy Meter, and my victron ess seems to select the wrong internal energy Meter.
@morphZ Thanks for this hint that the appearance of the smart meter under energy meters is not necessary for ESS. My system now also works as expected:
Hi @RalfZim,
thanks for sharing this great idea. I'd like to use a very similar approach, but with a modbus meter that is connected to and logged by my home assistant system. In the end it is also a couple of HTTP requests and updating the values on the dbus.
My code (hosted here) is basically running and the values are shown in the device in venusos (running on raspi).
Somehow, the meter is not associated with the grid values by venusOS.
Also, it doesn't show up in the
Energy meters
section, though I'm not sure it should...Any ideas?
Thanks!!