loop: 1 device: name: LVX6048 #1 serial_number: lvx6048_1 manufacturer: MPP Solar model: LVX6048 port: type: usb path: /dev/lvx6048-1 protocol: PI18 mqttbroker: name: 10.0.0.41 port: 1883 username: mqtt password: adhoc_topic: powermon/lvx6048_1/addcommand adhoc_result_topic: powermon/lvx6048_1/result commands: - command: GS trigger: every: 5 outputs: - type: mqtt topic: powermon/lvx6048_1/GS format: type: hass discovery_prefix: homeassistant entity_id_prefix: lvx6048_1 # drop dead/unconnected fields (always-zero / always-misleading on this # hardware): SCC voltages we don't have, MPPT2 inputs nothing's wired # to, internal "config changed" echo flag. excl_filter: '^(battery_voltage_from_scc.*|mppt2_.*|setting_value_configuration_state)$' - command: MOD trigger: every: 10 outputs: - type: mqtt topic: powermon/lvx6048_1/MOD format: type: hass discovery_prefix: homeassistant entity_id_prefix: lvx6048_1 - command: PIRI trigger: every: 300 outputs: - type: mqtt topic: powermon/lvx6048_1/PIRI format: type: hass discovery_prefix: homeassistant entity_id_prefix: lvx6048_1 - command: ET trigger: every: 60 outputs: - type: mqtt topic: powermon/lvx6048_1/ET format: type: hass discovery_prefix: homeassistant entity_id_prefix: lvx6048_1 # Fault + warning bits (2-digit fault_code + 16 boolean warning flags). # Polled every 30 s — fast enough to be useful in HA, slow enough not to # flood the bus during normal "No fault" steady state. - command: FWS trigger: every: 30 outputs: - type: mqtt topic: powermon/lvx6048_1/FWS format: type: hass discovery_prefix: homeassistant entity_id_prefix: lvx6048_1