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

No spontaneous Data after GI #53

Closed yannnnou closed 1 year ago

yannnnou commented 1 year ago

Describe the bug Prerequisite: RTU connected, gateway connected and center connected.

The RTU socket is disconnected, a data value is updated, and the RTU connection is restored.

A GI is performed when the connection with the gateway is resumed. The new value of the data is sent to the GI (with a COT 20). The new data value is not transmitted to the center (with a spontaneous COT).

To Reproduce Steps to reproduce the behavior:

  1. Initial state I have: [RTU] running <=> [FLEDGEPOWER] running <=> [CENTER] running
  2. Then I stop the socket of RTU
  3. The value of a data is updated on the RTU
  4. Then I start the socket of RTU back
  5. Wait for the FLEDGEPOWER GI
  6. The data is uploaded to the GI (COT20) at south
  7. The data is not sent back to the center (spontaneous COT)

Expected behavior A change of value must be sent to the centers (even during the IM)