volkszaehler / mbmd

ModBus Measurement Daemon - simple reading of data from ModBus meters and grid inverters
BSD 3-Clause "New" or "Revised" License
229 stars 81 forks source link

Only set slave when needed #256

Closed RichieB2B closed 2 years ago

RichieB2B commented 2 years ago

This PR fixes the timeouts with the ORNO WE-517 meter as reported in #155 It only calls SetSlave() when the deviceID changes.