ayasystems / dbus-fronius-smart-meter Goto Github PK
View Code? Open in Web Editor NEWIntegrate Fronius Smart meter into Victron Energies Venus OS
License: GNU General Public License v3.0
Integrate Fronius Smart meter into Victron Energies Venus OS
License: GNU General Public License v3.0
EDIT: I'm unable to reproduce my own issue by only unplugging and reconnecting the ethernet cable from the PI. There must be another issue in my LAN.
I noticed that it freezes the last reported value from Fronius SmartMeter after being interrupted from LAN, while other services continue reporting on reconnection (e.g. Fronius Inverter).
Reboot always fixes it.
Hi,
I'm having trouble connecting to the meter.
Here is the error msg:
root@raspberrypi2:/data/dbus-fronius-smart-meter# python dbus-fronius-smart-meter.py
2023-09-18 17:01:30,775 root ERROR com.victronenergy.grid
2023-09-18 17:01:30,786 root CRITICAL Error at main
Traceback (most recent call last):
File "dbus-fronius-smart-meter.py", line 248, in main
pvac_output = DbusFroniusMeterService(
File "dbus-fronius-smart-meter.py", line 28, in init
self.dbusservice = VeDbusService("{}.http{:02d}".format(servicename, deviceinstance))
File "/opt/victronenergy/dbus-systemcalc-py/ext/velib_python/vedbus.py", line 78, in init
self._dbusname = dbus.service.BusName(servicename, self._dbusconn, do_not_queue=True)
File "/usr/lib/python3.8/site-packages/dbus/service.py", line 144, in new
raise NameExistsException(name)
dbus.exceptions.NameExistsException: Bus name already exists: com.victronenergy.grid.http_40
root@raspberrypi2:/data/dbus-fronius-smart-meter# /data/dbus-fronius-smart-meter/restart.sh
root@raspberrypi2:/data/dbus-fronius-smart-meter# python dbus-fronius-smart-meter.py
2023-09-18 17:03:07,726 root ERROR com.victronenergy.grid
2023-09-18 17:03:08,621 root CRITICAL Error at main
Traceback (most recent call last):
File "dbus-fronius-smart-meter.py", line 248, in main
pvac_output = DbusFroniusMeterService(
File "dbus-fronius-smart-meter.py", line 52, in init
self._dbusservice.add_path('/Serial', self._getFronisSerial())
File "dbus-fronius-smart-meter.py", line 71, in _getFronisSerial
if not meter_data['Body']['Data']['Details']['Serial']:
KeyError: 'Details'
root@raspberrypi2:/data/dbus-fronius-smart-meter#
The host ip, is the Fronius Inverter IP?
config.ini
[DEFAULT]
AccessType = OnPremise
SignOfLifeLog = 1
[ONPREMISE]
Host=192.168.1.105
MeterID = 1
intervalMs = 800
CustomName = VIR1 Fronius Smart Meter
Role = grid
#Role = acload
#Role = genset
#Role = pvinverter
Thanks for the help
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.