Skip to content

Commit

Permalink
updated readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
izak committed Oct 7, 2017
1 parent 51018c0 commit 2253b82
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,24 @@ it manually on a beaglebone aka Venus GX, use this command:

On the first run it will create the user settings for the 5 digital inputs:

/Settings/DigitalInput/x/Function [0=Disabled, 1=Pulse counter, 2=Digital Input]
/Settings/DigitalInput/x/LitersPerPulse liters per pulse
/Settings/DigitalInput/x/Function [0=Disabled, 1=Pulse meter, 2=Digital Input]
/Settings/DigitalInput/x/Type Only used when Function=2, [0=Door alarm, 1=Bilge alarm, 2=Burglar alarm, 3=Smoke alarm, 4=Fire alarm, 5=CO2 alarm]
/Settings/DigitalInput/x/Multiplier cubic meters per pulse, defaults to 0.001
/Settings/DigitalInput/x/Inverted [0=Pin is active high, 1=Pin is active low]

And it creates one other path for each input:

/Settings/DigitalInput/x/Count non-volatile store for the actual pulse count
/Settings/DigitalInput/x/Count non-volatile store for the actual pulse count

Inputs set to pulse count will have these dbus paths:
Inputs with their function set to pulse meter will create a service
`com.victronenergy.pulsemeter.input0x`, and these paths:

x/Volume the amount of liters
x/Count counted pulses
/Aggregate the measured amount in cubic meters
/Count counted pulses

Inputs set to Alarm with have these dbus paths:
Inputs with their function set to digital input will create a service
`com.victronenergy.digitalinput.input0x`, and these dbus paths:

x/Alarm 0 when closed, 1 when open
x/Count counts the pulses, its not necessary to use
this for an alarm input
/State 0 when active, 1 when inactive
/Count count of active pulses
/Type Text string describing the input type

0 comments on commit 2253b82

Please sign in to comment.