BlackZork / mqmgateway

MQTT gateway for modbus networks
GNU Affero General Public License v3.0
42 stars 18 forks source link

Availability for write (and read?) registers after device was disconnected #29

Open BlackZork opened 1 year ago

BlackZork commented 1 year ago
  1. Write something to modbus device
  2. Turn device off and on
  3. availability flag is 0, it should have the same value as before device was disconnected.

The same applies to polled registers, i.e. if poll period is very long we should not wait for it but set availability flag to previous state before device was disconnected