Refresh all WLANConfiguration subnodes

Hi!
Our Altice ONTs has 8 SSIDs subnodes under InternetGatewayDevice.LANDevice.1.WLANConfiguration.* node

  • 1-4 for 2.4Ghz
  • 5-8 for 5Ghz

I need to read paramaters (SSID, BSSID,Channel) under InternetGatewayDevice.LANDevice.1.WLANConfiguration.1 and InternetGatewayDevice.LANDevice.1.WLANConfiguration.5

But only works for subnode “1”:

  //WIFI 2.4: This works
  declare("InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.SSID", {value: now});
  declare("InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.Channel", {value: now});
  declare("InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.TransmitPower", {value: now});
  declare("InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.BSSID", {value: now});

  //WIFI 5 This NOT show in the device page
  declare("InternetGatewayDevice.LANDevice.1.WLANConfiguration.5.SSID", {value: now});
  declare("InternetGatewayDevice.LANDevice.1.WLANConfiguration.5.Channel", {value: now});
  declare("InternetGatewayDevice.LANDevice.1.WLANConfiguration.5.TransmitPower", {value: now});
  declare("InternetGatewayDevice.LANDevice.1.WLANConfiguration.5.BSSID", {value: now});

By default, GUI only shows 2 first subnodes:
InternetGatewayDevice.LANDevice.1.WLANConfiguration.1 and
InternetGatewayDevice.LANDevice.1.WLANConfiguration.2

The way I found to the get subnode “5” paramaters is refresh the node InternetGatewayDevice.LANDevice.1.WLANConfiguration in the GUI

Or from the API:

curl -i ‘http://localhost:7557/devices/58fc20-GR241AG-5054494E204A72AF/tasks?timeout=3000&connection_request’ -X POST --data ‘{“name”:“refreshObject”, “objectName”: “InternetGatewayDevice.LANDevice.1.WLANConfiguration”}’

This update the 1-8 subnodes.

How can I get the subnode “5” (or other > “2”) from de provision script?

Thanks in advance

declare("InternetGatewayDevice.LANDevice.1.WLANConfiguration.*.SSID", {value: now});
declare("InternetGatewayDevice.LANDevice.1.WLANConfiguration.*.Channel", {value: now});
declare("InternetGatewayDevice.LANDevice.1.WLANConfiguration.*.TransmitPower", {value: now});
declare("InternetGatewayDevice.LANDevice.1.WLANConfiguration.*.BSSID", {value: now});

AK, Thank you for your reply.
But not works. It’s necesary refresh the node manually to get the info.

This is the provision script

//Se define now como variable
const now = Date.now();

//leemos si la ONT tiene el TAG "registrada"
let registrada = declare("Tags.Registrada", {value: 1});

// si no está "registrada" le envío el archivo de configuración base.
// Le asigno el Tag y la reinicio
if (registrada.value == undefined) {
  declare("Downloads.[FileType:3 Vendor Configuration File]", {path: 1}, {path: 1});
  declare("Downloads.[FileType:3 Vendor Configuration File].FileName", {value: 1}, {value: "ONT_backupsettings_G2.v2.conf"});
  declare("Downloads.[FileType:3 Vendor Configuration File].Download", {value: 1}, {value: now});
  
  declare("Tags.Registrada", null, {value: true}); 	 
  declare("Reboot", null, {value: Date.now()});
} 
// Si ya esta registrada actualizo los parametros 
else
{
  // hay que definir los parámetros que queremos actualizar en cada lectura
  // GENERAL:

  declare("InternetGatewayDevice.DeviceInfo.UpTime", {value: now});
  declare("InternetGatewayDevice.Device.Optical.Interface.1.Alias", {value: now});
  declare("InternetGatewayDevice.Device.Optical.Interface.1.OpticalSignalLevel", {value: now});
  //SIP:
  declare("InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Line.1.SIP.URI", {value: now});
  declare("InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Line.1.Status", {value: now});
  //SSIDs 
  declare("InternetGatewayDevice.LANDevice.1.WLANConfiguration.*.SSID", {value: now});
  declare("InternetGatewayDevice.LANDevice.1.WLANConfiguration.*.Channel", {value: now});
  declare("InternetGatewayDevice.LANDevice.1.WLANConfiguration.*.TransmitPower", {value: now});
  declare("InternetGatewayDevice.LANDevice.1.WLANConfiguration.*.BSSID", {value: now});  
}

I have made some debug and find this:
In this CPE I made a refesh in the node InternetGatewayDevice.LANDevice.1.WLANConfiguration. The parameters are updated in every inform. OK

In the debug, the GenieACS query all parameters in the provision script:

---
event: incoming HTTP request
timestamp: 2022-02-11T10:31:40.409Z
remoteAddress: "::ffff:10.208.7.230"
deviceId: 58fc20-GR241AG-5054494E204A539F
connection: 2022-02-11T10:31:40.409Z
localPort: 7547
method: POST
url: /
headers: 
  host: 10.208.0.119:7547
  user-agent: BCM_TR69_CPE_04_00
  connection: keep-alive
  soapaction: ""
  content-type: text/xml
  content-length: "3105"
body: "<SOAP-ENV:Envelope
   xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\"
   xmlns:SOAP-ENC=\"http://schemas.xmlsoap.org/soap/encoding/\"
   xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
   xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
   xmlns:cwmp=\"urn:dslforum-org:cwmp-1-2\">
   <SOAP-ENV:Header>
     <cwmp:ID SOAP-ENV:mustUnderstand=\"1\">2142549994</cwmp:ID>
   </SOAP-ENV:Header>
   <SOAP-ENV:Body>
     <cwmp:Inform>
       <DeviceId>
         <Manufacturer>PTIN</Manufacturer>
         <OUI>58fc20</OUI>
         <ProductClass>GR241AG</ProductClass>
         <SerialNumber>5054494E204A539F</SerialNumber>
       </DeviceId>
       <Event SOAP-ENC:arrayType=\"cwmp:EventStruct[1]\">
         <EventStruct>
           <EventCode>2 PERIODIC</EventCode>
           <CommandKey></CommandKey>
         </EventStruct>
       </Event>
       <MaxEnvelopes>1</MaxEnvelopes>
       <CurrentTime>2022-02-11T10:31:45+00:00</CurrentTime>
       <RetryCount>0</RetryCount>
       <ParameterList SOAP-ENC:arrayType=\"cwmp:ParameterValueStruct[0008]\">
           <ParameterValueStruct>
             <Name>InternetGatewayDevice.DeviceSummary</Name>
             <Value xsi:type=\"xsd:string\">InternetGatewayDevice:1.5[](Baseline:1, EthernetLAN:1, USBLAN:1, Time:1, IPPing:1, DeviceAssociation:1, QoS:1, WiFiLAN:1) , VoiceService:1.0[1](Endpoint:1, SIPEndpoint:1)</Value>
           </ParameterValueStruct>
           <ParameterValueStruct>
             <Name>InternetGatewayDevice.DeviceInfo.SpecVersion</Name>
             <Value xsi:type=\"xsd:string\">1.0</Value>
           </ParameterValueStruct>
           <ParameterValueStruct>
             <Name>InternetGatewayDevice.DeviceInfo.HardwareVersion</Name>
             <Value xsi:type=\"xsd:string\">ONTRGW1405A027</Value>
           </ParameterValueStruct>
           <ParameterValueStruct>
             <Name>InternetGatewayDevice.DeviceInfo.SoftwareVersion</Name>
             <Value xsi:type=\"xsd:string\">3RGW040801r00F</Value>
           </ParameterValueStruct>
           <ParameterValueStruct>
             <Name>InternetGatewayDevice.DeviceInfo.ProvisioningCode</Name>
             <Value xsi:type=\"xsd:string\"></Value>
           </ParameterValueStruct>
           <ParameterValueStruct>
             <Name>InternetGatewayDevice.ManagementServer.ConnectionRequestURL</Name>
             <Value xsi:type=\"xsd:string\">http://10.208.7.230:30005/5054494E204A539F</Value>
           </ParameterValueStruct>
           <ParameterValueStruct>
             <Name>InternetGatewayDevice.ManagementServer.ParameterKey</Name>
             <Value xsi:type=\"xsd:string\">(null)</Value>
           </ParameterValueStruct>
           <ParameterValueStruct>
             <Name>InternetGatewayDevice.X_ITU_T_ORG.G_984_4.Layer3DataServices.IpHostConfigData.1.CurrentAddress</Name>
             <Value xsi:type=\"xsd:unsignedInt\">181405670</Value>
           </ParameterValueStruct>
       </ParameterList>
     </cwmp:Inform>
   </SOAP-ENV:Body>\n</SOAP-ENV:Envelope>
                                       "
---
event: outgoing HTTP response
timestamp: 2022-02-11T10:31:40.413Z
remoteAddress: "::ffff:10.208.7.230"
deviceId: 58fc20-GR241AG-5054494E204A539F
connection: 2022-02-11T10:31:40.409Z
statusCode: 200
headers: 
  content-length: 530
  server: GenieACS/1.2.8+20211027200938
  soapserver: GenieACS/1.2.8+20211027200938
  content-type: text/xml; charset="utf-8"
  set-cookie: session=6602045f0e669507
body: >-
  <?xml version="1.0" encoding="UTF-8"?>

  <soap-env:Envelope xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/"
  xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:cwmp="urn:dslforum-org:cwmp-1-2"><soap-env:Header><cwmp:ID
  soap-env:mustUnderstand="1">2142549994</cwmp:ID></soap-env:Header><soap-env:Body><cwmp:InformResponse><MaxEnvelopes>1</MaxEnvelopes></cwmp:InformResponse></soap-env:Body></soap-env:Envelope>
---
event: incoming HTTP request
timestamp: 2022-02-11T10:31:40.422Z
remoteAddress: "::ffff:10.208.7.230"
deviceId: 58fc20-GR241AG-5054494E204A539F
connection: 2022-02-11T10:31:40.409Z
localPort: 7547
method: POST
url: /
headers: 
  host: 10.208.0.119:7547
  user-agent: BCM_TR69_CPE_04_00
  connection: keep-alive
  cookie: session=6602045f0e669507
  content-length: "0"
body: ""
---
event: outgoing HTTP response
timestamp: 2022-02-11T10:31:40.499Z
remoteAddress: "::ffff:10.208.7.230"
deviceId: 58fc20-GR241AG-5054494E204A539F
connection: 2022-02-11T10:31:40.409Z
statusCode: 200
headers: 
  content-length: 3060
  server: GenieACS/1.2.8+20211027200938
  soapserver: GenieACS/1.2.8+20211027200938
  content-type: text/xml; charset="utf-8"
body: >-
  <?xml version="1.0" encoding="UTF-8"?>

  <soap-env:Envelope xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/"
  xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:cwmp="urn:dslforum-org:cwmp-1-2"><soap-env:Header><cwmp:ID
  soap-env:mustUnderstand="1">17ee856a7ee0000</cwmp:ID></soap-env:Header><soap-env:Body><cwmp:GetParameterValues><ParameterNames
  soap-enc:arrayType="xsd:string[32]"><string>InternetGatewayDevice.Device.Optical.Interface.1.Alias</string><string>InternetGatewayDevice.Device.Optical.Interface.1.OpticalSignalLevel</string><string>InternetGatewayDevice.DeviceInfo.UpTime</string><string>InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.BSSID</string><string>InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.Channel</string><string>InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.SSID</string><string>InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.TransmitPower</string><string>InternetGatewayDevice.LANDevice.1.WLANConfiguration.2.BSSID</string><string>InternetGatewayDevice.LANDevice.1.WLANConfiguration.2.Channel</string><string>InternetGatewayDevice.LANDevice.1.WLANConfiguration.2.SSID</string><string>InternetGatewayDevice.LANDevice.1.WLANConfiguration.2.TransmitPower</string><string>InternetGatewayDevice.LANDevice.1.WLANConfiguration.3.BSSID</string><string>InternetGatewayDevice.LANDevice.1.WLANConfiguration.3.Channel</string><string>InternetGatewayDevice.LANDevice.1.WLANConfiguration.3.SSID</string><string>InternetGatewayDevice.LANDevice.1.WLANConfiguration.3.TransmitPower</string><string>InternetGatewayDevice.LANDevice.1.WLANConfiguration.4.BSSID</string><string>InternetGatewayDevice.LANDevice.1.WLANConfiguration.4.Channel</string><string>InternetGatewayDevice.LANDevice.1.WLANConfiguration.4.SSID</string><string>InternetGatewayDevice.LANDevice.1.WLANConfiguration.4.TransmitPower</string><string>InternetGatewayDevice.LANDevice.1.WLANConfiguration.5.BSSID</string><string>InternetGatewayDevice.LANDevice.1.WLANConfiguration.5.Channel</string><string>InternetGatewayDevice.LANDevice.1.WLANConfiguration.5.SSID</string><string>InternetGatewayDevice.LANDevice.1.WLANConfiguration.5.TransmitPower</string><string>InternetGatewayDevice.LANDevice.1.WLANConfiguration.6.BSSID</string><string>InternetGatewayDevice.LANDevice.1.WLANConfiguration.6.Channel</string><string>InternetGatewayDevice.LANDevice.1.WLANConfiguration.6.SSID</string><string>InternetGatewayDevice.LANDevice.1.WLANConfiguration.6.TransmitPower</string><string>InternetGatewayDevice.LANDevice.1.WLANConfiguration.7.BSSID</string><string>InternetGatewayDevice.LANDevice.1.WLANConfiguration.7.Channel</string><string>InternetGatewayDevice.LANDevice.1.WLANConfiguration.7.SSID</string><string>InternetGatewayDevice.LANDevice.1.WLANConfiguration.7.TransmitPower</string><string>InternetGatewayDevice.LANDevice.1.WLANConfiguration.8.BSSID</string></ParameterNames></cwmp:GetParameterValues></soap-env:Body></soap-env:Envelope>
---
event: incoming HTTP request
timestamp: 2022-02-11T10:31:41.179Z
remoteAddress: "::ffff:10.208.7.230"
deviceId: 58fc20-GR241AG-5054494E204A539F
connection: 2022-02-11T10:31:40.409Z
localPort: 7547
method: POST
url: /
headers: 
  host: 10.208.0.119:7547
  user-agent: BCM_TR69_CPE_04_00
  connection: keep-alive
  soapaction: ""
  cookie: session=6602045f0e669507
  content-type: text/xml
  content-length: "6950"
body: "<SOAP-ENV:Envelope
   xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\"
   xmlns:SOAP-ENC=\"http://schemas.xmlsoap.org/soap/encoding/\"
   xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
   xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
   xmlns:cwmp=\"urn:dslforum-org:cwmp-1-2\">
   <SOAP-ENV:Header>
     <cwmp:ID SOAP-ENV:mustUnderstand=\"1\">17ee856a7ee0000</cwmp:ID>
   </SOAP-ENV:Header>
   <SOAP-ENV:Body>
     <cwmp:GetParameterValuesResponse>
       <ParameterList SOAP-ENC:arrayType=\"cwmp:ParameterValueStruct[0032]\">
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.LANDevice.1.WLANConfiguration.8.BSSID</Name>
      <Value xsi:type=\"xsd:string\">58:FC:20:4A:53:A7</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.LANDevice.1.WLANConfiguration.7.TransmitPower</Name>
      <Value xsi:type=\"xsd:unsignedInt\">100</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.LANDevice.1.WLANConfiguration.7.SSID</Name>
      <Value xsi:type=\"xsd:string\">5G_Guest2</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.LANDevice.1.WLANConfiguration.7.Channel</Name>
      <Value xsi:type=\"xsd:unsignedInt\">36</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.LANDevice.1.WLANConfiguration.7.BSSID</Name>
      <Value xsi:type=\"xsd:string\">58:FC:20:4A:53:A6</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.LANDevice.1.WLANConfiguration.6.TransmitPower</Name>
      <Value xsi:type=\"xsd:unsignedInt\">100</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.LANDevice.1.WLANConfiguration.6.SSID</Name>
      <Value xsi:type=\"xsd:string\">5G_Guest1</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.LANDevice.1.WLANConfiguration.6.Channel</Name>
      <Value xsi:type=\"xsd:unsignedInt\">36</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.LANDevice.1.WLANConfiguration.6.BSSID</Name>
      <Value xsi:type=\"xsd:string\">58:FC:20:4A:53:A5</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.LANDevice.1.WLANConfiguration.5.TransmitPower</Name>
      <Value xsi:type=\"xsd:unsignedInt\">100</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.LANDevice.1.WLANConfiguration.5.SSID</Name>
      <Value xsi:type=\"xsd:string\">RIU_BAOBAB</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.LANDevice.1.WLANConfiguration.5.Channel</Name>
      <Value xsi:type=\"xsd:unsignedInt\">36</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.LANDevice.1.WLANConfiguration.5.BSSID</Name>
      <Value xsi:type=\"xsd:string\">58:FC:20:4A:53:A1</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.LANDevice.1.WLANConfiguration.4.TransmitPower</Name>
      <Value xsi:type=\"xsd:unsignedInt\">100</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.LANDevice.1.WLANConfiguration.4.SSID</Name>
      <Value xsi:type=\"xsd:string\">2.4G_Guest3</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.LANDevice.1.WLANConfiguration.4.Channel</Name>
      <Value xsi:type=\"xsd:unsignedInt\">6</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.LANDevice.1.WLANConfiguration.4.BSSID</Name>
      <Value xsi:type=\"xsd:string\">58:FC:20:4A:53:A4</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.LANDevice.1.WLANConfiguration.3.TransmitPower</Name>
      <Value xsi:type=\"xsd:unsignedInt\">100</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.LANDevice.1.WLANConfiguration.3.SSID</Name>
      <Value xsi:type=\"xsd:string\">2.4G_Guest2</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.LANDevice.1.WLANConfiguration.3.Channel</Name>
      <Value xsi:type=\"xsd:unsignedInt\">6</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.LANDevice.1.WLANConfiguration.3.BSSID</Name>
      <Value xsi:type=\"xsd:string\">58:FC:20:4A:53:A3</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.LANDevice.1.WLANConfiguration.2.TransmitPower</Name>
      <Value xsi:type=\"xsd:unsignedInt\">100</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.LANDevice.1.WLANConfiguration.2.SSID</Name>
      <Value xsi:type=\"xsd:string\">2.4G_Guest1</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.LANDevice.1.WLANConfiguration.2.Channel</Name>
      <Value xsi:type=\"xsd:unsignedInt\">6</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.LANDevice.1.WLANConfiguration.2.BSSID</Name>
      <Value xsi:type=\"xsd:string\">58:FC:20:4A:53:A2</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.TransmitPower</Name>
      <Value xsi:type=\"xsd:unsignedInt\">100</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.SSID</Name>
      <Value xsi:type=\"xsd:string\">RIU_BAOBAB</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.Channel</Name>
      <Value xsi:type=\"xsd:unsignedInt\">6</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.BSSID</Name>
      <Value xsi:type=\"xsd:string\">58:FC:20:4A:53:A0</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.DeviceInfo.UpTime</Name>
      <Value xsi:type=\"xsd:unsignedInt\">47999</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.Device.Optical.Interface.1.OpticalSignalLevel</Name>
      <Value xsi:type=\"xsd:int\">-19546</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.Device.Optical.Interface.1.Alias</Name>
      <Value xsi:type=\"xsd:string\"></Value>
     </ParameterValueStruct>
       </ParameterList>
     </cwmp:GetParameterValuesResponse>
   </SOAP-ENV:Body>\n</SOAP-ENV:Envelope>
                                       "
---
event: outgoing HTTP response
timestamp: 2022-02-11T10:31:41.188Z
remoteAddress: "::ffff:10.208.7.230"
deviceId: 58fc20-GR241AG-5054494E204A539F
connection: 2022-02-11T10:31:40.409Z
statusCode: 200
headers: 
  content-length: 1001
  server: GenieACS/1.2.8+20211027200938
  soapserver: GenieACS/1.2.8+20211027200938
  content-type: text/xml; charset="utf-8"
body: >-
  <?xml version="1.0" encoding="UTF-8"?>

  <soap-env:Envelope xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/"
  xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:cwmp="urn:dslforum-org:cwmp-1-2"><soap-env:Header><cwmp:ID
  soap-env:mustUnderstand="1">17ee856a7ee0001</cwmp:ID></soap-env:Header><soap-env:Body><cwmp:GetParameterValues><ParameterNames
  soap-enc:arrayType="xsd:string[5]"><string>InternetGatewayDevice.LANDevice.1.WLANConfiguration.8.Channel</string><string>InternetGatewayDevice.LANDevice.1.WLANConfiguration.8.SSID</string><string>InternetGatewayDevice.LANDevice.1.WLANConfiguration.8.TransmitPower</string><string>InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Line.1.SIP.URI</string><string>InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Line.1.Status</string></ParameterNames></cwmp:GetParameterValues></soap-env:Body></soap-env:Envelope>
---
event: incoming HTTP request
timestamp: 2022-02-11T10:31:41.310Z
remoteAddress: "::ffff:10.208.7.230"
deviceId: 58fc20-GR241AG-5054494E204A539F
connection: 2022-02-11T10:31:40.409Z
localPort: 7547
method: POST
url: /
headers: 
  host: 10.208.0.119:7547
  user-agent: BCM_TR69_CPE_04_00
  connection: keep-alive
  soapaction: ""
  cookie: session=6602045f0e669507
  content-type: text/xml
  content-length: "1692"
body: "<SOAP-ENV:Envelope
   xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\"
   xmlns:SOAP-ENC=\"http://schemas.xmlsoap.org/soap/encoding/\"
   xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
   xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
   xmlns:cwmp=\"urn:dslforum-org:cwmp-1-2\">
   <SOAP-ENV:Header>
     <cwmp:ID SOAP-ENV:mustUnderstand=\"1\">17ee856a7ee0001</cwmp:ID>
   </SOAP-ENV:Header>
   <SOAP-ENV:Body>
     <cwmp:GetParameterValuesResponse>
       <ParameterList SOAP-ENC:arrayType=\"cwmp:ParameterValueStruct[0005]\">
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Line.1.Status</Name>
      <Value xsi:type=\"xsd:string\">Disabled</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Line.1.SIP.URI</Name>
      <Value xsi:type=\"xsd:string\">20000</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.LANDevice.1.WLANConfiguration.8.TransmitPower</Name>
      <Value xsi:type=\"xsd:unsignedInt\">100</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.LANDevice.1.WLANConfiguration.8.SSID</Name>
      <Value xsi:type=\"xsd:string\">5G_Guest3</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.LANDevice.1.WLANConfiguration.8.Channel</Name>
      <Value xsi:type=\"xsd:unsignedInt\">36</Value>
     </ParameterValueStruct>
       </ParameterList>
     </cwmp:GetParameterValuesResponse>
   </SOAP-ENV:Body>\n</SOAP-ENV:Envelope>
                                       "
---
event: outgoing HTTP response
timestamp: 2022-02-11T10:31:41.530Z
remoteAddress: "::ffff:10.208.7.230"
deviceId: 58fc20-GR241AG-5054494E204A539F
connection: 2022-02-11T10:31:40.409Z
statusCode: 204
headers: 
  content-length: 0
  server: GenieACS/1.2.8+20211027200938
  soapserver: GenieACS/1.2.8+20211027200938
  connection: close
body: ""
---

But, in this CPE, I don’t make the refresh. There is only info about subnode “1” and “2” but older.
Captura2

In the debug, the GenieACS does not make any query. Neither the other nodes in the script!!!

---
event: incoming HTTP request
timestamp: 2022-02-11T10:31:38.414Z
remoteAddress: "::ffff:10.208.7.235"
deviceId: 58fc20-GR241AG-5054494E204A4EAF
connection: 2022-02-11T10:31:38.414Z
localPort: 7547
method: POST
url: /
headers: 
  host: 10.208.0.119:7547
  user-agent: BCM_TR69_CPE_04_00
  connection: keep-alive
  soapaction: ""
  content-type: text/xml
  content-length: "3104"
body: "<SOAP-ENV:Envelope
    xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\"
    xmlns:SOAP-ENC=\"http://schemas.xmlsoap.org/soap/encoding/\"
    xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
    xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
    xmlns:cwmp=\"urn:dslforum-org:cwmp-1-2\">
    <SOAP-ENV:Header>
      <cwmp:ID SOAP-ENV:mustUnderstand=\"1\">173389369</cwmp:ID>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
      <cwmp:Inform>
        <DeviceId>
          <Manufacturer>PTIN</Manufacturer>
          <OUI>58fc20</OUI>
          <ProductClass>GR241AG</ProductClass>
          <SerialNumber>5054494E204A4EAF</SerialNumber>
        </DeviceId>
        <Event SOAP-ENC:arrayType=\"cwmp:EventStruct[1]\">
          <EventStruct>
            <EventCode>2 PERIODIC</EventCode>
            <CommandKey></CommandKey>
          </EventStruct>
        </Event>
        <MaxEnvelopes>1</MaxEnvelopes>
        <CurrentTime>2022-02-11T10:31:44+00:00</CurrentTime>
        <RetryCount>0</RetryCount>
        <ParameterList SOAP-ENC:arrayType=\"cwmp:ParameterValueStruct[0008]\">
            <ParameterValueStruct>
              <Name>InternetGatewayDevice.DeviceSummary</Name>
              <Value xsi:type=\"xsd:string\">InternetGatewayDevice:1.5[](Baseline:1, EthernetLAN:1, USBLAN:1, Time:1, IPPing:1, DeviceAssociation:1, QoS:1, WiFiLAN:1) , VoiceService:1.0[1](Endpoint:1, SIPEndpoint:1)</Value>
            </ParameterValueStruct>
            <ParameterValueStruct>
              <Name>InternetGatewayDevice.DeviceInfo.SpecVersion</Name>
              <Value xsi:type=\"xsd:string\">1.0</Value>
            </ParameterValueStruct>
            <ParameterValueStruct>
              <Name>InternetGatewayDevice.DeviceInfo.HardwareVersion</Name>
              <Value xsi:type=\"xsd:string\">ONTRGW1405A027</Value>
            </ParameterValueStruct>
            <ParameterValueStruct>
              <Name>InternetGatewayDevice.DeviceInfo.SoftwareVersion</Name>
              <Value xsi:type=\"xsd:string\">3RGW040801r00F</Value>
            </ParameterValueStruct>
            <ParameterValueStruct>
              <Name>InternetGatewayDevice.DeviceInfo.ProvisioningCode</Name>
              <Value xsi:type=\"xsd:string\"></Value>
            </ParameterValueStruct>
            <ParameterValueStruct>
              <Name>InternetGatewayDevice.ManagementServer.ConnectionRequestURL</Name>
              <Value xsi:type=\"xsd:string\">http://10.208.7.235:30005/5054494E204A4EAF</Value>
            </ParameterValueStruct>
            <ParameterValueStruct>
              <Name>InternetGatewayDevice.ManagementServer.ParameterKey</Name>
              <Value xsi:type=\"xsd:string\">(null)</Value>
            </ParameterValueStruct>
            <ParameterValueStruct>
              <Name>InternetGatewayDevice.X_ITU_T_ORG.G_984_4.Layer3DataServices.IpHostConfigData.1.CurrentAddress</Name>
              <Value xsi:type=\"xsd:unsignedInt\">181405675</Value>
            </ParameterValueStruct>
        </ParameterList>
      </cwmp:Inform>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
                                        "
---
event: outgoing HTTP response
timestamp: 2022-02-11T10:31:38.422Z
remoteAddress: "::ffff:10.208.7.235"
deviceId: 58fc20-GR241AG-5054494E204A4EAF
connection: 2022-02-11T10:31:38.414Z
statusCode: 200
headers: 
  content-length: 529
  server: GenieACS/1.2.8+20211027200938
  soapserver: GenieACS/1.2.8+20211027200938
  content-type: text/xml; charset="utf-8"
  set-cookie: session=5e59b13576d33131
body: >-
  <?xml version="1.0" encoding="UTF-8"?>

  <soap-env:Envelope xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/"
  xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:cwmp="urn:dslforum-org:cwmp-1-2"><soap-env:Header><cwmp:ID
  soap-env:mustUnderstand="1">173389369</cwmp:ID></soap-env:Header><soap-env:Body><cwmp:InformResponse><MaxEnvelopes>1</MaxEnvelopes></cwmp:InformResponse></soap-env:Body></soap-env:Envelope>
---
event: incoming HTTP request
timestamp: 2022-02-11T10:31:38.433Z
remoteAddress: "::ffff:10.208.7.235"
deviceId: 58fc20-GR241AG-5054494E204A4EAF
connection: 2022-02-11T10:31:38.414Z
localPort: 7547
method: POST
url: /
headers: 
  host: 10.208.0.119:7547
  user-agent: BCM_TR69_CPE_04_00
  connection: keep-alive
  cookie: session=5e59b13576d33131
  content-length: "0"
body: ""
---
event: outgoing HTTP response
timestamp: 2022-02-11T10:31:38.451Z
remoteAddress: "::ffff:10.208.7.235"
deviceId: 58fc20-GR241AG-5054494E204A4EAF
connection: 2022-02-11T10:31:38.414Z
statusCode: 204
headers: 
  content-length: 0
  server: GenieACS/1.2.8+20211027200938
  soapserver: GenieACS/1.2.8+20211027200938
  connection: close
body: ""
---

My first idea is that, If the node is not in the DB GeniaACS “can`t build the query” so there is no refresh.
But this only happends if the node InternetGatewayDevice.LANDevice.1.WLANConfiguration is in the provision script. If I delete it, all the other nodes are updated from the first inform.

If there is no solution, I keep the workarround (refresh by API).

Thanks for your help!

Hello man! i have a question about configuration you made for display such a table with “WiFi INFO” can you share that, what have you done for that ? im newbie here, and had like to know better about capabilities of such TR-069\Genieacs. Good project.

Hi,
Sorry for the delay, I was logged out.
I hope this could still help you.
This is my Config > Edit device page:

- type: "'tags'"
- type: "'ping'"
- type: "'parameter-list'"
  parameters:
    - element: "'span.inform'"
      label: "'Last inform'"
      parameter: DATE_STRING(Events.Inform)
      type: "'container'"
      components:
        - type: "'parameter'"
        - chart: "'online'"
          type: "'overview-dot'"
        - type: "'summon-button'"
          parameters:
            - InternetGatewayDevice.DeviceInfo.HardwareVersion
            - InternetGatewayDevice.DeviceInfo.SoftwareVersion
            - InternetGatewayDevice.LANDevice.*.Hosts.Host.*.HostName
            - InternetGatewayDevice.LANDevice.*.Hosts.Host.*.IPAddress
            - InternetGatewayDevice.LANDevice.*.Hosts.Host.*.MACAddress
            - VirtualParameters
    - label: "'Serial number'"
      parameter: DeviceID.SerialNumber
    - label: "'Product class'"
      parameter: DeviceID.ProductClass
    - label: "'OUI'"
      parameter: DeviceID.OUI
    - label: "'Manufacturer'"
      parameter: DeviceID.Manufacturer
    - label: "'Hardware version'"
      parameter: InternetGatewayDevice.DeviceInfo.HardwareVersion
    - label: "'Software version'"
      parameter: InternetGatewayDevice.DeviceInfo.SoftwareVersion
    - label: "'MAC'"
      parameter: InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.MACAddress
    - label: "'IP'"
      parameter: VirtualParameters.IPONT
    - label: "'SIP Ext'"
      parameter: InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Line.1.SIP.URI
    - label: "'SIP Status'"
      parameter: InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Line.1.Status
- label: "'WiFi INFO'"
  parameter: InternetGatewayDevice.LANDevice.1.WLANConfiguration
  type: "'parameter-table'"
  childParameters:
    - label: "'SSID'"
      parameter: SSID
    - label: "'BSSID'"
      parameter: BSSID
    - label: "'Channel'"
      parameter: Channel
    - label: "'Auto'"
      parameter: AutoChannelEnable
    - label: "'Power'"
      parameter: TransmitPower
- label: "'LAN hosts'"
  parameter: InternetGatewayDevice.LANDevice.1.Hosts.Host
  type: "'parameter-table'"
  childParameters:
    - label: "'Host name'"
      parameter: HostName
    - label: "'IP address'"
      parameter: IPAddress
    - label: "'MAC address'"
      parameter: MACAddress
- element: "'div'"
  type: "'container'"
  components:
    - element: "'h3'"
      type: "'container'"
      components:
        - "'Faults'"
    - type: "'device-faults'"
- element: "'div.container-full-width'"
  type: "'container'"
  components:
    - element: "'h3'"
      type: "'container'"
      components:
        - "'All parameters'"
    - type: "'all-parameters'"
- type: "'device-actions'"

Regards!


My Problem, can’t not get Optical Signal, please help me how to get it?

I have same problem, your problem has been fix ?

try that parameter to ask
InternetGatewayDevice.WANDevice.*.X_GponInterafceConfig.RXPower
Also added under summon button

Hi @aliresblanco, could you solve the issue?

thanks!

Hi @cbotejara

I had forgotten this topic. But I’ll share this if it helps you:

In my last installation in v1.2.12 with Huawei ONTs, I have created a new provision script to read the parameters that I need to querying from the API.

With “declare("InternetGatewayDevice.LANDevice.1.WLANConfiguration.*.SSID” I get all the SSIDs in the ONT.

I also query other parameters for Uptime, SIP, Optical Power, and channel and power in 2.4 and 5GHz.

Hope this help you

Regards

Hi Alires, thanks for answering.

it’s very usefull.

best regards!