veista / nilan

Nilan integration for Home Assistant
Apache License 2.0
46 stars 11 forks source link

'Invalid response from device' #25

Closed AlvinKleine closed 1 year ago

AlvinKleine commented 1 year ago

Trying to create serial connection to Nilan, but getting error "invalid response from device".

image

Setup

...any thoughts?

Br Beginner

veista commented 1 year ago

Most likely cause is wrong device path. Other is A and B wires connected opposite or missing termination resistor.

veista commented 1 year ago

Go to settings->system->hardware->"three dots"->all hardware

Find the correct usb adapter. Copy path.

veista commented 1 year ago

Missing ground wire could also be one cause.

AlvinKleine commented 1 year ago

Thank You! Issue solved. I had physical wire connection problem.

veista commented 1 year ago

Thank You! Issue solved. I had physical wire connection problem.

You are most welcome.

veista commented 1 year ago

I would be interested in your device bus version. If you could kindly report it here #9. Thanks.

AlvinKleine commented 1 year ago

I would be interested in your device bus version. If you could kindly report it here #9. Thanks.

reported, it's 19

Should one still be able to run following type of holding register services even your perfect HACS is active? Looking to build Nordpool sensor triggered automations w/o python skills, but e.g. below service does not turn PILP off:

service: modbus.write_register data: address: 1001 slave: 30 value: 0 hub: hub1