Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generator Data #44

Open
SyncMXL opened this issue Oct 22, 2024 · 1 comment
Open

Generator Data #44

SyncMXL opened this issue Oct 22, 2024 · 1 comment

Comments

@SyncMXL
Copy link

SyncMXL commented Oct 22, 2024

Hi, nice work.
Is it possible to add Datas fromn the Generator Port, like L1,2,3 power, current, volatage. I can not find this values

@rvdgaag
Copy link

rvdgaag commented Dec 12, 2024

You can add this to the configuration yaml

` - platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
name: "${device_type}-Generator Power L1"
id: "${device_type}_generator_power_l1"
register_type: holding
address: 664
unit_of_measurement: "W"
state_class: "measurement"
accuracy_decimals: 1
filters:
- multiply: 0.1
value_type: U_WORD

  • platform: modbus_controller
    modbus_controller_id: ${modbus_controller_id}
    name: "${device_type}-Generator Power L2"
    id: "${device_type}_generator_power_l2"
    register_type: holding
    address: 665
    unit_of_measurement: "W"
    state_class: "measurement"
    accuracy_decimals: 1
    value_type: U_WORD

  • platform: modbus_controller
    modbus_controller_id: ${modbus_controller_id}
    name: "${device_type}-generator power l3"
    id: "${device_type}_generator_power_l3"
    register_type: holding
    address: 666
    unit_of_measurement: "W"
    state_class: "measurement"
    accuracy_decimals: 1
    value_type: U_WORD

  • platform: modbus_controller
    modbus_controller_id: ${modbus_controller_id}
    name: "${device_type}-Generator Voltage Phase L1"
    id: "${device_type}_generator_voltage_phase_l1"
    register_type: holding
    address: 661
    unit_of_measurement: "V"
    state_class: "measurement"
    accuracy_decimals: 1
    filters:

    • multiply: 0.1
      value_type: U_WORD
  • platform: modbus_controller
    modbus_controller_id: ${modbus_controller_id}
    name: "${device_type}-Generator Voltage Phase L2"
    id: "${device_type}_generator_voltage_phase_l2"
    register_type: holding
    address: 662
    unit_of_measurement: "V"
    state_class: "measurement"
    accuracy_decimals: 1
    filters:

    • multiply: 0.1
      value_type: U_WORD
  • platform: modbus_controller
    modbus_controller_id: ${modbus_controller_id}
    name: "${device_type}-Generator Voltage Phase L3"
    id: "${device_type}_generator_voltage_phase_l3"
    register_type: holding
    address: 663
    unit_of_measurement: "V"
    state_class: "measurement"
    accuracy_decimals: 1
    filters:

    • multiply: 0.1
      value_type: U_WORD
  • platform: modbus_controller
    modbus_controller_id: ${modbus_controller_id}
    name: "${device_type}-Generator Power Total"
    id: "${device_type}_generator_power_total"
    register_type: holding
    address: 667
    unit_of_measurement: "W"
    state_class: "measurement"
    accuracy_decimals: 0
    value_type: U_WORD
    `

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants