paller / wavin-controller

A controller for Wavin AHC 9000 written in Python with focus for use in home-automation.
11 stars 4 forks source link

Raise Exception on Modbus failure #2

Closed paller closed 6 years ago

paller commented 6 years ago

Should raise an Exception on serial read and write failure.

paller commented 6 years ago

Partly fixed in commit 0ff886eb1d360a307c7ec0b6a2cd75944c24f7a1 which handles read-operations.

It's a bit more tricky with write-operations as the whole command is read back on success.

paller commented 6 years ago

Final piece fixed by 43056158a6bbee9b3db5bf2635f5abdee036acf8 which handles the write-operations.

If no exception is raised the registers have been written correctly.