victronenergy / node-red-contrib-victron

MIT License
87 stars 18 forks source link

Cleanup services.json #121

Closed dirkjanfaber closed 2 years ago

dirkjanfaber commented 2 years ago

From issue #115, a lot of stuff can be cleaned up from the services.json file:

input-digitalinput:/Aggregate
input-digitalinput:/ProductId
input-tank:/Standard
input-temperature:/AccelX
input-temperature:/AccelY
input-temperature:/AccelZ
input-inverter:/Mode
input-pvinverter:/StatusCode
input-pvinverter:/ErrorCode
input-pvinverter:/Ac/Energy/Forward
input-accharger:/Dc/1/Temperature
input-accharger:/Dc/2/Temperature
input-accharger:/Ac/In/CurrentLimit
input-accharger:/Mode
input-accharger:/NrOfOutputs
input-solarcharger:/Mode
input-solarcharger:/Load/State
input-solarcharger:/Load/I
input-solarcharger:/Yield/System
input-battery:/Info/MaxDischargeVoltage
input-battery:/Dc/0/Power
input-gridmeter:/Ac/Power
input-vebus:/Ac/In/1/CurrentLimit
input-vebus:/Ac/In/1/CurrentLimitIsAdjustable
input-vebus:/Ac/In/2/CurrentLimit
input-vebus:/Ac/In/2/CurrentLimitIsAdjustable
input-vebus:/Soc
input-vebus:/Mode
input-vebus:/ModeIsAdjustable
input-vebus:/Energy/AcIn1ToInverter
input-vebus:/Energy/AcIn2ToInverter
input-vebus:/Energy/AcIn1ToAcOut
input-vebus:/Energy/AcIn2ToAcOut
input-vebus:/Energy/InverterToAcIn1
input-vebus:/Energy/InverterToAcIn2
input-vebus:/Energy/AcOutToAcIn1
input-vebus:/Energy/AcOutToAcIn2
input-vebus:/Energy/InverterToAcOut
input-vebus:/Energy/OutToInverter
input-ess:/Hub4/DisableFeedIn
input-ess:/Hub4/DisableCharge
input-ess:/Hub4/L1/AcPowerSetpoint
input-ess:/Hub4/L2/AcPowerSetpoint
input-ess:/Hub4/L3/AcPowerSetpoint
input-ess:/Settings/CGwacs/Hub4Mode
input-ess:/Settings/CGwacs/AcPowerSetPoint
input-ess:/Settings/CGwacs/BatteryLife/MinimumSocLimit
input-ess:/Settings/CGwacs/BatteryLife/SocLimit
input-ess:/Settings/CGwacs/BatteryLife/State
input-ess:/Settings/CGwacs/Hub4Mode
input-ess:/Settings/CGwacs/MaxDischargePower
input-ess:/Settings/CGwacs/OvervoltageFeedIn
input-ess:/Settings/CGwacs/PreventFeedback
input-ess:/Settings/SystemSetup/MaxChargeCurrent
input-system:/Ac/ConsumptionOnInput/L1/Power
input-system:/Ac/ConsumptionOnInput/L2/Power
input-system:/Ac/ConsumptionOnInput/L3/Power
input-system:/Ac/ConsumptionOnInput/NumberOfPhases
input-system:/Ac/ConsumptionOnOutput/L1/Power
input-system:/Ac/ConsumptionOnOutput/L2/Power
input-system:/Ac/ConsumptionOnOutput/L3/Power
input-system:/Ac/ConsumptionOnOutput/NumberOfPhases
input-system:/Ac/Genset/NumberOfPhases
input-system:/Ac/Genset/DeviceType
input-system:/Ac/Grid/NumberOfPhases
input-system:/Ac/Grid/DeviceType
input-system:/Ac/PvOnGenset/NumberOfPhases
input-system:/Ac/PvOnGrid/NumberOfPhases
input-system:/Ac/PvOnOutput/NumberOfPhases
input-system:/Dc/Battery/Temperature
input-system:/Buzzer/State
input-system:/Timers/TimeOnGrid
input-system:/Timers/TimeOnGenerator
input-system:/Timers/TimeOnInverter
input-system:/Timers/TimeOff
input-system:/SystemType
input-dcsource:/Dc/0/Power
input-dcsource:/Dc/0/MidVoltage
input-dcsource:/Dc/0/MidVoltageDeviation
input-dcsource:/Alarms/MidVoltage
input-dcload:/Dc/0/Power
input-dcload:/Dc/0/MidVoltage
input-dcload:/Dc/0/MidVoltageDeviation
input-dcload:/Alarms/MidVoltage
input-alternator:/Dc/0/Power
input-alternator:/AlterntorRPM
input-alternator:/EngineRPM
input-alternator:/FieldDrive
input-alternator:/AlternatorStatus
input-alternator:/ChargeEnable
input-alternator:/Mode
input-alternator:/State
input-alternator:/Alarms/ChargerError
input-alternator:/Alarms/Overload
input-alternator:/Alarms/Temperature
input-alternator:/Alarms/AlternatorError
input-dcdc:/Dc/0/Voltage
input-dcdc:/Dc/0/Current
input-dcdc:/Dc/0/Power
input-dcdc:/Dc/0/Temperature
input-dcdc:/ChargeEnable
input-dcdc:/Mode
input-dcdc:/State
input-dcdc:/Alarms/LowVoltage
input-dcdc:/Alarms/ChargerError
input-dcdc:/Alarms/Overload
input-dcdc:/Alarms/Temperature
output-vebus:/Ac/In/1/CurrentLimit
output-vebus:/Ac/In/2/CurrentLimit
output-ess:/Hub4/DisableFeedIn
output-ess:/Hub4/DisableCharge
output-ess:/PvInverter/Disable
output-ess:/Hub4/L1/AcPowerSetpoint
output-ess:/Hub4/L1/MaxFeedInPower
output-ess:/Hub4/L2/AcPowerSetpoint
output-ess:/Hub4/L2/MaxFeedInPower
output-ess:/Hub4/L3/AcPowerSetpoint
output-ess:/Hub4/L3/MaxFeedInPower
output-ess:/Hub4/DoNotFeedInOvervoltage
output-ess:/SystemReset
output-ess:/Settings/CGwacs/AcPowerSetPoint
output-ess:/Settings/CGwacs/BatteryLife/MinimumSocLimit
output-ess:/Settings/CGwacs/BatteryLife/State
output-ess:/Settings/CGwacs/Hub4Mode
output-ess:/Settings/CGwacs/MaxDischargePower
output-ess:/Settings/CGwacs/OvervoltageFeedIn
output-ess:/Settings/CGwacs/PreventFeedback
output-ess:/Settings/SystemSetup/MaxChargeCurrent

Note that not all of them need to be removed; some of them need to be added to dbus_modbustcp instead. Or will be only available when not connected via modbus-tcp.

dirkjanfaber commented 2 years ago

Checked the entries; most of them could still remain (as they are on the regular dbus). We don't want everything on the dbus_modbustcp as well. Able to close both this issue as issue #115 by the last merge.