Coder Social home page Coder Social logo

Comments (4)

wills106 avatar wills106 commented on June 16, 2024 2

This is possibly the same error as #801

I have just released 2024.04.4b1 pushing pyModbus to v3.6.8

from homeassistant-solax-modbus.

Frintrop avatar Frintrop commented on June 16, 2024 1

Having same problem on my side.
Fehler: Modbus Error: [Input/Output] ERROR: No response received after 3 retries

Using this automation in ha:

alias: Wallbox ohne Batterie laden
description: ""
trigger:

  • platform: time_pattern
    hours: ""
    minutes: "
    "
    seconds: "0"
    condition: []
    action:
  • if:
    • condition: or
      conditions:
      • condition: numeric_state
        entity_id: sensor.wallbox_portal_charging_power
        above: 3
      • condition: numeric_state
        entity_id: sensor.wallbox_portal_charging_power_2
        above: 3
        then:
    • if:
      • condition: state
        entity_id: select.sofar_lse3_energy_storage_mode
        state: Self Use
        then:
      • service: input_select.select_option
        target:
        entity_id: select.sofar_lse3_energy_storage_mode
        data:
        option: Passive Mode
      • service: number.set_value
        metadata: {}
        data:
        value: "10000"
        target:
        entity_id: number.sofar_lse3_passive_maximum_battery_power
      • service: button.press
        metadata: {}
        data: {}
        target:
        entity_id: button.sofar_lse3_passive_update_battery_charge_discharge
        else:
    • if:
      • condition: state
        entity_id: select.sofar_lse3_energy_storage_mode
        state: Passive Mode
        then:
      • service: input_select.select_option
        target:
        entity_id: select.sofar_lse3_energy_storage_mode
        data:
        option: Self Use
      • service: button.press
        metadata: {}
        data: {}
        target:
        entity_id: button.sofar_lse3_passive_update_battery_charge_discharge
        mode: single

from homeassistant-solax-modbus.

julienbourgainpro avatar julienbourgainpro commented on June 16, 2024

On my side, i have made a script in node-red to observe a "wanted storage mode select" and change inverter mode with catch error and retries in a while loops. but it would be simplier without this error

image

In config.yaml

sofar_wanted_storage_mode:
  name: Mode de stockage voulu
  options:
    - Self Use
    - Time of Use
    - Passive Mode
  initial: Time of Use
  icon: mdi:panda

In node-red
[{"id":"6652012ab3fc4571","type":"api-call-service","z":"616154d2fa885784","name":"Set Passive Mode","server":"d467981a.05fb88","version":5,"debugenabled":false,"domain":"script","service":"passive_mode","areaId":[],"deviceId":[],"entityId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":670,"y":700,"wires":[["94ce86d81423a43a"]]},{"id":"0397d651202298c5","type":"api-current-state","z":"616154d2fa885784","name":"If is not Passive Mode","server":"d467981a.05fb88","version":3,"outputs":2,"halt_if":"Passive Mode","halt_if_type":"str","halt_if_compare":"is_not","entity_id":"select.sofar_energy_storage_mode","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":420,"y":700,"wires":[["6652012ab3fc4571"],["4a9ddd77c5b674e3"]]},{"id":"f524f04b1989e25d","type":"catch","z":"616154d2fa885784","name":"","scope":["6652012ab3fc4571"],"uncaught":false,"x":640,"y":740,"wires":[["94ce86d81423a43a"]]},{"id":"f8b6c0bf1b5b36d8","type":"api-call-service","z":"616154d2fa885784","name":"Set Self Use","server":"d467981a.05fb88","version":5,"debugenabled":false,"domain":"script","service":"self_use","areaId":[],"deviceId":[],"entityId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":650,"y":900,"wires":[["7dcbab87ec175374"]]},{"id":"dfb88a4fd921c30f","type":"api-current-state","z":"616154d2fa885784","name":"If is not Self Use","server":"d467981a.05fb88","version":3,"outputs":2,"halt_if":"Self Use","halt_if_type":"str","halt_if_compare":"is_not","entity_id":"select.sofar_energy_storage_mode","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":400,"y":900,"wires":[["f8b6c0bf1b5b36d8"],["05899f6953be5e1a"]]},{"id":"e95a0033b649ecb0","type":"catch","z":"616154d2fa885784","name":"","scope":["f8b6c0bf1b5b36d8"],"uncaught":false,"x":640,"y":960,"wires":[["7dcbab87ec175374"]]},{"id":"84ca676d87499c9d","type":"api-call-service","z":"616154d2fa885784","name":"Set Time of Use","server":"d467981a.05fb88","version":5,"debugenabled":false,"domain":"script","service":"time_of_use","areaId":[],"deviceId":[],"entityId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":680,"y":1100,"wires":[["e3bc4ceadb885d64"]]},{"id":"9fdeb28c94d70c28","type":"api-current-state","z":"616154d2fa885784","name":"If is not Time of Use","server":"d467981a.05fb88","version":3,"outputs":2,"halt_if":"Time of Use","halt_if_type":"str","halt_if_compare":"is_not","entity_id":"select.sofar_energy_storage_mode","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":420,"y":1100,"wires":[["84ca676d87499c9d"],["6768f46e788a2bce"]]},{"id":"2bcedec4c5a8b523","type":"catch","z":"616154d2fa885784","name":"","scope":["84ca676d87499c9d"],"uncaught":false,"x":660,"y":1140,"wires":[["e3bc4ceadb885d64"]]},{"id":"c4a308f732938417","type":"trigger-state","z":"616154d2fa885784","name":"Storage Mode change","server":"d467981a.05fb88","version":4,"inputs":0,"outputs":2,"exposeAsEntityConfig":"","entityId":"input_select.sofar_wanted_storage_mode","entityIdType":"exact","debugEnabled":true,"constraints":[],"customOutputs":[],"outputInitially":false,"stateType":"str","enableInput":false,"x":120,"y":660,"wires":[["c24432efb914523f"],[]]},{"id":"36d848b8c5376faf","type":"api-current-state","z":"616154d2fa885784","name":"If wanted is Passive mode","server":"d467981a.05fb88","version":3,"outputs":2,"halt_if":"Passive Mode","halt_if_type":"str","halt_if_compare":"is","entity_id":"input_select.sofar_wanted_storage_mode","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":140,"y":780,"wires":[["0397d651202298c5"],["54c35dd11b80aec8"]]},{"id":"54c35dd11b80aec8","type":"api-current-state","z":"616154d2fa885784","name":"If wanted is Self Use","server":"d467981a.05fb88","version":3,"outputs":2,"halt_if":"Self Use","halt_if_type":"str","halt_if_compare":"is","entity_id":"input_select.sofar_wanted_storage_mode","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":120,"y":900,"wires":[["dfb88a4fd921c30f"],["f73aefef19f5498b"]]},{"id":"f73aefef19f5498b","type":"api-current-state","z":"616154d2fa885784","name":"If wanted is Time of use","server":"d467981a.05fb88","version":3,"outputs":2,"halt_if":"Time of Use","halt_if_type":"str","halt_if_compare":"is","entity_id":"input_select.sofar_wanted_storage_mode","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":130,"y":1100,"wires":[["9fdeb28c94d70c28"],[]]},{"id":"c24432efb914523f","type":"delay","z":"616154d2fa885784","name":"","pauseType":"rate","timeout":"1","timeoutUnits":"minutes","rate":"1","nbRateUnits":"2","rateUnits":"minute","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":120,"y":720,"wires":[["36d848b8c5376faf"]]},{"id":"4a9ddd77c5b674e3","type":"api-call-service","z":"616154d2fa885784","name":"Notif: Passive Mode","server":"d467981a.05fb88","version":5,"debugenabled":false,"domain":"notify","service":"mobile_app_le2123","areaId":[],"deviceId":[],"entityId":[],"data":"{\"message\": \"Onduleur : Passive Mode\"}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":680,"y":780,"wires":[[]]},{"id":"05899f6953be5e1a","type":"api-call-service","z":"616154d2fa885784","name":"Notif: Self Use","server":"d467981a.05fb88","version":5,"debugenabled":false,"domain":"notify","service":"mobile_app_le2123","areaId":[],"deviceId":[],"entityId":[],"data":"{\"message\": \"Onduleur : Self Use\"}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":660,"y":1000,"wires":[["9ca44d3c095219b6","2b1644fc26fe539f"]]},{"id":"6768f46e788a2bce","type":"api-call-service","z":"616154d2fa885784","name":"Notif: Time of Use","server":"d467981a.05fb88","version":5,"debugenabled":false,"domain":"notify","service":"mobile_app_le2123","areaId":[],"deviceId":[],"entityId":[],"data":"{\"message\": \"Onduleur : Time of Use\"}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":690,"y":1180,"wires":[[]]},{"id":"94ce86d81423a43a","type":"trigger","z":"616154d2fa885784","name":"Wait 1 minutes","op1":"","op2":"30","op1type":"nul","op2type":"str","duration":"1","extend":false,"overrideDelay":false,"units":"min","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":880,"y":700,"wires":[["0397d651202298c5"]]},{"id":"7dcbab87ec175374","type":"trigger","z":"616154d2fa885784","name":"Wait 1 minutes","op1":"","op2":"30","op1type":"nul","op2type":"str","duration":"1","extend":false,"overrideDelay":false,"units":"min","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":880,"y":900,"wires":[["dfb88a4fd921c30f"]]},{"id":"e3bc4ceadb885d64","type":"trigger","z":"616154d2fa885784","name":"Wait 1 minutes","op1":"","op2":"30","op1type":"nul","op2type":"str","duration":"1","extend":false,"overrideDelay":false,"units":"min","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":880,"y":1100,"wires":[["9fdeb28c94d70c28"]]},{"id":"d467981a.05fb88","type":"server","name":"Home Assistant","addon":true}]

from homeassistant-solax-modbus.

julienbourgainpro avatar julienbourgainpro commented on June 16, 2024

I think you're right, you can close this issue.

When #801 will be fixed, if i'm still in trouble, i will open another issue

from homeassistant-solax-modbus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.