question

sun avatar image
sun asked

Can't read the dbus data using "dbus -y" command

HI all
Hope you are well.
I connected wind+MPPT to the RPI which Venus OS is installed.
And I executed the dbus-bornay-windplus.py file of github, and it works well, I can read the log.
So I tried to read the value using the following command.
***********************************************************
dbus -y com.victronenergy.windcharger.bornay_ttyUSB0 /ProductName GetValue
************************************************************
But the output is:

ERROR:dbus.proxies:Introspect error on :1.47:/ProductName: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

Traceback (most recent call last):

File "/usr/bin/dbus", line 379, in <module>

ret = obj.object.get_dbus_method(method.name, iface.name)(*args)

AttributeError: 'NoneType' object has no attribute 'name'
***************************************************************************
And the output of "bud -y" is like the following.
1611202312588.png
I tried several commands(for example, "dbus -y com.victronenergy.windcharger.bornay_ttyUSB0 /Mppt/Phase GetValue"), but all failed.
What is worng?
Please help me regarding this problem.
I will wait for your update.
Thank you.


Venus OS
1611202312588.png (19.0 KiB)
2 |3000

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

1 Answer
erfaneshrati avatar image
erfaneshrati answered Ā·

I have the same issue.

2 |3000

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

Related Resources