fledge-power / fledge-south-iec61850

A south plugin for collecting data via the IEC 61850 protocol
3 stars 5 forks source link

`report_subscriptions.rcb_ref` is not the instance of the report #36

Closed JakobVogelsang closed 7 months ago

JakobVogelsang commented 7 months ago

The key report_subscriptions.rcb_ref acc. to the wiki is the reference to the report. I do interpret this as the reference to the report control instance. When I add something like IEDLDevice/LLN0.SwitchGear01 is seen in the sniffer, the client trying to activate report IEDLDevice/LLN0.SwitchGear01. Related to this discussion is also #31

Config:

{
 "protocol_stack": {
  "name": "iec61850client",
  "version": "0.0.1",
  "transport_layer": {
   "ied_name": "IED1",
   "connections": [
    {
     "ip_addr": "192.168.0.67",
     "port": 49152,
     "tls": false
    }
   ]
  },
  "application_layer": {
   "polling_interval": 5000,
   "datasets": [
    {
     "dataset_ref": "IEDLDevice/LLN0.SwitchGear",
     "entries": [
      "IEDLDevice/XCBR1.Pos.stVal[ST]",
      "IEDLDevice/XCBR1.Pos.q[ST]"
     ]
    }
   ],
   "report_subscriptions": [
    {
     "rcb_ref": "IEDLDevice/LLN0.RP.SwitchGear01",
     "dataset_ref": "IEDLDevice/LLN0.SwitchGear"
    }
   ]
  }
 }
}

PCAP Incorrectrcb_ref_handling.pcap.zip

mzillgith commented 7 months ago

That should be fixed with this commit: https://github.com/fledge-power/fledge-south-iec61850/commit/fc3731b45ba6ee47df642ac653f9d0bb65bf6008

JakobVogelsang commented 7 months ago

Let me check with the newest version.

JakobVogelsang commented 7 months ago

Woks with the latest version. Thank you