fledge-power / fledge-south-iec104

A south plugin to gather data using the IEC 104 protocol.
Apache License 2.0
1 stars 3 forks source link

cnx_loss_status is send with value = false #63

Closed aklira closed 1 year ago

aklira commented 1 year ago

Describe the bug The "cnx_loss_status" on the south plugin signal is sent two times: when the connection is lost with value=true when the connection is back again and gi is finished with value = false

To Reproduce Steps to reproduce the behavior:

  1. Connect south plugin to IEC104 slave
  2. Disconnect the IEC 104 lave
  3. Reconnect the IEC 104 slave
  4. The cnx_loss_status is send to false after gi is finished

Expected behavior the Center is always expecting a true. when the connection is lost with value=false when the connection is back again and gi is finished with value=true