question

hummingbear avatar image
hummingbear asked

Instance ID of devices on VenusOS still changing with 2.65~5

I updated to 2.65~5, yet when my VenusOS restarts or if I unplug/plug in my VE Direct USB cables the instance ID of my devices still changes and is not consistent. Looking through the XML for the settings it seems like some of the mappings are incorrect. One device seems to have multiple ID's, see the snippet below, it shows the instance as 289 and 290.

<ClassAndVrmInstance type="s" default="com.victronenergy.solarcharger:289" silent="False">com.victronenergy.solarcharger:290</ClassAndVrmInstance>

If that's the case, can you tell me what I need to correct in my settings.xml so that my devices are assigned the following ID's

  • 288 - SmartShunt
  • 289 - SolarCharger
  • 290 - VE Bus System


Below is the XML from /data/conf/settings.xml on my RaspberryPi VenusOS device


<?xml version='1.0' encoding='UTF-8'?>
<Settings version="9">
  <Alarm>
    <Audible type="i" default="1" silent="False">1</Audible>
    <System>
      <GridLost type="i" min="0" max="1" default="0" silent="False">0</GridLost>
    </System>
    <Vebus>
      <HighDcCurrent type="i" min="0" max="2" default="1" silent="False">1</HighDcCurrent>
      <HighDcRipple type="i" min="0" max="2" default="1" silent="False">1</HighDcRipple>
      <HighDcVoltage type="i" min="0" max="2" default="1" silent="False">1</HighDcVoltage>
      <HighTemperature type="i" min="0" max="2" default="1" silent="False">1</HighTemperature>
      <InverterOverload type="i" min="0" max="2" default="1" silent="False">1</InverterOverload>
      <LowBattery type="i" min="0" max="2" default="1" silent="False">1</LowBattery>
      <TemperatureSenseError type="i" min="0" max="2" default="1" silent="False">1</TemperatureSenseError>
      <VeBusError type="i" min="0" max="2" default="2" silent="False">2</VeBusError>
      <VoltageSenseError type="i" min="0" max="2" default="1" silent="False">1</VoltageSenseError>
    </Vebus>
  </Alarm>
  <CGwacs>
    <BatteryLife>
      <DischargedTime type="i" default="0" silent="True">0</DischargedTime>
      <Flags type="i" default="0" silent="True">0</Flags>
      <MinimumSocLimit type="f" min="0.0" max="100.0" default="10.0" silent="False">10.0</MinimumSocLimit>
      <Schedule>
        <Charge>
          <_0>
            <Day type="i" min="-10" max="9" default="-7" silent="False">-7</Day>
            <Duration type="i" default="0" silent="False">0</Duration>
            <Soc type="i" min="0" max="100" default="100" silent="False">100</Soc>
            <Start type="i" default="0" silent="False">0</Start>
          </_0>
          <_1>
            <Day type="i" min="-10" max="9" default="-7" silent="False">-7</Day>
            <Duration type="i" default="0" silent="False">0</Duration>
            <Soc type="i" min="0" max="100" default="100" silent="False">100</Soc>
            <Start type="i" default="0" silent="False">0</Start>
          </_1>
          <_2>
            <Day type="i" min="-10" max="9" default="-7" silent="False">-7</Day>
            <Duration type="i" default="0" silent="False">0</Duration>
            <Soc type="i" min="0" max="100" default="100" silent="False">100</Soc>
            <Start type="i" default="0" silent="False">0</Start>
          </_2>
          <_3>
            <Day type="i" min="-10" max="9" default="-7" silent="False">-7</Day>
            <Duration type="i" default="0" silent="False">0</Duration>
            <Soc type="i" min="0" max="100" default="100" silent="False">100</Soc>
            <Start type="i" default="0" silent="False">0</Start>
          </_3>
          <_4>
            <Day type="i" min="-10" max="9" default="-7" silent="False">-7</Day>
            <Duration type="i" default="0" silent="False">0</Duration>
            <Soc type="i" min="0" max="100" default="100" silent="False">100</Soc>
            <Start type="i" default="0" silent="False">0</Start>
          </_4>
        </Charge>
      </Schedule>
      <SocLimit type="f" min="0.0" max="100.0" default="10.0" silent="True">10.0</SocLimit>
      <State type="i" default="1" silent="True">1</State>
    </BatteryLife>
  </CGwacs>
  <Devices>
    <vebus_ttyUSB0>
      <CustomName type="s" default="" silent="False"></CustomName>
    </vebus_ttyUSB0>
    <vebus_ttyUSB1>
      <CustomName type="s" default="" silent="False"></CustomName>
    </vebus_ttyUSB1>
    <vebus_ttyUSB2>
      <CustomName type="s" default="" silent="False"></CustomName>
    </vebus_ttyUSB2>
    <vedirect_HQ1911838GN>
      <ClassAndVrmInstance type="s" default="com.victronenergy.solarcharger:289" silent="False">com.victronenergy.solarcharger:290</ClassAndVrmInstance>
    </vedirect_HQ1911838GN>
    <vedirect_HQ2005XRFUV>
      <ClassAndVrmInstance type="s" default="com.victronenergy.battery:288" silent="False">com.victronenergy.battery:289</ClassAndVrmInstance>
    </vedirect_HQ2005XRFUV>
  </Devices>
  <DigitalInput>
    <_1>
      <AlarmSetting type="i" min="0" max="1" default="0" silent="False">0</AlarmSetting>
      <Count type="i" min="0" max="2147483647" default="0" silent="True">0</Count>
      <CustomName type="s" default="" silent="False"></CustomName>
      <InvertAlarm type="i" min="0" max="1" default="0" silent="False">0</InvertAlarm>
      <InvertTranslation type="i" min="0" max="1" default="0" silent="False">0</InvertTranslation>
      <Multiplier type="f" min="0.0" max="1.0" default="0.001" silent="False">0.001</Multiplier>
      <Type type="i" min="0" max="10" default="0" silent="False">0</Type>
    </_1>
    <_2>
      <AlarmSetting type="i" min="0" max="1" default="0" silent="False">0</AlarmSetting>
      <Count type="i" min="0" max="2147483647" default="0" silent="True">0</Count>
      <CustomName type="s" default="" silent="False"></CustomName>
      <InvertAlarm type="i" min="0" max="1" default="0" silent="False">0</InvertAlarm>
      <InvertTranslation type="i" min="0" max="1" default="0" silent="False">0</InvertTranslation>
      <Multiplier type="f" min="0.0" max="1.0" default="0.001" silent="False">0.001</Multiplier>
      <Type type="i" min="0" max="10" default="0" silent="False">0</Type>
    </_2>
    <_3>
      <AlarmSetting type="i" min="0" max="1" default="0" silent="False">0</AlarmSetting>
      <Count type="i" min="0" max="2147483647" default="0" silent="True">0</Count>
      <CustomName type="s" default="" silent="False"></CustomName>
      <InvertAlarm type="i" min="0" max="1" default="0" silent="False">0</InvertAlarm>
      <InvertTranslation type="i" min="0" max="1" default="0" silent="False">0</InvertTranslation>
      <Multiplier type="f" min="0.0" max="1.0" default="0.001" silent="False">0.001</Multiplier>
      <Type type="i" min="0" max="10" default="0" silent="False">0</Type>
    </_3>
    <_4>
      <AlarmSetting type="i" min="0" max="1" default="0" silent="False">0</AlarmSetting>
      <Count type="i" min="0" max="2147483647" default="0" silent="True">0</Count>
      <CustomName type="s" default="" silent="False"></CustomName>
      <InvertAlarm type="i" min="0" max="1" default="0" silent="False">0</InvertAlarm>
      <InvertTranslation type="i" min="0" max="1" default="0" silent="False">0</InvertTranslation>
      <Multiplier type="f" min="0.0" max="1.0" default="0.001" silent="False">0.001</Multiplier>
      <Type type="i" min="0" max="10" default="0" silent="False">0</Type>
    </_4>
    <_5>
      <AlarmSetting type="i" min="0" max="1" default="0" silent="False">0</AlarmSetting>
      <Count type="i" min="0" max="2147483647" default="0" silent="True">0</Count>
      <CustomName type="s" default="" silent="False"></CustomName>
      <InvertAlarm type="i" min="0" max="1" default="0" silent="False">0</InvertAlarm>
      <InvertTranslation type="i" min="0" max="1" default="0" silent="False">0</InvertTranslation>
      <Multiplier type="f" min="0.0" max="1.0" default="0.001" silent="False">0.001</Multiplier>
      <Type type="i" min="0" max="10" default="0" silent="False">0</Type>
    </_5>
  </DigitalInput>
  <FischerPanda0>
    <AcLoad>
      <Enabled type="i" min="0" max="1" default="0" silent="False">0</Enabled>
      <Measurement type="i" min="0" max="100" default="0" silent="False">0</Measurement>
      <QuietHoursStartValue type="i" min="0" max="100000" default="1900" silent="False">1900</QuietHoursStartValue>
      <QuietHoursStopValue type="i" min="0" max="100000" default="1200" silent="False">1200</QuietHoursStopValue>
      <StartTimer type="i" min="0" max="10000" default="20" silent="False">20</StartTimer>
      <StartValue type="i" min="5" max="100000" default="1600" silent="False">1600</StartValue>
      <StopTimer type="i" min="0" max="10000" default="20" silent="False">20</StopTimer>
      <StopValue type="i" min="0" max="100000" default="800" silent="False">800</StopValue>
    </AcLoad>
    <AccumulatedDaily type="s" default="" silent="True"></AccumulatedDaily>
    <AccumulatedTotal type="i" default="0" silent="True">0</AccumulatedTotal>
    <Alarms>
      <NoGeneratorAtAcIn type="i" min="0" max="1" default="0" silent="False">0</NoGeneratorAtAcIn>
    </Alarms>
    <AutoStartEnabled type="i" min="0" max="1" default="1" silent="False">1</AutoStartEnabled>
    <BatteryCurrent>
      <Enabled type="i" min="0" max="1" default="0" silent="False">0</Enabled>
      <QuietHoursStartValue type="f" min="0.0" max="10000.0" default="20.5" silent="False">20.5</QuietHoursStartValue>
      <QuietHoursStopValue type="f" min="0.0" max="10000.0" default="15.5" silent="False">15.5</QuietHoursStopValue>
      <StartTimer type="i" min="0" max="10000" default="20" silent="False">20</StartTimer>
      <StartValue type="f" min="0.5" max="10000.0" default="10.5" silent="False">10.5</StartValue>
      <StopTimer type="i" min="0" max="10000" default="20" silent="False">20</StopTimer>
      <StopValue type="f" min="0.0" max="10000.0" default="5.5" silent="False">5.5</StopValue>
    </BatteryCurrent>
    <BatteryService type="s" default="default" silent="False">default</BatteryService>
    <BatteryVoltage>
      <Enabled type="i" min="0" max="1" default="0" silent="False">0</Enabled>
      <QuietHoursStartValue type="f" min="0.0" max="100.0" default="11.9" silent="False">11.9</QuietHoursStartValue>
      <QuietHoursStopValue type="f" min="0.0" max="100.0" default="12.4" silent="False">12.4</QuietHoursStopValue>
      <StartTimer type="i" min="0" max="10000" default="20" silent="False">20</StartTimer>
      <StartValue type="f" min="0.0" max="150.0" default="11.5" silent="False">11.5</StartValue>
      <StopTimer type="i" min="0" max="10000" default="20" silent="False">20</StopTimer>
      <StopValue type="f" min="0.0" max="150.0" default="12.4" silent="False">12.4</StopValue>
    </BatteryVoltage>
    <InverterHighTemp>
      <Enabled type="i" min="0" max="1" default="0" silent="False">0</Enabled>
      <StartTimer type="i" min="0" max="10000" default="20" silent="False">20</StartTimer>
      <StopTimer type="i" min="0" max="10000" default="20" silent="False">20</StopTimer>
    </InverterHighTemp>
    <InverterOverload>
      <Enabled type="i" min="0" max="1" default="0" silent="False">0</Enabled>
      <StartTimer type="i" min="0" max="10000" default="20" silent="False">20</StartTimer>
      <StopTimer type="i" min="0" max="10000" default="20" silent="False">20</StopTimer>
    </InverterOverload>
    <MinimumRuntime type="i" min="0" max="86400" default="0" silent="False">0</MinimumRuntime>
    <OnLossCommunication type="i" min="0" max="2" default="0" silent="False">0</OnLossCommunication>
    <QuietHours>
      <Enabled type="i" min="0" max="1" default="0" silent="False">0</Enabled>
      <EndTime type="i" min="0" max="86400" default="21600" silent="False">21600</EndTime>
      <StartTime type="i" min="0" max="86400" default="75600" silent="False">75600</StartTime>
    </QuietHours>
    <Soc>
      <Enabled type="i" min="0" max="1" default="0" silent="False">0</Enabled>
      <QuietHoursStartValue type="i" min="0" max="100" default="90" silent="False">90</QuietHoursStartValue>
      <QuietHoursStopValue type="i" min="0" max="100" default="90" silent="False">90</QuietHoursStopValue>
      <StartValue type="i" min="0" max="100" default="80" silent="False">80</StartValue>
      <StopValue type="i" min="0" max="100" default="90" silent="False">90</StopValue>
    </Soc>
    <StopWhenAc1Available type="i" min="0" max="10" default="0" silent="False">0</StopWhenAc1Available>
    <TestRun>
      <Duration type="i" min="1" max="86400" default="7200" silent="False">7200</Duration>
      <Enabled type="i" min="0" max="1" default="0" silent="False">0</Enabled>
      <Interval type="i" min="1" max="365" default="28" silent="False">28</Interval>
      <RunTillBatteryFull type="i" min="0" max="1" default="0" silent="False">0</RunTillBatteryFull>
      <SkipRuntime type="i" min="0" max="100000" default="0" silent="False">0</SkipRuntime>
      <StartDate type="i" min="0" max="10000000000" default="1483228800" silent="False">1483228800</StartDate>
      <StartTime type="i" min="0" max="86400" default="54000" silent="False">54000</StartTime>
    </TestRun>
  </FischerPanda0>
  <Fronius>
    <AutoScan type="i" default="1" silent="False">1</AutoScan>
    <IPAddresses type="s" default="" silent="False"></IPAddresses>
    <InverterIds type="s" default="" silent="False"></InverterIds>
    <KnownIPAddresses type="s" default="" silent="False"></KnownIPAddresses>
    <PortNumber type="i" default="80" silent="False">80</PortNumber>
  </Fronius>
  <Generator0>
    <AcLoad>
      <Enabled type="i" min="0" max="1" default="0" silent="False">0</Enabled>
      <Measurement type="i" min="0" max="100" default="0" silent="False">0</Measurement>
      <QuietHoursStartValue type="i" min="0" max="100000" default="1900" silent="False">2700</QuietHoursStartValue>
      <QuietHoursStopValue type="i" min="0" max="100000" default="1200" silent="False">1200</QuietHoursStopValue>
      <StartTimer type="i" min="0" max="10000" default="20" silent="False">90</StartTimer>
      <StartValue type="i" min="5" max="100000" default="1600" silent="False">2700</StartValue>
      <StopTimer type="i" min="0" max="10000" default="20" silent="False">20</StopTimer>
      <StopValue type="i" min="0" max="100000" default="800" silent="False">1200</StopValue>
    </AcLoad>
    <AccumulatedDaily type="s" default="" silent="True">{"1615161600": 0, "1615248000": 0, "1615334400": 11340, "1615420800": 18053, "1615507200": 4381, "1615593600": 0, "1615680000": 0, "1615766400": 8340, "1615852800": 40, "1615939200": 0, "1616025600": 0, "1616112000": 8640, "1616198400": 3420, "1616284800": 0, "1616371200": 0, "1616457600": 0, "1616544000": 2940, "1616630400": 0, "1616716800": 120, "1616803200": 0, "1616889600": 0, "1616976000": 2100, "1617062400": 180, "1617148800": 0, "1617235200": 0, "1617321600": 0, "1617408000": 0, "1617494400": 0, "1617580800": 0, "1617667200": 0}</AccumulatedDaily>
    <AccumulatedTotal type="i" default="0" silent="True">395119</AccumulatedTotal>
    <Alarms>
      <NoGeneratorAtAcIn type="i" min="0" max="1" default="0" silent="False">1</NoGeneratorAtAcIn>
    </Alarms>
    <AutoStartEnabled type="i" min="0" max="1" default="1" silent="False">0</AutoStartEnabled>
    <BatteryCurrent>
      <Enabled type="i" min="0" max="1" default="0" silent="False">0</Enabled>
      <QuietHoursStartValue type="f" min="0.0" max="10000.0" default="20.5" silent="False">20.5</QuietHoursStartValue>
      <QuietHoursStopValue type="f" min="0.0" max="10000.0" default="15.5" silent="False">15.5</QuietHoursStopValue>
      <StartTimer type="i" min="0" max="10000" default="20" silent="False">20</StartTimer>
      <StartValue type="f" min="0.5" max="10000.0" default="10.5" silent="False">10.5</StartValue>
      <StopTimer type="i" min="0" max="10000" default="20" silent="False">20</StopTimer>
      <StopValue type="f" min="0.0" max="10000.0" default="5.5" silent="False">5.5</StopValue>
    </BatteryCurrent>
    <BatteryService type="s" default="default" silent="False">default</BatteryService>
    <BatteryVoltage>
      <Enabled type="i" min="0" max="1" default="0" silent="False">0</Enabled>
      <QuietHoursStartValue type="f" min="0.0" max="100.0" default="11.9" silent="False">23.3000011444</QuietHoursStartValue>
      <QuietHoursStopValue type="f" min="0.0" max="100.0" default="12.4" silent="False">28.5</QuietHoursStopValue>
      <StartTimer type="i" min="0" max="10000" default="20" silent="False">300</StartTimer>
      <StartValue type="f" min="0.0" max="150.0" default="11.5" silent="False">23.5</StartValue>
      <StopTimer type="i" min="0" max="10000" default="20" silent="False">300</StopTimer>
      <StopValue type="f" min="0.0" max="150.0" default="12.4" silent="False">28.5</StopValue>
    </BatteryVoltage>
    <InverterHighTemp>
      <Enabled type="i" min="0" max="1" default="0" silent="False">0</Enabled>
      <StartTimer type="i" min="0" max="10000" default="20" silent="False">20</StartTimer>
      <StopTimer type="i" min="0" max="10000" default="20" silent="False">20</StopTimer>
    </InverterHighTemp>
    <InverterOverload>
      <Enabled type="i" min="0" max="1" default="0" silent="False">0</Enabled>
      <StartTimer type="i" min="0" max="10000" default="20" silent="False">20</StartTimer>
      <StopTimer type="i" min="0" max="10000" default="20" silent="False">20</StopTimer>
    </InverterOverload>
    <MinimumRuntime type="i" min="0" max="86400" default="0" silent="False">0</MinimumRuntime>
    <OnLossCommunication type="i" min="0" max="2" default="0" silent="False">0</OnLossCommunication>
    <QuietHours>
      <Enabled type="i" min="0" max="1" default="0" silent="False">1</Enabled>
      <EndTime type="i" min="0" max="86400" default="21600" silent="False">32400</EndTime>
      <StartTime type="i" min="0" max="86400" default="75600" silent="False">75600</StartTime>
    </QuietHours>
    <Soc>
      <Enabled type="i" min="0" max="1" default="0" silent="False">1</Enabled>
      <QuietHoursStartValue type="i" min="0" max="100" default="90" silent="False">70</QuietHoursStartValue>
      <QuietHoursStopValue type="i" min="0" max="100" default="90" silent="False">90</QuietHoursStopValue>
      <StartValue type="i" min="0" max="100" default="80" silent="False">75</StartValue>
      <StopValue type="i" min="0" max="100" default="90" silent="False">95</StopValue>
    </Soc>
    <StopWhenAc1Available type="i" min="0" max="10" default="0" silent="False">0</StopWhenAc1Available>
    <TestRun>
      <Duration type="i" min="1" max="86400" default="7200" silent="False">7200</Duration>
      <Enabled type="i" min="0" max="1" default="0" silent="False">0</Enabled>
      <Interval type="i" min="1" max="365" default="28" silent="False">28</Interval>
      <RunTillBatteryFull type="i" min="0" max="1" default="0" silent="False">0</RunTillBatteryFull>
      <SkipRuntime type="i" min="0" max="100000" default="0" silent="False">0</SkipRuntime>
      <StartDate type="i" min="0" max="10000000000" default="1483228800" silent="False">1483228800</StartDate>
      <StartTime type="i" min="0" max="86400" default="54000" silent="False">54000</StartTime>
    </TestRun>
  </Generator0>
  <Gps>
    <Format type="i" default="0" silent="False">0</Format>
    <SpeedUnit type="s" default="km/h" silent="False">km/h</SpeedUnit>
  </Gps>
  <Gui>
    <AutoBrightness type="i" min="0" max="1" default="1" silent="False">0</AutoBrightness>
    <Brightness type="i" min="0" max="100" default="100" silent="False">100</Brightness>
    <DefaultOverview type="s" default="" silent="False">OverviewTiles</DefaultOverview>
    <DemoMode type="i" min="0" max="3" default="0" silent="False">0</DemoMode>
    <DisplayOff type="i" default="600" silent="False">600</DisplayOff>
    <Language type="s" default="en" silent="False">en</Language>
    <MobileOverview type="i" min="0" max="1" default="0" silent="False">1</MobileOverview>
    <StartWithMenuView type="i" min="0" max="1" default="0" silent="True">1</StartWithMenuView>
  </Gui>
  <ModbusClient>
    <tcp>
      <AutoScan type="i" min="0" max="1" default="0" silent="False">1</AutoScan>
      <Devices type="s" default="" silent="False"></Devices>
    </tcp>
  </ModbusClient>
  <Relay>
    <Function type="i" default="0" silent="False">1</Function>
    <Polarity type="i" default="0" silent="False">0</Polarity>
    <_0>
      <InitialState type="i" min="0" max="1" default="0" silent="False">0</InitialState>
    </_0>
    <_1>
      <InitialState type="i" min="0" max="1" default="0" silent="False">0</InitialState>
    </_1>
  </Relay>
  <Sensors>
    <OnPosition>
      <ACIn1_L1 type="s" default="" silent="False"></ACIn1_L1>
      <ACIn1_L2 type="s" default="" silent="False"></ACIn1_L2>
      <ACIn1_L3 type="s" default="" silent="False"></ACIn1_L3>
      <ACIn2_L1 type="s" default="" silent="False"></ACIn2_L1>
      <ACIn2_L2 type="s" default="" silent="False"></ACIn2_L2>
      <ACIn2_L3 type="s" default="" silent="False"></ACIn2_L3>
      <ACOut_L1 type="s" default="" silent="False"></ACOut_L1>
      <ACOut_L2 type="s" default="" silent="False"></ACOut_L2>
      <ACOut_L3 type="s" default="" silent="False"></ACOut_L3>
    </OnPosition>
  </Sensors>
  <Services>
    <AccessPoint type="i" min="0" max="1" default="1" silent="False">1</AccessPoint>
    <Bluetooth type="i" min="0" max="1" default="1" silent="False">1</Bluetooth>
    <Bol type="i" min="0" max="7" default="0" silent="False">1</Bol>
    <Console type="i" default="0" silent="False">1</Console>
    <FischerPandaAutoStartStop type="i" min="0" max="1" default="0" silent="False">0</FischerPandaAutoStartStop>
    <Modbus type="i" min="0" max="1" default="0" silent="False">1</Modbus>
    <MqttLocal type="i" min="0" max="1" default="0" silent="False">1</MqttLocal>
    <MqttLocalInsecure type="i" min="0" max="1" default="0" silent="False">1</MqttLocalInsecure>
    <MqttN2k type="i" min="0" max="1" default="0" silent="False">0</MqttN2k>
    <MqttVrm type="i" min="0" max="1" default="0" silent="False">1</MqttVrm>
    <NodeRed type="i" min="0" max="1" default="0" silent="False">1</NodeRed>
    <SignalK type="i" min="0" max="1" default="0" silent="False">1</SignalK>
    <Socketcand type="i" min="0" max="1" default="0" silent="False">0</Socketcand>
  </Services>
  <System>
    <AccessLevel type="i" min="0" max="3" default="1" silent="False">2</AccessLevel>
    <ActiveNetworkConnection type="i" min="-1" max="3" default="-1" silent="True">2</ActiveNetworkConnection>
    <AutoUpdate type="i" min="0" max="3" default="2" silent="False">2</AutoUpdate>
    <ImageType type="i" min="0" max="1" default="0" silent="False">0</ImageType>
    <LogLevel type="i" default="2" silent="False">2</LogLevel>
    <ReleaseType type="i" min="0" max="3" default="0" silent="False">1</ReleaseType>
    <RemoteSupport type="i" min="0" max="1" default="0" silent="False">0</RemoteSupport>
    <RemoteSupportIpAndPort type="s" default="0" silent="False">35.165.124.40;31927</RemoteSupportIpAndPort>
    <SSHLocal type="i" min="0" max="1" default="0" silent="False">1</SSHLocal>
    <TimeZone type="s" default="/UTC" silent="False">America/Los_Angeles</TimeZone>
    <VncInternet type="i" min="0" max="1" default="1" silent="False">1</VncInternet>
    <VncLocal type="i" min="0" max="1" default="1" silent="False">1</VncLocal>
    <VolumeUnit type="i" default="0" silent="False">0</VolumeUnit>
  </System>
  <SystemSetup>
    <AcInput1 type="i" min="0" max="3" default="0" silent="False">2</AcInput1>
    <AcInput2 type="i" min="0" max="3" default="0" silent="False">0</AcInput2>
    <Batteries>
      <Configuration>
        <com_victronenergy_battery>
          <_288>
            <Enabled type="i" min="0" max="1" default="0" silent="False">0</Enabled>
            <Name type="s" default="" silent="False"></Name>
            <Service type="s" default="" silent="False">com.victronenergy.battery/288</Service>
            <_1>
              <Enabled type="i" min="0" max="1" default="0" silent="False">0</Enabled>
              <Name type="s" default="" silent="False"></Name>
              <Service type="s" default="" silent="False">com.victronenergy.battery/288/1</Service>
            </_1>
          </_288>
          <_289>
            <Enabled type="i" min="0" max="1" default="0" silent="False">0</Enabled>
            <Name type="s" default="" silent="False"></Name>
            <Service type="s" default="" silent="False">com.victronenergy.battery/289</Service>
            <_1>
              <Enabled type="i" min="0" max="1" default="0" silent="False">0</Enabled>
              <Name type="s" default="" silent="False"></Name>
              <Service type="s" default="" silent="False">com.victronenergy.battery/289/1</Service>
            </_1>
          </_289>
          <_290>
            <Enabled type="i" min="0" max="1" default="0" silent="False">0</Enabled>
            <Name type="s" default="" silent="False"></Name>
            <Service type="s" default="" silent="False">com.victronenergy.battery/290</Service>
            <_1>
              <Enabled type="i" min="0" max="1" default="0" silent="False">0</Enabled>
              <Name type="s" default="" silent="False"></Name>
              <Service type="s" default="" silent="False">com.victronenergy.battery/290/1</Service>
            </_1>
          </_290>
        </com_victronenergy_battery>
        <com_victronenergy_vebus>
          <_288>
            <Enabled type="i" min="0" max="1" default="0" silent="False">0</Enabled>
            <Name type="s" default="" silent="False">TestAoo</Name>
            <Service type="s" default="" silent="False">com.victronenergy.vebus/288</Service>
          </_288>
          <_289>
            <Enabled type="i" min="0" max="1" default="0" silent="False">0</Enabled>
            <Name type="s" default="" silent="False"></Name>
            <Service type="s" default="" silent="False">com.victronenergy.vebus/289</Service>
          </_289>
          <_290>
            <Enabled type="i" min="0" max="1" default="0" silent="False">0</Enabled>
            <Name type="s" default="" silent="False"></Name>
            <Service type="s" default="" silent="False">com.victronenergy.vebus/290</Service>
          </_290>
        </com_victronenergy_vebus>
      </Configuration>
    </Batteries>
    <BatteryCurrentSense type="i" default="1" silent="False">1</BatteryCurrentSense>
    <BatteryService type="s" default="default" silent="False">com.victronenergy.battery/289</BatteryService>
    <HasAcOutSystem type="i" min="0" max="1" default="1" silent="False">1</HasAcOutSystem>
    <HasDcSystem type="i" min="0" max="1" default="0" silent="False">1</HasDcSystem>
    <MaxChargeCurrent type="i" min="-1" max="10000" default="-1" silent="False">200</MaxChargeCurrent>
    <MaxChargeVoltage type="f" min="0.0" max="80.0" default="0.0" silent="False">0.0</MaxChargeVoltage>
    <SharedTemperatureSense type="i" default="1" silent="False">1</SharedTemperatureSense>
    <SharedVoltageSense type="i" default="1" silent="False">1</SharedVoltageSense>
    <SystemName type="s" default="" silent="False">Hummingbear</SystemName>
    <TemperatureService type="s" default="default" silent="False">com.victronenergy.vebus/288/Dc/0/Temperature</TemperatureService>
  </SystemSetup>
  <Victron>
    <Products>
      <HQ1911838GN>
        <CustomName type="s" default="" silent="False"></CustomName>
      </HQ1911838GN>
      <HQ2005XRFUV>
        <CustomName type="s" default="" silent="False"></CustomName>
      </HQ2005XRFUV>
    </Products>
  </Victron>
  <Vrmlogger>
    <ExternalStorageDir type="s" default="" silent="False"></ExternalStorageDir>
    <Http>
      <Proxy type="s" default="" silent="False"></Proxy>
      <ProxyPort type="s" default="" silent="False"></ProxyPort>
    </Http>
    <HttpsEnabled type="i" min="0" max="1" default="0" silent="False">1</HttpsEnabled>
    <LogInterval type="i" default="900" silent="False">60</LogInterval>
    <Logmode type="i" min="0" max="2" default="1" silent="False">1</Logmode>
    <RamDiskMode type="i" min="0" max="1" default="0" silent="False">0</RamDiskMode>
    <Url type="s" default="" silent="False"></Url>
  </Vrmlogger>
  <Watchdog>
    <VrmTimeout type="i" min="0" max="86400" default="0" silent="False">3600</VrmTimeout>
  </Watchdog>
</Settings>

@mvader (Victron Energy)

Venus OSRaspberry Pi
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
Thiemo van Engelen (Victron Energy staff) avatar image
Thiemo van Engelen (Victron Energy staff) answered ·

Hi,

<vedirect_HQ1911838GN>
      <ClassAndVrmInstance type="s" default="com.victronenergy.solarcharger:289" silent="False">com.victronenergy.solarcharger:290</ClassAndVrmInstance>
</vedirect_HQ1911838GN>

What this means is that the default for this solarcharger with serial HQ1911838GN was instance 289. This default is based on the which tty device was assigned when first plugged in. But because solarcharger instance 289 was already taken by some other product, localsettings assigned instance 290 to this product. This should also be the deviceInstance that it always gets (as long as this settings file is used) and that it should use when communicating with VRM. This is not the case?

What is interesting here is that there is no other product with a com.victronenegry.solarcharger:289 default. Did you already edit the settings file by hand?

Kind regards,

Thiemo van Engelen

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

hummingbear avatar image hummingbear commented ·

Thanks for the reply! No i haven't yet edited the settings as I wasn't sure what the right config would be. Any input on how I would want to edit the XML below to match this:

  • 288 - SmartShunt
  • 289 - SolarCharger
  • 290 - VE Bus System (Multiplus)

Is there any other part of the XML I would want to update?

<Devices>
    <vebus_ttyUSB0>
      <CustomName type="s" default="" silent="False"></CustomName>
    </vebus_ttyUSB0>
    <vebus_ttyUSB1>
      <CustomName type="s" default="" silent="False"></CustomName>
    </vebus_ttyUSB1>
    <vebus_ttyUSB2>
      <CustomName type="s" default="" silent="False"></CustomName>
    </vebus_ttyUSB2>
    <vedirect_HQ1911838GN>
      <ClassAndVrmInstance type="s" default="com.victronenergy.solarcharger:289" silent="False">com.victronenergy.solarcharger:290</ClassAndVrmInstance>
    </vedirect_HQ1911838GN>
    <vedirect_HQ2005XRFUV>
      <ClassAndVrmInstance type="s" default="com.victronenergy.battery:288" silent="False">com.victronenergy.battery:289</ClassAndVrmInstance>
    </vedirect_HQ2005XRFUV>
  </Devices>


I'm assuming I should edit it like below where the numbers match, but is there anywhere else in the settings I need to add or update the reference to the instance ID?


<ClassAndVrmInstance type="s" default="com.victronenergy.solarcharger:289" silent="False">com.victronenergy.solarcharger:289</ClassAndVrmInstance>


0 Likes 0 ·
Thiemo van Engelen (Victron Energy staff) avatar image Thiemo van Engelen (Victron Energy staff) ♦ hummingbear commented ·

Hi,

But is the instance indeed changing and if so, what are the values?

I ask this because this should work properly and based on the provided config, I would expect that the solar charger always gets instance 290 and the smartshunt instance 289.

Kind regards,

Thiemo van Engelen

0 Likes 0 ·
hummingbear avatar image hummingbear Thiemo van Engelen (Victron Energy staff) ♦ commented ·

No they have been changing. Sometimes the smart-shunt is 289 and the charge controller is 290, sometimes the smart-shunt is 288 and charge-controller is 289. I thought the fix in 2.65~3 would prevent them from picking up other instance ID's. It's been messing with my MQTT paths and the data I export from VRM, very frustrating.

I want them to pick an instance ID and stick to it. MVader had mentioned that this was defined in the settings file so I'm wondering what I need to update to ensure that they don't flip between difference instance IDs


Also I'm not sure why my VE Bus (multiplus) isn't defined in that list, that should be assigned 290

0 Likes 0 ·
Thiemo van Engelen (Victron Energy staff) avatar image Thiemo van Engelen (Victron Energy staff) ♦ hummingbear commented ·

Hi,

Yes it is defined in the settings file, but as I said, the settings file does contain entries for these devices so they should already be fixed to 290 for the solar charger and 289 for the smartshunt.

Can you perhaps give the VRM link (or VRM is) and enable remote support so we can login on the system and check on the system what might be causing the issues?

Kind regards,

Thiemo van Engelen

0 Likes 0 ·
hummingbear avatar image hummingbear Thiemo van Engelen (Victron Energy staff) ♦ commented ·

That would be great if you could take a look. VRM ID is b827eb57c4de and remote support enabled. I edited the config so that the ID in

<ClassAndVrmInstance type="s" default="com.victronenergy.solarcharger:290" silent="False">com.victronenergy.solarcharger:290</ClassAndVrmInstance>
    </vedirect_HQ1911838GN>
    <vedirect_HQ2005XRFUV>
      <ClassAndVrmInstance type="s" default="com.victronenergy.battery:288" silent="False">com.victronenergy.battery:288</ClassAndVrmInstance>
    </vedirect_HQ2005XRFUV>


matches eachother, but I'm still noticing over MQTT my Vebus Device is 288 and my smart shunt is 288

0 Likes 0 ·
Show more comments