question

rainerb avatar image
rainerb asked

Venus GX Digital Input - dbus command syntax

Hello,

does anyone know the exact dbus command, in order to read out the State of Digital Input 4 of a Venus GX device? I use a bash script with a few other (working) dbus commands but I can't find the exact syntax for the inputs.

I found the following in the "Modbus TCP Register list", but still don't know the command to address a specific Input:

I tried this and a lot of variations dbus -y com.victronenergy.digitalinput /State GetValue

(By the way, the Input is working and shows its state on the Remote console).


Thank you

Rainer


Venus GX - VGX
1571995454052.png (19.8 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.

2 Answers
Ole Saether avatar image
Ole Saether answered ·

Try:
dbus -y com.victronenergy.digitalinput.input04 /State GetValue

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.

rainerb avatar image rainerb commented ·

Hi, thank you. That is what I was looking for, it works...

0 Likes 0 ·
markussi avatar image
markussi answered ·

hello,


i search the correct Input mapping for the digital Inputs of the venus gx via Modbus.

I use a Siemens Logo, at this device i have no "dbus -y com.victronenergy.digitalinput.input04". I can only use Adress and Unit ID. Which Unit ID i should use for the digital Input 1-4?


Other Data (for example the SOC on 843 and Unit ID 0) works fine.


Thank you,

Markus

4 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.

Ole Saether avatar image Ole Saether commented ·

@MarkusSi
Go to https://www.victronenergy.com/support-and-downloads/whitepapers

and download the document Modbus-TCP register list. In this document it is described how to obtain the Unit ID.

0 Likes 0 ·
markussi avatar image markussi commented ·

@osaether

in the Modbus-TCP Register list ist no extra Unit ID for each of the 5 different digital Inputs. In the Register List is no Unit ID for com.victronenergy.digitalinput.input

What are the different Settings for Input 1 vs. Input 2?

0 Likes 0 ·
Show more comments