Skip to content

Data errors with fast refresh. #37

@nerfherder

Description

@nerfherder

I have been facing some issues with nonsense data coming out of this integration on and off.

This wasn't an issue with https://github.com/erikarenhill/solaredge-modbus-hass and having a look their it looks like erikarenhill is using import pymodbusTCP whereas bisentsu is using pymodbus the pymodbusTCP implementation lets you keep the connection open with ModbusClient(host, port=port, unit_id=1, auto_open=True) whereas pymodbus appears to require a connect and close each read cycle.

My suspicion is that this open/close cycle can take longer than 5-10 seconds and cause errors if it hasn't run through properly. I would like to trial using pymodbusTCP to see if it makes any difference.

Originally posted by @nerfherder in #35 (comment)

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