fledge-power / fledge-south-iec61850

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

Misleading information on the wiki page for `report_subscriptions` #35

Closed JakobVogelsang closed 6 months ago

JakobVogelsang commented 7 months ago

According to the wiki the key dataset_ref is optional. This does make sense as static reports are configured with a datSet reference. When I leave this key out in start the client I see in the sniffer this content:

grafik

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"
    }
   ]
  }
 }
}

PCAP: MissingDataSetPath.pcap.zip

mzillgith commented 7 months ago

Thank you for the hint. I fixed the wiki so it's clear that it's mandatory. We will also add an error log message and not sending the request with the empty name.

JakobVogelsang commented 6 months ago

Fixed thank you