Skip to content

Not a isue but a request for help getting this running with modbus from ViperRNMC #138

@esszopo

Description

@esszopo

I've made a template file for changing Fonske modbus entry's to Viper entry's(installed from HACS).
I couldn't make templates for 2 they are:
_discharging_cutoff_capacity
_charging_cutoff_capacity

Next I had a problem with 1 entry that's a select in Fonske's setup and a switch in Viper's.
This is what I came up with.

  - name: "Marstek M1 RS485 Control Mode"
    default_entity_id: select.marstek_m1_rs485_control_mode
    unique_id: marstek_m1_rs485_control_mode
    icon: mdi:connection
    options: "{{ ['On', 'Off'] }}"
    state: >
      {% if is_state('switch.marstek_venus_modbus_rs485_besturingsmodus', 'on') %}
        On
      {% else %}
        Off
      {% endif %}
    select_option:
      - service: "switch.turn_{{ option | lower }}"
        target:
          entity_id: switch.marstek_venus_modbus_rs485_besturingsmodus

The final isue I have is when I deploy the Node Red flows I get a error, not realy a suprise but I know very little about Node Red.

Image

Any help is appreciated.

Harry

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions