loopj / home-assistant-vantage

Home Assistant integration for Vantage InFusion home automation controllers.
MIT License
9 stars 4 forks source link

LVRS8-DIN device not being reported #112

Closed ptr727 closed 6 months ago

ptr727 commented 10 months ago

System Health details

System Information

version core-2023.11.3
installation_type Home Assistant Container
dev false
hassio false
docker true
user root
virtualenv false
python_version 3.11.6
os_name Linux
os_version 6.2.16-18-pve
arch x86_64
timezone America/Los_Angeles
config_dir /config
Home Assistant Community Store GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 4942 Installed Version | 1.33.0 Stage | running Available Repositories | 1411 Downloaded Repositories | 8
Home Assistant Cloud logged_in | true -- | -- subscription_expiration | January 31, 2024 at 4:00 PM relayer_connected | true relayer_region | us-east-1 remote_enabled | true remote_connected | true alexa_enabled | true google_enabled | false remote_server | us-east-1-6.ui.nabu.casa certificate_status | ready can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Dashboards dashboards | 1 -- | -- resources | 2 views | 21 mode | storage
Recorder oldest_recorder_run | September 8, 2023 at 7:14 PM -- | -- current_recorder_run | November 29, 2023 at 9:26 PM estimated_db_size | 4123.86 MiB database_engine | mysql database_version | 10.11.5

Checklist

Describe the issue

I first noticed that none of the SDM12's were reporting any state, all current and power was 0.
Enabled debug logging from diagnostics page, and observed that periodic state reports reported all 0 values.
I observed that the recently added LVRS8-DIN module and associated loads were not listed in HA.
Restarted HA.

Observed that LVRS8-DIN low voltage relay station was not included in device report, but that the 8 switches were reported, and the parent was missing.

Parent 945 is missing:

<Object VID="947">
    <Load VID="947" Master="1" MTime="2023-11-15T05:47:40.079">
        <Name>Station Load 1</Name>
        <Model/>
        <Note/>
        <DName/>
        <ObjectTypeName>Load</ObjectTypeName>
        <Area>316</Area>
        <Location/>
        <Parent Position="1">945</Parent>
        <ContractorNumber>A6</ContractorNumber>
        <FixtureDefinition>0</FixtureDefinition>
        <LoadType>Low Voltage Relay</LoadType>
        <FixturePower>100</FixturePower>
        <FixtureQuantity>1</FixtureQuantity>
        <Power>0</Power>
        <PowerProfile>9</PowerProfile>
        <OverrideLevel>100</OverrideLevel>
        <DimmingConfig>Manual</DimmingConfig>
    </Load>
</Object>

May be unrelated, but I observed that the controller firmware was being reported as 0:

image

Some context:
I have been doing electrical panel maintenance over the past few weeks, and Vantage system has been off for a few minutes at a time.
I installed a low voltage relay stations, this is a DIN device, in order to add it to DC one has to add a DIN enclosure, then add the device to the enclosure.

image

P.s. for system health in issue template could use shortcut https://my.home-assistant.io/redirect/system_health/

Reproduction steps

  1. Add LVRS8-DIN in DC
  2. Look at HA and notice SDM12's are not reporting any values
  3. Notice LVRS8-DIN is not reported.

Logs: home-assistant.log

Debug logs

See debug log file, contents too big to fit here.

Diagnostics dump

home-assistant_vantage_2023-11-30T05-52-32.612Z.log

loopj commented 6 months ago

Missing relay stations should be fixed by https://github.com/loopj/aiovantage/pull/95 and the firmware lookup by https://github.com/loopj/aiovantage/pull/96